Malicious code in node-telegram-sockets (npm)
Description
The node-telegram-sockets npm package contains malicious code that fully compromises any computer on which it is installed or running. This compromise allows an attacker to gain full control over the affected system. Immediate removal of the package is recommended, but due to the extent of control gained, complete remediation may require rotating all secrets and keys from a separate, uncompromised device.
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 node-telegram-sockets package distributed via npm has been identified as containing malicious code. Installation or execution of this package results in a full system compromise, granting attackers complete control over the infected computer. The malicious nature of this package means that simply removing it may not eliminate all backdoors or malware introduced. The advisory strongly recommends rotating all secrets and keys stored on the compromised system from a different, secure computer to prevent further unauthorized access.
Potential Impact
Systems with the node-telegram-sockets package installed or running are fully compromised, potentially exposing all stored secrets and keys. Attackers may have persistent access and control, making the affected systems untrustworthy until fully remediated. The compromise can lead to data theft, unauthorized actions, and further malware installation.
Defensive Guidance
Remove the node-telegram-sockets package immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure device. Due to the full compromise, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious components. No official patch or fix is available; the best mitigation is removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17845
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-c773-2559-g4g3"]
- Ecosystems
- ["npm"]
Threat ID: 6acd555f2cdf04f656da86ad
Added to database: 10/12/2026, 21:47:11 UTC
Last enriched: 10/12/2026, 22:03:09 UTC
Last updated: 10/12/2026, 22:03:09 UTC
Views: 3
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.