{"id":"MAL-2026-16206","revision":"fdaac5cfc01844ad95c0a4a3c62fe7f3","records":[{"revision":"fdaac5cfc01844ad95c0a4a3c62fe7f3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16206","aliases":[],"title":"Malicious code in @prime0/pcomatch (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08299e41eb4feb9e324854bf5cd3386e6e52696b4b11443254374897a1ad3816)\nindex.js and the postinstall lifecycle script contact a hardcoded bare-IP endpoint at http://69.48.229.140:8080 over plain HTTP. On `npm install`, the postinstall hook collects host identifiers (hostname, username, platform, arch, cwd, node version, pid, all non-internal IP addresses, uptime, package name) and POSTs them as JSON to /b. On `require()` of the package main, the module beacons the same host, then polls /c every 30 seconds for JSON commands and executes the `c` field via child_process.exec, POSTing stdout/stderr back to /r. A source comment self-identifies the module as a stealth typosquat agent, while package.json advertises only a generic \"small utility\" description.\n","state":0,"publishedAt":"2026-09-16T06:27:31+00:00","modifiedAt":"2026-09-16T06:45:06.6105484+00:00","affected":[{"ecosystem":"npm","name":"@prime0/pcomatch","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@prime0/pcomatch/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16206","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16206","identifiers":["MAL-2026-16206"]},"retained":false,"historicalAffected":[]}],"coverage":[]}