@coralxyz/anchor (npm) · Malicious Code
Affects @coralxyz/anchorSource GCVE Database
Malicious package : remove @coralxyz/anchor and rotate any secrets on hosts that installed it.
Data as of 8 Aug 2026, 15:00 UTC
Malicious package
Published to npm · OSV MAL-2026-13629
What to do
Remove @coralxyz/anchor 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 |
|---|---|---|
| npm@coralxyz/anchor | 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 @coralxyz/anchor is a malicious package impersonating the legitimate Solana Anchor framework package @coral-xyz/anchor by removing the hyphen in the name. Its postinstall script on Windows systems downloads and extracts a zip archive from an anonymous file host, then executes any .exe files found, without providing any legitimate functionality. This package is a supply chain threat relying on name confusion to trick users into installing it.