Malicious code in hijiko-parser (npm)
- GHSA-3mx6-q75j-9h3p
Description
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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/18bc19930304ee409163f851ad82eb67bb42dfe2/osv/malicious/npm/hijiko-parser/MAL-2026-20550.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
hijiko-parsernpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.