npm · Malicious package advisory
Malwarehijiko-parser
MAL-2026-20550
Malicious code in hijiko-parser (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6c50caaccafff92733649747b5dd77fa5159ec81ddeb87d37131dd2625bf9193) package.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.
Compromised versions (2)
- 1.0.0
- 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.