Malicious code in nam-os-a-man (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6967
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a483a2ae78f1f6f7d3d4da1ab74cc189f29564e002299f09c19e0d3eb41e40aa) The package declares a postinstall hook that runs index.js on npm install. index.js collects the installer's OS username (os.userInfo().username), hostname (os.hostname()), and current working directory, and POSTs them as JSON to a hardcoded webhook.site collector at https://webhook.site/9bbc2089-62c5-46d8-bfaf-f238cc8d0275. Errors are swallowed so the beacon runs silently. The package ships no library functionality (empty description, empty author, no README), the name 'nam-os-a-man' is a fragmented/typosquat-style identifier, and the version is pinned to 99.9.9 — a common dependency-confusion sentinel. The install-time exfiltration of host identity to an attacker-controlled webhook collector is the entire purpose of the package. ## Source: ghsa-malware (1ec40b39b2e4bb327d6dcd7fa5e8b3b6aedb4f1aa45666f40f30f08bec8e4a3d) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 8 Jul 2026 08:26:02 UTC
- Source modified
- 8 Jul 2026 17:16:47 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.