MAL-2026-6967
Dashboard / Malicious Package / MAL-2026-6967
MAL-2026-6967
Summary: Malicious code in nam-os-a-man (npm)
Details: 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.
References: https://github.com/advisories/GHSA-qq66-gj73-6pqm, https://www.npmjs.com/package/nam-os-a-man/v/99.9.9
Affected packages
Package
Name: nam-os-a-man
Purl: pkg:npm/nam-os-a-man
Affected ranges
Type: SEMVER
Events:
