THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·maintainer compromise·osv

Malicious code in sea-bound-siren (npm)

sea-bound-siren

Risk score

92

AI summary

Indexed incident for sea-bound-siren (npm).

Description

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.

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.

Technical details

Affected versions

=99.0.5=99.0.1=99.0.4=99.0.0=99.0.2=1.0.6=1.0.2=12.0.0=4.0.0=3.0.0=1.0.4=1.0.5=2.0.0=2.0.4=100.0.0=2.0.2=1.0.0=1.0.1=7.0.1=1.0.3=8.0.0=2.0.3=2.0.1>=0

Indicators

  • Advisory IDs
    90%
  • affected version=99.0.575%
  • affected version=99.0.175%
  • affected version=99.0.475%
  • affected version=99.0.075%
  • affected version=99.0.275%
  • affected version=1.0.675%
  • affected version=1.0.275%
  • affected version=12.0.075%
  • affected version=4.0.075%
  • affected version=3.0.075%
  • affected version=1.0.475%
  • affected version=1.0.575%
  • affected version=2.0.075%
  • affected version=2.0.475%
  • affected version=100.0.075%
  • affected version=2.0.275%
  • affected version=1.0.075%
  • affected version=1.0.175%
  • affected version=7.0.175%
  • affected version=1.0.375%
  • affected version=8.0.075%
  • affected version=2.0.375%
  • affected version=2.0.175%
  • affected version>=075%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents