borsh-lite (npm) · Malicious Code
Affects borsh-liteSource GCVE Database
Malicious package : remove borsh-lite and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:54 UTC
Malicious package
Published to npm · OSV MAL-2026-15489
What to do
Remove borsh-lite 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 |
|---|---|---|
| npmborsh-lite | 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 'borsh-lite' version 1.0.0 was found to contain malicious code or a dependency with malicious code. Any system with this package installed should be considered fully compromised. Immediate removal of the package is recommended, along with rotation of all secrets and keys from a different, trusted machine. However, removal may not fully eliminate the compromise due to potential persistent malicious software.