Malicious code in @shell-cabinet/routes (npm)
Description
The npm package @shell-cabinet/routes version 99.9.5 contains malicious code that executes during installation. Its postinstall script exfiltrates sensitive system information including the contents of /etc/passwd and host identifiers by sending data to attacker-controlled domains. This behavior occurs unconditionally and is unrelated to any legitimate package functionality. Systems with this package installed should be considered fully compromised, and all secrets and keys stored on those systems must be rotated immediately. Removing the package does not guarantee removal of all malicious software introduced.
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 @shell-cabinet/routes npm package version 99.9.5 includes a postinstall hook that runs a curl command to send the contents of /etc/passwd to a subdomain of oastify.com, an out-of-band data exfiltration service. Additionally, it executes a script that hex-encodes and leaks host information such as hostname, home directory, and username via DNS-encoded HTTP requests to another oastify.com subdomain. These actions occur automatically on installation and are not part of the package's documented functionality. This indicates a supply chain compromise with direct data exfiltration and potential full system compromise.
Potential Impact
Any system that installs or runs this package version is at high risk of full compromise. Sensitive system files and host identifiers are exfiltrated to attacker-controlled infrastructure. The compromise may allow attackers to gain unauthorized access and control over the affected system. All secrets and credentials stored on the compromised system should be considered exposed and must be rotated immediately. Removal of the package alone may not eliminate all malicious artifacts or backdoors introduced.
Defensive Guidance
Immediate removal of the @shell-cabinet/routes package version 99.9.5 is recommended. All secrets, keys, and credentials stored on the affected system must be rotated from a different, trusted machine. Due to the potential full compromise, a thorough system investigation and remediation should be conducted. No official patch or fix is indicated; the package version itself is malicious. Avoid installing this package version and monitor for any signs of compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5428
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-qmhh-w396-g2p9","GHSA-53jv-685j-pchq"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f31bacd9273b49e4993b
Added to database: 09/01/2026, 15:45:31 UTC
Last enriched: 09/08/2026, 06:24:24 UTC
Last updated: 10/02/2026, 03:08:16 UTC
Views: 24
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.