MAL-2026-17689Malicious code in @galicia-toolkit/error-master (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @galicia-toolkit/error-master | * |
| npm | @galicia-toolkit/error-master | 999.0.3 |
{"schema_version":"1.7.4","id":"MAL-2026-17689","published":"2026-10-08T15:20:36Z","modified":"2026-10-12T05:54:43.521139785Z","aliases":["GHSA-42vv-c8c8-q765"],"summary":"Malicious code in @galicia-toolkit/error-master (npm)","details":"@galicia-toolkit/error-master@999.0.3 claims the `@galicia-toolkit` scope and describes itself as a dependency-confusion PoC. Its postinstall hook runs on npm install using `node postinstall.js || true` and sends encoded hostname, working-directory, platform, runtime-version, and username data as DNS labels to `oob.s4yhii.com`, making it a dependency-confusion probe that collects environment data. The npm account s4yhii_ published it on 2026-10-08.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (64345fa1c5c24196376e1a0cc8c14b6dcf3898e972b0b6fc23ae8f19d67b6f11)\nOn `npm install`, this package's `postinstall` script (node postinstall.js) hex-encodes the installer's hostname, current working directory, platform/arch/Node version, and USER/USERNAME/LOGNAME values, and emits DNS queries whose subdomains encode that data under the hardcoded author-controlled zone `oob.s4yhii.com`, using an authoritative resolver as an out-of-band exfiltration channel. The package name and the version number `999.0.3` are consistent with a dependency-confusion payload shape designed to win resolution against an internal `@galicia-toolkit/error-master` package. The DNS-tunnel beacon fires automatically at install time with no installer action beyond `npm install`, leaking host and user identifiers to the attacker's authoritative nameserver.\n\n## Source: ghsa-malware (26405e431ce3fc8ada12515c167aa0fcc8205369a5b43e6097db28fe579f3784)\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","affected":[{"package":{"name":"@galicia-toolkit/error-master","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.3"],"database_specific":{"cwes":[{"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.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"14f11babedc67602e606cd4433febbb8a2b45da061a382bfa3f4bba1810e5a3e","tlsh":"ca11142cd360d2b889727ac4a0c44c67157bf3d137e0d2f3641e189207f71b546664ba"}],"package_integrity":[{"filename":"error-master-999.0.3.tgz","hashes":{"sha1":"9fff4b07a64cba321e7f7cb2afb4933af90c217e","sha512_sri":"sha512-jeJeCMghbKOwInRFou25KtUBOIED7sP8JzMeUZz1Zn47mcjRlEPL3eQZ/YyfKpC6QpHp1Xoe0ZrHz+rODPA4Bg=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-42vv-c8c8-q765"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@galicia-toolkit/error-master/v/999.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@galicia-toolkit/error-master"}],"database_specific":{"iocs":{"domains":["h.dc.oob.s4yhii.com","c.dc.oob.s4yhii.com","m.dc.oob.s4yhii.com","u.dc.oob.s4yhii.com"],"files":[{"digests":{"sha256":"3bca7ef34e53b525f8e7d7203cd89297d58314ca9db476c585e8d1a9cd195247"},"note":"postinstall script: node postinstall.js || true","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"14f11babedc67602e606cd4433febbb8a2b45da061a382bfa3f4bba1810e5a3e"},"note":"Executed by the postinstall script of @galicia-toolkit/error-master@999.0.3.","paths":["postinstall.js"],"source":"PACKAGE_ARCHIVE"}]},"malicious-packages-origins":[{"id":"GHSA-42vv-c8c8-q765","import_time":"2026-10-08T16:32:56.937555377Z","modified_time":"2026-10-08T16:23:01Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"26405e431ce3fc8ada12515c167aa0fcc8205369a5b43e6097db28fe579f3784","source":"ghsa-malware"},{"id":"IN-MAL-2026-021222","import_time":"2026-10-08T17:17:19.651444933Z","modified_time":"2026-10-08T17:08:33Z","sha256":"64345fa1c5c24196376e1a0cc8c14b6dcf3898e972b0b6fc23ae8f19d67b6f11","source":"amazon-inspector","versions":["999.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0