MAL-2026-6548: Malicious code in ts-ankle (npm)
The npm package ts-ankle version 1.1.0 contains malicious code that executes automatically upon installation. It performs two hostile actions: harvesting credential files from the user's system and exfiltrating them to a remote server, and installing an SSH backdoor by injecting a public key into authorized_keys and enabling inbound SSH access. This results in full compromise of the affected system.
AI Analysis
Technical Summary
The [email protected] package runs a postinstall script that recursively scans the installer's home directory (Unix) or all mounted drives (Windows) for files matching credential-related patterns and uploads them to a hardcoded remote endpoint. Additionally, on Linux systems, it fetches an SSH public key from the same remote host, appends it to ~/.ssh/authorized_keys, changes ownership with sudo, and enables the firewall to allow SSH connections, granting persistent remote access to the attacker. The package masquerades as a backup/data-upload utility but performs supply-chain credential theft and backdoor installation.
Potential Impact
Systems with [email protected] installed are fully compromised. Sensitive credential files may be exfiltrated, exposing secrets and keys. The attacker gains persistent remote access via an SSH backdoor, potentially allowing full control over the compromised host. Removal of the package alone does not guarantee eradication of all malicious artifacts or access.
Mitigation Recommendations
Remove the [email protected] package immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted device. Conduct a thorough investigation and remediation of the affected host, as the attacker may have established persistent access beyond the package installation. There is no official patch or fix available; avoid using this package version entirely.
MAL-2026-6548: Malicious code in ts-ankle (npm)
Description
The npm package ts-ankle version 1.1.0 contains malicious code that executes automatically upon installation. It performs two hostile actions: harvesting credential files from the user's system and exfiltrating them to a remote server, and installing an SSH backdoor by injecting a public key into authorized_keys and enabling inbound SSH access. This results in full compromise of the affected system.
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 [email protected] package runs a postinstall script that recursively scans the installer's home directory (Unix) or all mounted drives (Windows) for files matching credential-related patterns and uploads them to a hardcoded remote endpoint. Additionally, on Linux systems, it fetches an SSH public key from the same remote host, appends it to ~/.ssh/authorized_keys, changes ownership with sudo, and enables the firewall to allow SSH connections, granting persistent remote access to the attacker. The package masquerades as a backup/data-upload utility but performs supply-chain credential theft and backdoor installation.
Potential Impact
Systems with [email protected] installed are fully compromised. Sensitive credential files may be exfiltrated, exposing secrets and keys. The attacker gains persistent remote access via an SSH backdoor, potentially allowing full control over the compromised host. Removal of the package alone does not guarantee eradication of all malicious artifacts or access.
Mitigation Recommendations
Remove the [email protected] package immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted device. Conduct a thorough investigation and remediation of the affected host, as the attacker may have established persistent access beyond the package installation. There is no official patch or fix available; avoid using this package version entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6548
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-992p-988h-h55j"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed7d27e9c79719939cf1
Added to database: 06/29/2026, 22:11:09 UTC
Last enriched: 06/29/2026, 22:42:48 UTC
Last updated: 06/30/2026, 00:46:22 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.