Skip to main content
MalwarePublished

code-assist-mcp (npm) · Malicious Code

Affects code-assist-mcpSource GCVE Database

0

Malicious package : remove code-assist-mcp and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:32 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14233

What to do

Remove code-assist-mcp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmcode-assist-mcpAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package code-assist-mcp version 1.0.0 contains malicious code that executes a postinstall script to collect host system identifiers and sends them to a hardcoded external server without user consent. This behavior occurs automatically during npm install and appears to be a reconnaissance beacon potentially used for dependency confusion or typosquatting attacks.

References

Community reviews

Loading reviews…