MAL-2026-10599

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@public-for-cdao/abi/MAL-2026-10599.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10599
Aliases
  • GHSA-584q-5354-mhmc
Published
2026-06-17T03:50:19Z
Modified
2026-09-01T11:30:48Z
Summary
Malicious code in @public-for-cdao/abi (npm)
Details

The @public-for-cdao/abi package is part of a dependency-confusion credential theft campaign. Its package.json declares a postinstall hook that runs node recon.js automatically during npm installation. The bundled recon.js is identical across six packages in the @public-for-cdao scope and has SHA-256 3dd1f7827fe311d17f442e0af0fab46f3f1a938bb3409838536795fb1aa0f740.

The script collects CI tokens, GitLab access tokens, SSH and deployment keys, AWS credentials, database and Redis passwords, private keys, cryptocurrency mnemonics and seed phrases, Docker and npm credentials, and Slack and Discord tokens from environment variables. It also searches common project, application, root, and CI-runner locations for .env files and extracts lines containing KEY, SECRET, TOKEN, PASS, PRIVATE, or MNEMONIC. The package name, version, hostname, and collected secrets are POSTed to a fixed webhook.site endpoint and a Pipedream endpoint with TLS certificate verification disabled.


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

Source: amazon-inspector (102277e30b4f56dba5ebfb6a6a0ba076163907bfd28b2055b7fe6870261071f6)

The package installs a postinstall script (recon.js) that runs automatically on npm install. The script enumerates a hardcoded list of installer environment variables (including AWS_SECRET_ACCESS_KEY, CI_JOB_TOKEN, NPM_TOKEN, MNEMONIC, private-key and database-password names), scans multiple.env file paths for lines matching KEY/SECRET/TOKEN/PASS/MNEMONIC patterns, and collects host identifiers (hostname, platform, arch, username, cwd) plus directory listings under /builds/, /home/gitlab-runner/builds/, /tmp/, and /var/lib/gitlab-runner/. The collected JSON payload is written to /tmp/.npm_recon_.json and POSTed via https.request to two attacker-controlled endpoints: webhook.site and enqoojbegdvxj.x.pipedream.net. The package name @public-for-cdao/abi with a 99.99.99 version and an index.js that returns {name:'@cdao/abi'} targets a private @cdao/abi scope via dependency confusion; a code comment labels the file 'CryptoDAO Dependency Confusion Reconnaissance Payload'.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010546",
            "import_time": "2026-07-14T18:28:28.341649265Z",
            "modified_time": "2026-07-14T17:56:50Z",
            "sha256": "102277e30b4f56dba5ebfb6a6a0ba076163907bfd28b2055b7fe6870261071f6",
            "source": "amazon-inspector",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "RLMA-2026-05445",
            "import_time": "2026-07-20T13:14:40.502033265Z",
            "modified_time": "2026-07-20T10:26:38Z",
            "sha256": "d8fbc16350fd94be835470e9558413038b2d7981b144015827b53bffe5270d23",
            "source": "reversing-labs",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "RLUA-2026-05901",
            "import_time": "2026-09-01T11:17:43.119301895Z",
            "modified_time": "2026-08-24T16:29:26Z",
            "sha256": "8c0b5f6e74449443302d99c3238bd137f58a88cd02b44cab233b10b888186abf",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

npm / @public-for-cdao/abi

Package

Name
@public-for-cdao/abi
View open source insights on deps.dev
Purl
pkg:npm/%40public-for-cdao/abi

Affected ranges

Affected versions

99.*
99.99.99

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "recon.js",
            "sha256": "3dd1f7827fe311d17f442e0af0fab46f3f1a938bb3409838536795fb1aa0f740",
            "tlsh": "e481c9f046f1623815622784541f1012917bf297f2a6bbf4b6dc023a0faa96045f6fef"
        },
        {
            "path": "package.json",
            "sha256": "677d7bf98c5c57189a6a1a142924bd458a39498f93f2f115c6a9d04e8f55d924",
            "tlsh": "d1d02b3616305f2330cd2aa65c35552726b34daf10087d0816db226043ac17274ff29e"
        }
    ],
    "package_integrity": [
        {
            "filename": "abi-99.99.99.tgz",
            "hashes": {
                "sha1": "88f3f8b4ad6eda9dad86ef67445ebee4956da61d",
                "sha512_sri": "sha512-51qGMFjQ5fWbdY4HVVPLI6J+f7gVojLBwHbA1C2bd9hi5Xuk1oBsfCQKDYQT+5HymHal3ch37UyKKX2t7X6dtg=="
            }
        }
    ]
}
iocs
{
    "domains": [
        "webhook.site",
        "enqoojbegdvxj.x.pipedream.net"
    ],
    "urls": [
        "https://webhook.site/d6d18927-e513-4df7-b019-58bfc64fe0dd",
        "https://enqoojbegdvxj.x.pipedream.net/"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@public-for-cdao/abi/MAL-2026-10599.json"