Malicious code in sea-bound-siren (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cd5f2d5cc691968b1bb69f12ea7476c618f6432b42976869906df06312b912c0) On npm install, postinstall.js executes a shell pipeline that collects the output of `id`, `os.hostname()`, the full process environment (`env | sort`), the contents of `/app/.npmrc`, `/usr/etc/npmrc`, and `/root/.npmrc`, recursive listings and greps under `/app` (searching for `HTB{...}`, secrets, and flag files), and `/proc/*/cmdline` data. The collected blob is base64-encoded and PUT in two halves over plain HTTP to `http://154.57.164.71:30782/api/modules/ECT-*` (the destination is hardcoded at postinstall.js line 6 as `const TARGET = "http://154.57.164.71:30782";`). Execution is gated by an `isChallengeWorker()` check that requires cwd under `/app/node_modules`, a 12-hex-character hostname (Docker container ID shape), the presence of `/app/Cargo.toml` or `/app/package.json`, and explicitly suppresses the payload when the active npm registry is a Chinese mirror (npmmirror, taobao, cnpm, huawei, tencent, ustc) — environment fingerprinting designed to evade researcher and CI sandboxes while firing on the intended victim. Reading and exfiltrating `.npmrc` exposes `//registry.npmjs.org/:_authToken=...` tokens, enabling the attacker to publish malicious versions under the installer's npm identity. ## Source: ghsa-malware (4717e8e6f646079604710592d0614926216bdcf4a3929c925b12ff680dc54118) 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.
Malicious code in sea-bound-siren (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cd5f2d5cc691968b1bb69f12ea7476c618f6432b42976869906df06312b912c0) On npm install, postinstall.js executes a shell pipeline that collects the output of `id`, `os.hostname()`, the full process environment (`env | sort`), the contents of `/app/.npmrc`, `/usr/etc/npmrc`, and `/root/.npmrc`, recursive listings and greps under `/app` (searching for `HTB{...}`, secrets, and flag files), and `/proc/*/cmdline` data. The collected blob is base64-encoded and PUT in two halves over plain HTTP to `http://154.57.164.71:30782/api/modules/ECT-*` (the destination is hardcoded at postinstall.js line 6 as `const TARGET = "http://154.57.164.71:30782";`). Execution is gated by an `isChallengeWorker()` check that requires cwd under `/app/node_modules`, a 12-hex-character hostname (Docker container ID shape), the presence of `/app/Cargo.toml` or `/app/package.json`, and explicitly suppresses the payload when the active npm registry is a Chinese mirror (npmmirror, taobao, cnpm, huawei, tencent, ustc) — environment fingerprinting designed to evade researcher and CI sandboxes while firing on the intended victim. Reading and exfiltrating `.npmrc` exposes `//registry.npmjs.org/:_authToken=...` tokens, enabling the attacker to publish malicious versions under the installer's npm identity. ## Source: ghsa-malware (4717e8e6f646079604710592d0614926216bdcf4a3929c925b12ff680dc54118) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5693
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-cp5x-35vp-rj7j"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a96f317acd9273b49e493fe
Added to database: 09/01/2026, 15:45:27 UTC
Last updated: 09/01/2026, 15:54:36 UTC
Views: 1
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
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.