{"id":"MAL-2026-5693","summary":"Malicious code in sea-bound-siren (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cd5f2d5cc691968b1bb69f12ea7476c618f6432b42976869906df06312b912c0)\nOn 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.\n\n## Source: ghsa-malware (4717e8e6f646079604710592d0614926216bdcf4a3929c925b12ff680dc54118)\nAny 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.\n","aliases":["GHSA-cp5x-35vp-rj7j"],"modified":"2026-06-12T20:01:56.601528844Z","published":"2026-06-12T14:32:51Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-cp5x-35vp-rj7j","sha256":"4717e8e6f646079604710592d0614926216bdcf4a3929c925b12ff680dc54118","modified_time":"2026-06-12T14:33:02Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","import_time":"2026-06-12T15:23:25.127627792Z"},{"id":"IN-MAL-2026-005756","versions":["99.0.5"],"modified_time":"2026-06-12T15:25:35Z","sha256":"85bf8accd34807acf65beee232c83ed4677d162421502c5df4db46d47442389c","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.356984282Z"},{"id":"IN-MAL-2026-005760","versions":["99.0.1"],"modified_time":"2026-06-12T15:25:46Z","sha256":"c1efea03f9db514c764d91ea471c738594b63408f9a6fe6e27a76ceb98543f99","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.60120374Z"},{"id":"IN-MAL-2026-005757","versions":["99.0.4"],"modified_time":"2026-06-12T15:25:44Z","sha256":"d4b6aa93cd450bbf401aa66de54b4620b64d112033306beee52c7543de4427d2","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.465159006Z"},{"id":"IN-MAL-2026-005761","versions":["99.0.0"],"modified_time":"2026-06-12T15:25:47Z","sha256":"e0c302adc113fd9ccd8059b4d85e53fccf2e5d9d2d7cbe2a0395186953aaace8","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.637680264Z"},{"id":"IN-MAL-2026-005759","versions":["99.0.1"],"modified_time":"2026-06-12T15:25:45Z","sha256":"214097525dad07740a32778939c24d65d0f54a66d63dd1709b9b4115d0973733","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.559270209Z"},{"id":"IN-MAL-2026-005758","versions":["99.0.2"],"modified_time":"2026-06-12T15:25:45Z","sha256":"46428d39bfdc14e813676012f43ce76255c81388cb6a7129a0f94806d3c303ce","source":"amazon-inspector","import_time":"2026-06-12T16:32:14.492592946Z"},{"id":"IN-MAL-2026-005874","versions":["1.0.6"],"modified_time":"2026-06-12T19:03:53Z","sha256":"1a95a6623b27a7adffdba775c251092c7d4feaac1207ccbd1f42944bf3f863e8","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.61119804Z"},{"id":"IN-MAL-2026-005870","versions":["1.0.2"],"modified_time":"2026-06-12T19:03:46Z","sha256":"42a133a242a58163b2fcb7a966bf4ee0dfa918ed4320476f4dd5f0d5b46e66dc","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.103859064Z"},{"id":"IN-MAL-2026-005876","versions":["12.0.0"],"modified_time":"2026-06-12T19:03:56Z","sha256":"5cdf9bc57c7930527cc9d983e085c3b6f35188fe6741fdfe45aa29b86b7764c9","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.911733994Z"},{"id":"IN-MAL-2026-005883","versions":["4.0.0"],"modified_time":"2026-06-12T19:04:08Z","sha256":"b02d70e9194f7e01fa8411e753d7b83cc8714276555269d737e6c76e13fcbecf","source":"amazon-inspector","import_time":"2026-06-12T19:43:43.679304336Z"},{"id":"IN-MAL-2026-005882","versions":["3.0.0"],"modified_time":"2026-06-12T19:04:06Z","source":"amazon-inspector","sha256":"b798c230c01cc965bed3d98785b381204dc6ee6404432ef30f016f99615eb6e7","import_time":"2026-06-12T19:43:43.596803513Z"},{"id":"IN-MAL-2026-005872","versions":["1.0.4"],"modified_time":"2026-06-12T19:03:49Z","sha256":"15a09e7c6ed451bd43a78ab2fbbd1022e43fc194059c9a40753081698127494b","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.379361809Z"},{"id":"IN-MAL-2026-005873","versions":["1.0.5"],"modified_time":"2026-06-12T19:03:51Z","source":"amazon-inspector","sha256":"245374f93751970f12a864fe5eb15c8cfa8f74ce5e591bf3ff606413d5155c35","import_time":"2026-06-12T19:43:42.516365355Z"},{"id":"IN-MAL-2026-005877","versions":["2.0.0"],"modified_time":"2026-06-12T19:03:58Z","sha256":"38bdd97834e9083fa52698ae187ee426eb81752b9a177e7e86082406a6076a49","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.992295234Z"},{"id":"IN-MAL-2026-005881","versions":["2.0.4"],"modified_time":"2026-06-12T19:04:04Z","sha256":"52001e4768a6c9e6c8a7e95fb560cc334f6a2ea889e6de23b9684f6c43eb8ff5","source":"amazon-inspector","import_time":"2026-06-12T19:43:43.359426394Z"},{"id":"IN-MAL-2026-005875","versions":["100.0.0"],"modified_time":"2026-06-12T19:03:54Z","sha256":"5a937d115116f6a213704731bb71c313b9c9f9062b66e04d785f439e747f1a44","source":"amazon-inspector","import_time":"2026-06-12T19:43:42.75861895Z"},{"id":"IN-MAL-2026-005879","versions":["2.0.2"],"modified_time":"2026-06-12T19:04:01Z","source":"amazon-inspector","sha256":"d4ec9479d806ea29034651363b9406dfc9a9bcc9142057f81a122e0dd9e00ea3","import_time":"2026-06-12T19:43:43.17952789Z"},{"id":"IN-MAL-2026-005868","versions":["1.0.0"],"modified_time":"2026-06-12T19:03:42Z","sha256":"e275e00bcc93e5bb0a90e20dfe217f4cba38b596ecc6e9314b4549148d542476","source":"amazon-inspector","import_time":"2026-06-12T19:43:41.877976351Z"},{"id":"IN-MAL-2026-005869","versions":["1.0.1"],"modified_time":"2026-06-12T19:03:44Z","source":"amazon-inspector","sha256":"f68d4a9cdcc2962a47ac4261248b4a0b1049ffae11c58377633a6aecdad3d4a5","import_time":"2026-06-12T19:43:42.010644144Z"},{"id":"IN-MAL-2026-005884","versions":["7.0.1"],"modified_time":"2026-06-12T19:04:09Z","source":"amazon-inspector","sha256":"a4cd8ff959e75a9fc703ee799688d2b6c46896206cb46f82290e0aabd562c351","import_time":"2026-06-12T19:43:43.832891678Z"},{"id":"IN-MAL-2026-005871","versions":["1.0.3"],"modified_time":"2026-06-12T19:03:47Z","source":"amazon-inspector","sha256":"a9a09db28e288e642bd1d318db31f12f398a19c92fb883561477b2dd5ebed7e0","import_time":"2026-06-12T19:43:42.278706196Z"},{"id":"IN-MAL-2026-005885","versions":["8.0.0"],"modified_time":"2026-06-12T19:04:11Z","sha256":"c4f263908affcdd57519c82a82d4369e70fa276e59cf754747f6033a9dd5602d","source":"amazon-inspector","import_time":"2026-06-12T19:43:43.922100401Z"},{"id":"IN-MAL-2026-005880","versions":["2.0.3"],"modified_time":"2026-06-12T19:04:03Z","sha256":"e05479acef76ea13cccfd22ca9db9939cd621fe89b68c907f6253c0bd889356e","source":"amazon-inspector","import_time":"2026-06-12T19:43:43.265737935Z"},{"id":"IN-MAL-2026-005878","versions":["2.0.1"],"modified_time":"2026-06-12T19:03:59Z","sha256":"cd5f2d5cc691968b1bb69f12ea7476c618f6432b42976869906df06312b912c0","source":"amazon-inspector","import_time":"2026-06-12T19:43:43.086653455Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cp5x-35vp-rj7j"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/99.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/99.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/99.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/12.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/4.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/2.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/100.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/2.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/7.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/8.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/2.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sea-bound-siren/v/2.0.1"}],"affected":[{"package":{"name":"sea-bound-siren","ecosystem":"npm","purl":"pkg:npm/sea-bound-siren"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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"],"database_specific":{"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"bb26ca8abb2a22500e2633855853ea3353f38db282f5583ee90175397bb8069c","tlsh":"4e8163db7472d832222ac465fd85109eb9e368bb30e06cd8e4cf4b7835886d443b46db"}],"domains":["proxy.nexus.local","proxy.nexus.local.ec2.internal"]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sea-bound-siren/MAL-2026-5693.json","cwes":[{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}