Malicious code in streak-math-calc (npm)
The npm package streak-math-calc version 1.0.0 contains malicious code that executes a bundled ELF binary upon import. This binary acts as a remote-access implant, connecting to a command-and-control server to download and execute additional payloads, harvest sensitive credentials including SSH keys and database configurations, and exfiltrate data. It also establishes persistence by creating a systemd user service that restarts the implant on reboot. The package description does not disclose this malicious behavior.
AI Analysis
Technical Summary
The streak-math-calc npm package version 1.0.0 includes a top-level immediately-invoked function expression (IIFE) in its main entry point that changes permissions and executes a bundled ELF binary (dist/math-calc.bin). This binary functions as a remote-access implant, beaconing to IP 217.60.77.63 to download further ELF files and shellcode, executing arbitrary shell commands, and harvesting sensitive information such as SSH private keys, stored credentials, and database configurations. It exfiltrates collected data via HTTP POST requests to its command-and-control infrastructure and an additional exfiltration endpoint at litterbox.catbox.moe. Persistence is achieved by creating a systemd user service named 'System Update Service' that restarts the implant on reboot. The package description misleadingly frames itself as a 'math accelerator' without disclosing the malicious ELF or its execution on import.
Potential Impact
Any system with streak-math-calc version 1.0.0 installed or running is fully compromised. The implant provides attackers with remote control, enabling them to execute arbitrary commands, steal sensitive credentials including SSH keys and database configurations, and maintain persistence across reboots. This compromises the confidentiality, integrity, and availability of the affected system and any connected resources. Secrets and keys stored on the compromised system should be considered exposed and rotated immediately from a secure environment.
Mitigation Recommendations
Remove the streak-math-calc package version 1.0.0 immediately from all affected systems. Assume full compromise of the system and perform a thorough incident response including credential rotation from a separate, secure device. There is no known patch or official fix for this malicious package; remediation relies on removal and recovery procedures. Monitor for any persistence mechanisms such as the systemd user service 'svc-update.service' and remove them. Verify that no additional malicious binaries or backdoors remain on the system.
Malicious code in streak-math-calc (npm)
Description
The npm package streak-math-calc version 1.0.0 contains malicious code that executes a bundled ELF binary upon import. This binary acts as a remote-access implant, connecting to a command-and-control server to download and execute additional payloads, harvest sensitive credentials including SSH keys and database configurations, and exfiltrate data. It also establishes persistence by creating a systemd user service that restarts the implant on reboot. The package description does not disclose this malicious behavior.
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 streak-math-calc npm package version 1.0.0 includes a top-level immediately-invoked function expression (IIFE) in its main entry point that changes permissions and executes a bundled ELF binary (dist/math-calc.bin). This binary functions as a remote-access implant, beaconing to IP 217.60.77.63 to download further ELF files and shellcode, executing arbitrary shell commands, and harvesting sensitive information such as SSH private keys, stored credentials, and database configurations. It exfiltrates collected data via HTTP POST requests to its command-and-control infrastructure and an additional exfiltration endpoint at litterbox.catbox.moe. Persistence is achieved by creating a systemd user service named 'System Update Service' that restarts the implant on reboot. The package description misleadingly frames itself as a 'math accelerator' without disclosing the malicious ELF or its execution on import.
Potential Impact
Any system with streak-math-calc version 1.0.0 installed or running is fully compromised. The implant provides attackers with remote control, enabling them to execute arbitrary commands, steal sensitive credentials including SSH keys and database configurations, and maintain persistence across reboots. This compromises the confidentiality, integrity, and availability of the affected system and any connected resources. Secrets and keys stored on the compromised system should be considered exposed and rotated immediately from a secure environment.
Mitigation Recommendations
Remove the streak-math-calc package version 1.0.0 immediately from all affected systems. Assume full compromise of the system and perform a thorough incident response including credential rotation from a separate, secure device. There is no known patch or official fix for this malicious package; remediation relies on removal and recovery procedures. Monitor for any persistence mechanisms such as the systemd user service 'svc-update.service' and remove them. Verify that no additional malicious binaries or backdoors remain on the system.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12115
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-vvg8-qpgg-c28r"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfadbf8831d5391b224b
Added to database: 08/06/2026, 18:17:17 UTC
Last enriched: 08/06/2026, 19:25:33 UTC
Last updated: 08/07/2026, 01:53:34 UTC
Views: 4
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.