Malware in ts-grok
Malware was discovered in the ts-grok npm package. Systems with the package installed or running should be considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with ts-grok installed or running
- Ecosystems
- Attack vectors
- Affected entities
- ts-grok
A malware incident was identified in the ts-grok npm package, published as GitHub Advisory GHSA-qp73-r9hh-6vq9 on June 25, 2026.\n\nAccording to the advisory, any computer with this package installed or running should be considered fully compromised. The malware may have granted outside entities full control of affected systems.\n\nImmediate remediation is required, including rotation of all secrets and keys from a separate, uncompromised computer. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nThe affected package is ts-grok on npm.
Indicators of compromise
- Packages
- ts-grok
Remediation
- Immediately rotate all secrets, keys, and credentials from a different, uncompromised computer
- Remove the ts-grok package from all affected systems
- Conduct a full security audit of any system that had ts-grok installed
- Monitor affected systems for signs of persistent compromise or lateral movement
- Review access logs and network traffic from systems that ran ts-grok
- Consider full system reimaging if full compromise is suspected
Sources
- GitHub Advisory GHSA-qp73-r9hh-6vq9 · GitHub Advisory Database
Cite this entry
"Malware in ts-grok." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 25, 2026; last updated June 25, 2026. https://supplychainattack.org/incident/malware-in-ts-grok-jjsh0j
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in sme-rko-finance-front-operations-feed-models (npm)
The npm package sme-rko-finance-front-operations-feed-models contained malicious code that downloads and executes attacker-controlled native binaries from remote servers upon package load. The malware uses obfuscation techniques including fragmented string arrays, platform-specific endpoints, and DNS TXT record fallbacks to evade detection.
npmCompromised package - resolvedcritical
Malicious code in modern-localization (npm)
The npm package modern-localization contained malicious code that fetches and executes arbitrary JavaScript from a remote jsonbin.io endpoint on server-side require, with no integrity verification. The payload is executed with full Node.js privileges via Function() or child_process.fork().
npmCompromised package - resolvedcritical
Malicious code in sme-rko-finance-front-operations-tax (npm)
The npm package sme-rko-finance-front-operations-tax contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure on require. The package was identified and reported by OpenSSF's malicious-packages project.
npmCompromised package - resolvedcritical
Malicious code in localization-fixer (npm)
The npm package localization-fixer contained malicious code that fetches and executes arbitrary JavaScript from attacker-controlled jsonbin.io endpoints on package require, granting full Node.js capabilities to remote payloads.
npmCompromised package