Skip to main content
MalwarePublished

code-analyzer-mcp (npm) · Malicious Code

Affects code-analyzer-mcpSource GCVE Database

0

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

Data as of 5 Aug 2026, 17:31 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12354

What to do

Remove code-analyzer-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-analyzer-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-analyzer-mcp' version 1.0.0 contains malicious code that executes arbitrary shell commands on the host. When launched, it runs a payload that collects host information and writes it to a temporary file. It also exposes a remote command execution capability via an MCP tool that allows unauthenticated clients to run arbitrary shell commands with the installer's privileges.

References

Community reviews

Loading reviews…