MAL-2026-6967

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nam-os-a-man/MAL-2026-6967.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6967
Aliases
  • GHSA-qq66-gj73-6pqm
Published
2026-07-08T08:26:02Z
Modified
2026-07-08T17:16:47.867734491Z
Summary
Malicious code in nam-os-a-man (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-qq66-gj73-6pqm",
            "source": "ghsa-malware",
            "import_time": "2026-07-08T09:08:02.59190819Z",
            "modified_time": "2026-07-08T08:26:03Z",
            "sha256": "1ec40b39b2e4bb327d6dcd7fa5e8b3b6aedb4f1aa45666f40f30f08bec8e4a3d"
        },
        {
            "sha256": "a483a2ae78f1f6f7d3d4da1ab74cc189f29564e002299f09c19e0d3eb41e40aa",
            "id": "IN-MAL-2026-008102",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T17:01:30.582860223Z",
            "modified_time": "2026-07-08T16:25:11Z",
            "versions": [
                "99.9.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nam-os-a-man

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

99.*
99.9.9

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "nam-os-a-man-99.9.9.tgz",
            "hashes": {
                "sha1": "31ebd3790401abbee98d5a6c3238f9cda0717918",
                "sha512_sri": "sha512-tz2d3yNgShO6kQa2wt1/I7TWkNRjZGGVMzyqhk8P+Mx6u8LexCsy4naAikleeutfu1ZTX0iyqO+u2kZ4VCy12A=="
            }
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "250110f480f7b0201ea921e0980aec1d6322e001700a9dd07b6883a4afc5af826b1edc",
            "sha256": "440b15defeb1c0607fc79a236ff2a5bfb47f90ba978c883d87f14bf054324d43"
        },
        {
            "path": "package.json",
            "tlsh": "0ad023745c3096333cd81a954977660675714d1f00487c0d17d3141cd2dea3344fd30d",
            "sha256": "09726d8aa7c5cc05da2bd4d656336bf46f6a13d8cfe1d39a126554f5ef974cb3"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nam-os-a-man/MAL-2026-6967.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]