Malware in mcp-server-github
Malware was discovered in the npm package mcp-server-github. Systems with this package installed or running are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- mcp-server-github
The npm package mcp-server-github was found to contain malware. According to the GitHub Security Advisory (GHSA-95pj-hrh5-27gq), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the malicious package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nThis is a critical supply chain incident affecting the npm ecosystem, with potential for widespread impact on any systems running this package.
Indicators of compromise
- Packages
- mcp-server-github
Remediation
- Immediately isolate any computer with mcp-server-github installed or running from the network
- Rotate all secrets, API keys, and credentials stored on affected systems from a different, uncompromised computer
- Remove the mcp-server-github package from all affected systems
- Conduct a full forensic analysis of affected systems to identify any additional malicious software installed
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Monitor for any suspicious activity on accounts that may have been compromised
Sources
- GitHub Advisory GHSA-95pj-hrh5-27gq · GitHub Advisory Database
Cite this entry
"Malware in mcp-server-github." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 20, 2026; last updated August 20, 2026. https://supplychainattack.org/incident/malware-in-mcp-server-github-16euza
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in rust-testing-utils (npm)
The npm package rust-testing-utils contained malicious code that impersonates the pino logger and executes remotely-fetched code with arbitrary privileges. The package spawns a child process that decodes a hardcoded URL, fetches attacker-controlled content, and executes it via Function constructor with full module-loading capability.
npmCompromised packageMalicious commit - containedcritical
Malicious code in stillm4ddpocs-demo-sprocket (npm)
The npm package stillm4ddpocs-demo-sprocket version 999.9.12 contains malicious code that exfiltrates system and project metadata via multiple channels (HTTPS, HTTP, and DNS) to a hardcoded callback host. The package uses a high version number to exploit dependency-confusion attacks against organizations with internal packages of the same name.
npmCompromised packageDependency confusion - containedcritical
Malicious code in @syncraft-labs/react (npm)
The npm package @syncraft-labs/react contained obfuscated malicious code in its ESM distribution that implements the EtherHiding pattern, fetching and executing arbitrary code from an Ethereum smart contract via RPC endpoints. The tampering occurred post-build in the dist/index.js artifact.
npmCompromised package - containedcritical
Malware in hydration-dim-kit
Malware was discovered in the npm package hydration-dim-kit. Any computer with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.
npmCompromised package