MAL-2026-6958: Malicious code in ts-await (npm)
The ts-await package on npm contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a separate, secure machine. Removing the package alone does not guarantee removal of all malicious components introduced by its installation.
AI Analysis
Technical Summary
The ts-await npm package has been identified as containing malicious code that compromises the host system. Installation or execution of this package results in a full compromise of the affected computer, potentially exposing all stored secrets and keys. Due to the severity of the compromise, simply uninstalling the package is insufficient to ensure system integrity, as additional malicious software may persist. The advisory recommends immediate secret rotation from a different, uncompromised device and removal of the package.
Potential Impact
Any system with the ts-await package installed or running should be considered fully compromised. All secrets and keys stored on the system are at risk and must be rotated immediately from a secure environment. The compromise may allow an attacker full control over the system, and residual malicious software may remain even after package removal.
Mitigation Recommendations
Remove the ts-await package immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because the system may remain compromised even after package removal, consider rebuilding or restoring the system from a known good backup to ensure full remediation.
MAL-2026-6958: Malicious code in ts-await (npm)
Description
The ts-await package on npm contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a separate, secure machine. Removing the package alone does not guarantee removal of all malicious components introduced by its installation.
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 ts-await npm package has been identified as containing malicious code that compromises the host system. Installation or execution of this package results in a full compromise of the affected computer, potentially exposing all stored secrets and keys. Due to the severity of the compromise, simply uninstalling the package is insufficient to ensure system integrity, as additional malicious software may persist. The advisory recommends immediate secret rotation from a different, uncompromised device and removal of the package.
Potential Impact
Any system with the ts-await package installed or running should be considered fully compromised. All secrets and keys stored on the system are at risk and must be rotated immediately from a secure environment. The compromise may allow an attacker full control over the system, and residual malicious software may remain even after package removal.
Mitigation Recommendations
Remove the ts-await package immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because the system may remain compromised even after package removal, consider rebuilding or restoring the system from a known good backup to ensure full remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6958
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-xpmf-x27p-9vcc"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4ee3c9d9e3dbe3289689
Added to database: 07/08/2026, 13:21:39 UTC
Last enriched: 07/08/2026, 13:37:44 UTC
Last updated: 07/08/2026, 13:37:44 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.