Malicious code in @beloved-lenora/opencode-shell-guard (npm)
Description
The npm package @beloved-lenora/opencode-shell-guard contains malicious code that fully compromises any computer on which it is installed or running. Immediate rotation of all secrets and keys stored on the affected computer is required, and the package should be removed. However, removal does not guarantee elimination of all malicious software, as the attacker may have gained full control of the system.
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 npm package @beloved-lenora/opencode-shell-guard is identified as containing malicious code that compromises the host system completely. Installation or execution of this package results in full system compromise, potentially allowing attackers to access all stored secrets and keys. Due to the extent of the compromise, simply removing the package may not eradicate all malicious components introduced. The advisory strongly recommends rotating all secrets and keys from a separate, unaffected machine to prevent further damage.
Potential Impact
Full system compromise on any computer with the package installed or running. All stored secrets and keys on the compromised system are at risk and should be considered exposed. Removal of the package alone does not guarantee removal of all malicious artifacts or backdoors, indicating persistent attacker presence is possible.
Mitigation Recommendations
Remove the @beloved-lenora/opencode-shell-guard package immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Due to the potential for persistent compromise, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17907
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pm76-w63j-7j29"]
- Ecosystems
- ["npm"]
Threat ID: 6ad2aef52cdf04f656455ba4
Added to database: 10/16/2026, 23:10:45 UTC
Last enriched: 10/16/2026, 23:14:54 UTC
Last updated: 10/16/2026, 23:14:54 UTC
Views: 2
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.