MAL-2026-10429

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@nsub/nitxe/MAL-2026-10429.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10429
Aliases
  • GHSA-54gp-rw59-mwf2
Published
2026-07-13T08:30:08Z
Modified
2026-07-14T07:19:20Z
Summary
Malicious code in @nsub/nitxe (npm)
Details

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

Source: amazon-inspector (b16147b7ac55d6c4cc4e042be73e6d49fc7232e8a03f406fecd034cdd27bf0eb)

The package's declared npm postinstall script collects the installer's username (os.userInfo().username), hostname (os.hostname()), platform, and the entire process.env object, base64-encodes the JSON, and transmits it as a query parameter in an HTTPS GET to a hardcoded unrelated host (gjsidn.co/collect?d=...). This fires automatically on npm install. The call is dispatched via eval('play(food())') wrapped in a silent try/catch — an obfuscation pattern with no legitimate purpose. In this specific version the postinstall.js file requires only https and never requires os, so the eval'd call throws a ReferenceError that the try/catch swallows and no network I/O actually occurs — but the code shape is unambiguous credential/environment theft and a one-line follow-up publish would make it live. Installer harm surface: full process.env dump on CI machines commonly exports cloud credentials, CI secrets, and npm publish tokens.

Source: ghsa-malware (d3269e39ebe4ffb139eba279503d64bceb158c5a822b2238c92dc463c10aedba)

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": "GHSA-54gp-rw59-mwf2",
            "import_time": "2026-07-13T09:23:41.005474451Z",
            "modified_time": "2026-07-13T08:30:09Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d3269e39ebe4ffb139eba279503d64bceb158c5a822b2238c92dc463c10aedba",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-010250",
            "import_time": "2026-07-13T14:19:34.015133799Z",
            "modified_time": "2026-07-13T14:04:06Z",
            "sha256": "b16147b7ac55d6c4cc4e042be73e6d49fc7232e8a03f406fecd034cdd27bf0eb",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-010476",
            "import_time": "2026-07-14T06:49:56.660407065Z",
            "modified_time": "2026-07-14T05:57:22Z",
            "sha256": "8636d8d7ecc7a89a7c4990e963ddd940375a892bdd025f5684edfbb55ff396d0",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @nsub/nitxe

Package

Name
@nsub/nitxe
View open source insights on deps.dev
Purl
pkg:npm/%40nsub/nitxe

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "scripts/postinstall.js",
            "sha256": "b58a285ff4b4c830febad4106725344f0ad0128dc50b2e404385562aad5f4cb5",
            "tlsh": "e4f0c9e150f5e82049f6a284404bae1f91ecf0023a1feca0bea403452f0963d40b38bd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@nsub/nitxe/MAL-2026-10429.json"