MAL-2026-6481

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gx-npm-ui/MAL-2026-6481.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6481
Aliases
  • GHSA-5jpv-9x2f-72jj
Published
2026-06-25T22:30:07Z
Modified
2026-06-29T03:31:42.439645712Z
Summary
Malicious code in gx-npm-ui (npm)
Details

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

Source: amazon-inspector (04e5ac6b8b24f2c158c37d3d6ac268bbf7f472433660064491538ee468cfcfcb)

Package published at version 99.99.99 under the gx-npm-* namespace, a shape designed to win npm version resolution against private internal packages of the same name. package.json declares postinstall=node beacon.js, which runs unconditionally on npm install. beacon.js collects the installer's hostname, OS username, current working directory, package name, Node version, and the first 80 environment variable names, then exfiltrates them two ways to the hardcoded out-of-band host d8uectoqtvskhftsa940pm3kth3ahdxn4.oast.me: (1) a DNS lookup encoding the collected identifiers as subdomain labels, and (2) an HTTPS GET with a base64-encoded JSON payload in the query string. Any CI/build system or developer machine that resolves this package against the public npm registry leaks host identity and environment-variable names to an attacker-controlled interactsh/OAST endpoint on every install.

Source: ghsa-malware (40016c94d5d31e1314b1f462b5fb83ae7ce15121df43474ce3440749ab89e72e)

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": [
        {
            "id": "IN-MAL-2026-007559",
            "source": "amazon-inspector",
            "import_time": "2026-06-25T23:00:34.523448188Z",
            "modified_time": "2026-06-25T22:30:07Z",
            "sha256": "04e5ac6b8b24f2c158c37d3d6ac268bbf7f472433660064491538ee468cfcfcb",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "GHSA-5jpv-9x2f-72jj",
            "source": "ghsa-malware",
            "import_time": "2026-06-29T03:26:14.373440833Z",
            "modified_time": "2026-06-29T03:16:03Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "40016c94d5d31e1314b1f462b5fb83ae7ce15121df43474ce3440749ab89e72e"
        }
    ]
}
References
Credits

Affected packages

npm / gx-npm-ui

Package

Affected ranges

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

Affected versions

99.*
99.99.99

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "8642a1b9117942eed77327a315389d97f652317c03f2506a9ee28793621af7b5",
            "tlsh": "2841879f99e8a12822f721f446af402526b3d2631358ddd0745ca3158f75db803d6cfe",
            "path": "beacon.js"
        },
        {
            "sha256": "952da3c3a1c60a06e47c944889975b03c30bf1b69b33b70e062d78ba7d5224de",
            "path": "package.json",
            "tlsh": "1af00e98b414aa3b0fe259d2087a649b37728c4e5b046145878f4014a20ebe303f72fb"
        }
    ],
    "package_integrity": [
        {
            "filename": "gx-npm-ui-99.99.99.tgz",
            "hashes": {
                "sha1": "d3d4337397db1302a247ab4b21a5034b89c1d9a5",
                "sha512_sri": "sha512-l6pqw2U4jjK24d8hpF7uJOl9DmdSgd2r4NKEU0jEK5NiVdwYsWGZK0Bon7db4i3vm3MDiywtpFIsdJfE/3ZxXA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gx-npm-ui/MAL-2026-6481.json"
cwes
[
    {
        "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."
    }
]