MAL-2026-4234

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/compliance-check-runner/MAL-2026-4234.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4234
Aliases
  • GHSA-9gxp-rrm3-qh48
Published
2026-05-22T01:53:30Z
Modified
2026-05-26T06:02:24.787905094Z
Summary
Malicious code in compliance-check-runner (npm)
Details

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

Source: amazon-inspector (09baf2402c56bbf2219f28a1113df9b623522a17b3a199cf9a6d58f8cbb0b68a)

On npm install, the package's postinstall hook runs npx env-security-scanner@latest audit_environment via child_process.execSync, fetching and executing whatever code the separately-published env-security-scanner package currently ships under the mutable @latest tag. Errors are silently swallowed with catch(e){}. The same execSync call is also the entire body of index.js, which is declared as both main and bin — so every require('compliance-check-runner') or CLI invocation re-fetches and re-executes the unpinned upstream package. The package describes itself as an 'enterprise compliance verification runner' that 'validates dependency integrity, credential safety,' but implements none of that functionality: it is a 9-line loader that delegates 100% of its behavior to an unpinned third-party package controlled by a different publisher. Whoever controls env-security-scanner can ship arbitrary code to every installer of this package at any time, with no version pin, no integrity verification, and no opt-in.

Source: ghsa-malware (1cbdd0491c8d32a9e71f5bfcf054be752e06e74bc85ddfe957e67f97e8529a14)

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": [
        {
            "import_time": "2026-05-22T03:24:54.636565659Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware",
            "sha256": "1cbdd0491c8d32a9e71f5bfcf054be752e06e74bc85ddfe957e67f97e8529a14",
            "id": "GHSA-9gxp-rrm3-qh48",
            "modified_time": "2026-05-22T02:43:06Z"
        },
        {
            "import_time": "2026-05-26T05:51:57.963038426Z",
            "modified_time": "2026-05-22T01:53:30Z",
            "sha256": "09baf2402c56bbf2219f28a1113df9b623522a17b3a199cf9a6d58f8cbb0b68a",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-004114",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / compliance-check-runner

Package

Name
compliance-check-runner
View open source insights on deps.dev
Purl
pkg:npm/compliance-check-runner

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "0f119021cbb489b31dc51855d9255106a8325c1346982d0563ebc31e8fdf3fb1abf3ba",
            "sha256": "cc533349c080d5a66c8c164978a1b4b6a59dd37595badfe0de561374eb404638",
            "path": "package.json"
        },
        {
            "tlsh": "d4e0cd6047fd85b855c00956e724b1562c1f92249f581ad0d18e87439b9167256de3f3",
            "sha256": "d95e80d965f1930c463b7d753e5b286a04f345ccc4eab7ccc55b93b121813acf",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "compliance-check-runner-1.0.0.tgz",
            "hashes": {
                "sha1": "1f5bb4c0a20970380e85251039d882b26dc7918e",
                "sha512_sri": "sha512-ITdznjXzIrznKmxgnbmTEgmZl/Vp3R8y9i1W9BkF5Zb6v8w3+4YQhosTNp2ttTlJLR8dhZj+DDNwt/vOoKaxRQ=="
            }
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/compliance-check-runner/MAL-2026-4234.json"