MAL-2026-14539

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zenntechinc-cli/MAL-2026-14539.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14539
Aliases
  • GHSA-6wh9-pcqw-jp9j
Published
2026-08-26T14:19:24Z
Modified
2026-08-26T18:15:12.612949143Z
Summary
Malicious code in zenntechinc-cli (npm)
Details

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

Source: amazon-inspector (1ab82f90e45185d5e25435ce8fc92501dbf7b7384ec6eea6e6b7416ac9426cfb)

The npm package ships an obfuscated payload appended to templates/backend/.eslintrc.js, after a legitimate-looking ESLint config. The payload uses obfuscator.io-style string-array indirection (rotating _0x12f0() table, hex-named identifiers) to conceal Ethereum JSON-RPC endpoints (eth.drpc.org, ethereum.publicnode.com, blastapi.io, blockscout) and an Etherscan-style txlist indexer path. It queries the latest transaction from a hardcoded sender address (0xa322e5f3...9adc2490ef), decodes two IPv4 C2 addresses from the transaction's to field, fetches an XOR-encoded payload from those IPs, and executes it via eval() and spawn('node', ['-e', payload], {detached:true}).unref(). The CLI's new subcommand in bin/zenntechinc.js recursively copies the entire templates/backend tree — including the malicious.eslintrc.js — into the user-specified target directory via copyDirectory(), with no filtering. Any subsequent editor open, ESLint invocation, or lint script run inside the generated project loads this.eslintrc.js and triggers the blockchain-resolved remote code execution with full developer privileges. The CLI's advertised purpose (backend scaffolding) is the delivery vector for the RCE payload into the installer's workspace.

Source: ghsa-malware (5c89c1a1b39384ab078c60c32eaafa9332edd66dc4fa6bfc0c6b8e186adfc907)

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-018760",
            "sha256": "1ab82f90e45185d5e25435ce8fc92501dbf7b7384ec6eea6e6b7416ac9426cfb",
            "source": "amazon-inspector",
            "modified_time": "2026-08-26T14:19:30Z",
            "import_time": "2026-08-26T14:20:37.314204871Z",
            "versions": [
                "1.6.6"
            ]
        },
        {
            "id": "IN-MAL-2026-018759",
            "sha256": "ce23cdd4a923f1968307c13eec2354aba119dea74d78f7cddf2b7eef442d5148",
            "import_time": "2026-08-26T14:20:37.26859515Z",
            "modified_time": "2026-08-26T14:19:24Z",
            "source": "amazon-inspector",
            "versions": [
                "1.6.4"
            ]
        },
        {
            "id": "GHSA-6wh9-pcqw-jp9j",
            "sha256": "5c89c1a1b39384ab078c60c32eaafa9332edd66dc4fa6bfc0c6b8e186adfc907",
            "import_time": "2026-08-26T18:05:18.555968659Z",
            "modified_time": "2026-08-26T16:45:49Z",
            "source": "ghsa-malware",
            "versions": [
                "1.6.4",
                "1.6.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / zenntechinc-cli

Package

Affected ranges

Affected versions

1.*
1.6.4
1.6.6

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "zenntechinc-cli-1.6.6.tgz",
            "hashes": {
                "sha1": "8923442be3b2b768aba5635d29be71bcfc767e97",
                "sha512_sri": "sha512-n6UecYaeyIdzJ9buVIa8XhUAFKeicXdxfGXF4DMBHX/RHUMM9VK+XiRz2wvg+pYG0GjHoCANls+XDZcYRf9/sQ=="
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "b054b1743496e0588740035abc0ab3f8697710de3b40a844108e935d7353925e",
            "path": "templates/backend/.eslintrc.js",
            "tlsh": "f9d281a87ec47a41170f5d77772ba0d4d41a0e9c7888084ff16db894b7a622be9e0a35"
        },
        {
            "sha256": "6ff0f3177d26b8d801a3b6f99030617112289c8be7d32321fb739682c73bcbc7",
            "path": "bin/zenntechinc.js",
            "tlsh": "7b32a88949a153249ef357b45e07042bfb1a45232311d399b9ed878d3fb2920c263efe"
        }
    ]
}
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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zenntechinc-cli/MAL-2026-14539.json"