Malicious code in @beloved-lenora/opencode-shared-rpc (npm)
Description
The npm package @beloved-lenora/opencode-shared-rpc contains malicious code that fully compromises any computer on which it is installed or running. Immediate removal of the package is advised, but full remediation requires rotating all secrets and keys from a different, uncompromised machine due to potential persistent control by an attacker.
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-shared-rpc has been identified as containing malicious code. Installation or execution of this package results in full compromise of the host system, potentially allowing attackers to gain control and access sensitive information such as secrets and keys. Because the attacker may maintain persistent access beyond the presence of the package itself, simply removing the package does not guarantee complete remediation.
Potential Impact
Any system with this package installed or running should be considered fully compromised. Attackers may have gained full control over the system, including access to stored secrets and keys. This poses a severe risk of data breach, unauthorized access, and further malicious activity. Secrets and keys must be rotated immediately from a secure, unaffected environment to prevent misuse.
Defensive Guidance
Remove the @beloved-lenora/opencode-shared-rpc package immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Due to the likelihood of persistent compromise, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious artifacts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17906
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8c9g-fwgq-rqq5"]
- Ecosystems
- ["npm"]
Threat ID: 6ad2aef52cdf04f656455ba5
Added to database: 10/16/2026, 23:10:45 UTC
Last enriched: 10/16/2026, 23:15:02 UTC
Last updated: 10/16/2026, 23:15:02 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.