VYPR

npm · Malicious package advisory

Malware

hijiko-parser

GHSA-3mx6-q75j-9h3p

Malicious code in hijiko-parser (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## 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.

---

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))

**References:**
- https://github.com/ossf/malicious-packages/blob/18bc19930304ee409163f851ad82eb67bb42dfe2/osv/malicious/npm/hijiko-parser/MAL-2026-20550.json
- https://www.npmjs.com/package/hijiko-parser/v/1.0.0
- https://www.npmjs.com/package/hijiko-parser/v/1.0.1
- https://github.com/advisories/GHSA-3mx6-q75j-9h3p

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.