MAL-2026-12330

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@vboxdev/common/MAL-2026-12330.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12330
Aliases
  • GHSA-rx4f-8493-c7j8
Published
2026-08-05T12:37:21Z
Modified
2026-08-06T09:34:48.791690701Z
Summary
Malicious code in @vboxdev/common (npm)
Details

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

Source: amazon-inspector (d4b16f8f98ad89c1276884f96b2ef878d2c597356aa2194c7067d2d0bbda943f)

build/index.js appends an eval(atob('...')) block that fires when the module is required. The decoded payload queries Ethereum JSON-RPC endpoints (eth.blockscout.com, 1rpc.io/eth, eth.drpc.org, blastapi.io) for transactions from a hardcoded attacker wallet (0xa322E5f3D311D3080e6f01210639aDC2490Ef1a), reconstructs an IPv4 address from the bytes of tx.to, then fetches http://<resolved-ip>:443/0x/cls and http://<resolved-ip>:443/0x/ls. The response body is XOR-decoded with a hardcoded key and executed via eval() and a detached spawn('node','-e',...) child process (detached:true, stdio:'ignore', windowsHide:true, unref()). The C2 endpoint is mutable — the attacker rotates it by publishing new on-chain transactions from the controlled wallet — giving persistent remote code execution on any machine that imports the library. All require targets, URLs, HTTP header/method names, and error strings in the appended region are written as \u00XX unicode escapes and wrapped in base64+atob+eval; the legitimate __exportStar re-exports above the appended block are plain text, so the sole obfuscated region is the loader.

Source: ghsa-malware (cd595e257df7f4732d6451f4cb0203806490fb7226f8815b0c583cf860d3b3ce)

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-014732",
            "sha256": "d4b16f8f98ad89c1276884f96b2ef878d2c597356aa2194c7067d2d0bbda943f",
            "modified_time": "2026-08-05T12:37:21Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T13:08:41.765507308Z",
            "versions": [
                "1.0.73"
            ]
        },
        {
            "id": "GHSA-rx4f-8493-c7j8",
            "sha256": "cd595e257df7f4732d6451f4cb0203806490fb7226f8815b0c583cf860d3b3ce",
            "modified_time": "2026-08-06T06:23:00Z",
            "source": "ghsa-malware",
            "import_time": "2026-08-06T09:23:23.020237875Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @vboxdev/common

Package

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

Affected ranges

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

Affected versions

1.*
1.0.73

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "67b92a719121d7cbb10e977ab054fc134b6c160e",
                "sha512_sri": "sha512-bU1NvRDAsf4H8nO5FeBkTz37uG0LEBgxHdtGRkY5NNQ8b7M4aoW36MIfKSXYfYQdnITA4y4VjyXcZfNo7NScyw=="
            },
            "filename": "common-1.0.73.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "build/index.js",
            "sha256": "dc76e8ccacc39882ff9106bf876a0e7612f03153c1e014109d9fd0ed83d56604",
            "tlsh": "fd6252ba16957aabdb5e32b3ff53930d233164b2316c1b00320fda756389c81656d91f"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@vboxdev/common/MAL-2026-12330.json"