sol-sdk (npm) · Malicious Code
Affects sol-sdkSource GCVE Database
Malicious package : remove sol-sdk and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 21:01 UTC
Malicious package
Published to npm · OSV MAL-2026-6879
What to do
Remove sol-sdk 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 |
|---|---|---|
| npmsol-sdk | 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 sol-sdk npm package version 2.3.18 contains malicious code that compromises any computer on which it is installed. This compromise potentially grants full control to an outside entity, risking exposure of all secrets and keys stored on the affected system. Immediate removal of the package and rotation of all secrets from a different, uncompromised computer is strongly advised.