Malicious code in borsh-lite (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'borsh-lite' npm package version 1.0.0 includes malicious code or depends on a malicious package, leading to full system compromise upon installation. The malicious code presence was identified by Amazon Inspector and reported in the GHSA malware advisory. The advisory warns that systems with this package installed should be treated as fully compromised, requiring secret and key rotation and package removal. There is no CVSS score or patch available, and no known exploits in the wild have been reported.
Potential Impact
Systems with 'borsh-lite' version 1.0.0 installed are considered fully compromised, potentially allowing attackers full control. All secrets and keys stored on the compromised system are at risk and must be rotated. Removing the package alone may not remove all malicious software introduced by the package.
Defensive Guidance
Remove the 'borsh-lite' package version 1.0.0 immediately. Rotate all secrets and keys from a separate, trusted system. Due to the potential for persistent compromise, consider a full system investigation and remediation beyond package removal. No official patch or fix is available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15489
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-6m7x-mwxq-f3wf"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e9acd9273b49b676d8
Added to database: 09/04/2026, 14:25:45 UTC
Last enriched: 09/07/2026, 17:54:30 UTC
Last updated: 10/04/2026, 09:20:14 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.