{"id":"MAL-2026-17689","summary":"Malicious code in @galicia-toolkit/error-master (npm)","details":"\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","aliases":["GHSA-42vv-c8c8-q765"],"modified":"2026-10-08T17:30:16.776571871Z","published":"2026-10-08T16:23:00Z","database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","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"},{"versions":["999.0.3"],"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"}]},"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"}],"affected":[{"package":{"name":"@galicia-toolkit/error-master","ecosystem":"npm","purl":"pkg:npm/%40galicia-toolkit/error-master"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.3"],"database_specific":{"indicators":{"package_integrity":[{"filename":"error-master-999.0.3.tgz","hashes":{"sha1":"9fff4b07a64cba321e7f7cb2afb4933af90c217e","sha512_sri":"sha512-jeJeCMghbKOwInRFou25KtUBOIED7sP8JzMeUZz1Zn47mcjRlEPL3eQZ/YyfKpC6QpHp1Xoe0ZrHz+rODPA4Bg=="}}],"evidence_files":[{"tlsh":"ca11142cd360d2b889727ac4a0c44c67157bf3d137e0d2f3641e189207f71b546664ba","path":"postinstall.js","sha256":"14f11babedc67602e606cd4433febbb8a2b45da061a382bfa3f4bba1810e5a3e"}]},"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/@galicia-toolkit/error-master/MAL-2026-17689.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}