compliance-check-runner
This report shows the evidence for compliance-check-runner@1.0.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4234 confirms this npm version as malicious.
Advisory
MAL-2026-4234
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in compliance-check-runner (npm)
Details
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.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to compliance-check-runner@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing compliance-check-runner@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.