{"id":"MAL-2026-20550","summary":"Malicious code in hijiko-parser (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6c50caaccafff92733649747b5dd77fa5159ec81ddeb87d37131dd2625bf9193)\npackage.json declares its sole dependency `marker-script-suffix-mapper` as a plain-HTTP tarball URL at `http://web.vitemaweed.fr:4873/marker-script-suffix-mapper/-/marker-script-suffix-mapper-1.0.18.tgz` rather than a registry version range. On `npm install`, this fetches and installs whatever bytes that host returns, running any lifecycle scripts embedded in the fetched tarball, with no registry pin, no integrity hash, and no TLS. Whoever controls web.vitemaweed.fr — or any network-path attacker, since transport is cleartext HTTP — can supply arbitrary code that executes on the installer's machine at install time. The shipped index.js is a one-line stub, so the off-registry dependency is effectively the package's entire payload. A postinstall script additionally invokes `/bin/bash -i -c 'echo installed'`; the literal command is harmless but the interactive shell sources the installer's shell rc files at install time.\n","modified":"2026-11-25T06:45:05.027163391Z","published":"2026-11-25T06:05:48Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-023096","import_time":"2026-11-25T06:20:24.343757083Z","modified_time":"2026-11-25T06:05:48Z","sha256":"24e47ff4cbd333083b9905e7b676c559110d031248673425e0224487fe33de33","source":"amazon-inspector","versions":["1.0.0"]},{"source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-023097","import_time":"2026-11-25T06:20:24.430155825Z","modified_time":"2026-11-25T06:05:54Z","sha256":"6c50caaccafff92733649747b5dd77fa5159ec81ddeb87d37131dd2625bf9193"},{"sha256":"c576e7a02877fa493a373237632229b6803b91213616223244884d44c874be96","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-023101","import_time":"2026-11-25T06:20:24.664469431Z","modified_time":"2026-11-25T06:10:50Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/hijiko-parser/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/hijiko-parser/v/1.0.1"}],"affected":[{"package":{"name":"hijiko-parser","ecosystem":"npm","purl":"pkg:npm/hijiko-parser"},"versions":["1.0.0","1.0.1"],"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"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"1be0c220ad00e42744e6096d9c76afce71b14e2b9e40b40b87d35918d0deea36dba20e","path":"package.json","sha256":"b577d36d732d17dd29cc18d46ad59d1223f29c661a90ed194ed90954d770ed52"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-Ka1N8aIbV4tO0wUPJvv2QAcCjEp6K9FziFjEZCbaDI+HNXCgbewfyV064VhwzD4yAtvuhYj25qvZg4bbIVbXrg==","sha1":"9bfc32e253ed36e8090939637ac6735dfdd76da6"},"filename":"hijiko-parser-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hijiko-parser/MAL-2026-20550.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}