MAL-2026-11993

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@tuluax/errb/MAL-2026-11993.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11993
Published
2026-08-04T23:57:59Z
Modified
2026-08-05T00:37:41.450838124Z
Summary
Malicious code in @tuluax/errb (npm)
Details

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

Source: amazon-inspector (561541f6fdbe9bd25716c6fb8a3326df9cbe7a78e7c972d89e36a1c9afc7a186)

package.json scripts.install runs node -e "require('child_process').spawn('node', ['index.js'], { detached: true, stdio: 'ignore' }).unref()", causing npm install to spawn index.js as a detached background process. index.js reconstructs a network destination at runtime by AES-256-CBC-decrypting a hardcoded hex ciphertext with a hardcoded key and IV via createDecipheriv, then fetches the resulting URL and passes the response body to eval(). The endpoint controller therefore executes arbitrary JavaScript on the installer's machine at install time. The destination is hidden via cryptographic reconstruction rather than appearing as a plain string, defeating static URL scanning. The package impersonates the widely-used errno package by Rod Vagg: the tarball name is @tuluax/errb, package.json lists Rod Vagg @rvagg <rod@vagg.org> as author despite publication under the unrelated @tuluax scope, and the README is titled node-errno and states Available in npm as errno.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T00:04:38.889883424Z",
            "modified_time": "2026-08-04T23:57:59Z",
            "sha256": "561541f6fdbe9bd25716c6fb8a3326df9cbe7a78e7c972d89e36a1c9afc7a186",
            "id": "IN-MAL-2026-011361",
            "versions": [
                "3.0.1"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @tuluax/errb

Package

Affected ranges

Affected versions

3.*
3.0.1

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-D7RX+Yi0VP+Zx4WHXmogWzMzsMax0QnMJM1O2AMIN9dsGeN25xbfzN0HnP18uonoNenIYJn3HNXG0/gGJkDQJw==",
                "sha1": "92af4adef6f43cce16e6ad1a3f2f968ae0f13a56"
            },
            "filename": "errb-3.0.1.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "f012eb1c2812c51754f4a9046dd348c832192c1aef8258e1ec91fe7a5007b2fa",
            "tlsh": "5e01819818feba2003b370fac6bb78cac070005e3189ddd0b35d8ea50fe1224490b68e"
        },
        {
            "path": "package.json",
            "sha256": "22927b21626fb9a7e768207e78ea80053a65764296d8b6423d1e94f787d80372",
            "tlsh": "cf014525c8b08aa326c96ad44cb94083b661981b8924fd18b7c3404c9b0d22f46fe7ee"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@tuluax/errb/MAL-2026-11993.json"