x402-prompt-injection-scan (npm) · Malicious Code
Affects x402-prompt-injection-scanSource GCVE Database
Malicious package : remove x402-prompt-injection-scan and rotate any secrets on hosts that installed it.
Data as of 29 Oct 2026, 18:10 UTC
Malicious package
Published to npm · OSV MAL-2026-18197
What to do
Remove x402-prompt-injection-scan 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
| Product | Affected | Fixed in |
|---|---|---|
| npmx402-prompt-injection-scan | Affected
| 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 x402-prompt-injection-scan version 0.1.4 is identified as malicious software. Although static and behavioral scans did not detect typical malicious behaviors such as network communication or credential harvesting, the package is considered fully compromising to any system where it is installed or running. Immediate removal of the package and rotation of all secrets and keys from a different, uncompromised system is strongly advised.