MAL-2026-6964

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/na-rony/MAL-2026-6964.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6964
Aliases
  • GHSA-f83g-5hxf-2g39
Published
2026-07-08T08:26:02Z
Modified
2026-07-09T17:31:55.391619155Z
Summary
Malicious code in na-rony (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (193f3dbfb6073e7b6c5dacb0e79157ccac9c69ac4c23d2c8270cc23d27cab699)

package.json declares postinstall: node index.js, causing index.js to execute automatically on npm install. The script collects the installer's OS username (os.userInfo().username), current working directory (process.cwd()), hostname (os.hostname()), and non-internal IPv4 address (derived from os.networkInterfaces()), then POSTs them as a JSON body to a hardcoded webhook.site endpoint controlled by the author. The package has no legitimate library functionality — its only file is the beacon, its description is empty, and it declares a self-referential dependency on itself. Installing this package leaks installer host identifiers to an attacker-controlled collector.

Source: ghsa-malware (6683e1e146d2ae7fca2a8b56fa91303c99ba4425e55da9863640a09961796805)

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": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-f83g-5hxf-2g39",
            "source": "ghsa-malware",
            "import_time": "2026-07-08T09:08:02.578905145Z",
            "modified_time": "2026-07-08T08:26:03Z",
            "sha256": "6683e1e146d2ae7fca2a8b56fa91303c99ba4425e55da9863640a09961796805"
        },
        {
            "sha256": "cdb95cfc7b5a54f15cad828d907d0fb1b348330a42040e24eba98eb6af556fc7",
            "id": "IN-MAL-2026-008250",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T19:33:49.582384382Z",
            "modified_time": "2026-07-08T19:29:57Z",
            "versions": [
                "1.1.2"
            ]
        },
        {
            "sha256": "193f3dbfb6073e7b6c5dacb0e79157ccac9c69ac4c23d2c8270cc23d27cab699",
            "id": "IN-MAL-2026-009343",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T17:19:26.739934345Z",
            "modified_time": "2026-07-09T16:58:38Z",
            "versions": [
                "1.1.4"
            ]
        },
        {
            "modified_time": "2026-07-09T16:58:31Z",
            "id": "IN-MAL-2026-009342",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T17:19:26.622440286Z",
            "sha256": "66124977b197335f7049655296a379c9cdedac079e70422667734be2138cab4c",
            "versions": [
                "1.1.5"
            ]
        },
        {
            "sha256": "bdc62155ffe3b8d2ad51f228e206e0bc8ec1fc0787d9f344a3464fdd506fd382",
            "id": "IN-MAL-2026-009344",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T17:19:26.849424964Z",
            "modified_time": "2026-07-09T16:58:49Z",
            "versions": [
                "1.1.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / na-rony

Package

Affected ranges

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

Affected versions

1.*
1.1.2
1.1.3
1.1.4
1.1.5

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "84e0a3f1d2bd9d7107f451c0a5d2a417d1a3d521ba077cf4958442783fcc9f80075598",
            "sha256": "ef8734b42d3a9e2395a9da3aa39a1e0703533a16aaa1c39750463f5a768fa32a"
        }
    ],
    "package_integrity": [
        {
            "filename": "na-rony-1.1.2.tgz",
            "hashes": {
                "sha1": "1ba0814ff1991285ff059ac6db219915158da588",
                "sha512_sri": "sha512-rKBwniDYuOjxkoulDmJI9wH3tk7akffDlTOFcox8eo+b/01ttZy9CM4AKBLcO8AD18/uZgkdjTHpZHTMhCxlzQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/na-rony/MAL-2026-6964.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"
    },
    {
        "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"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]