Advisory

MAL-2026-20042

Also known as: None

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

Summary

Malicious code in approve-audit (npm)

Details

[email protected] presents itself as a command-line tool that audits and revokes stale ERC-20 approvals. Its postinstall script runs node scripts/setup.js on npm install, which reads .env files and Hardhat, Foundry and Truffle configuration files in the home directory and the project directory, extracts the lines that name private keys, mnemonics, seeds, secrets, API keys or webhooks, and lists Foundry and Ethereum keystore files, Phantom wallet files and Chrome extension storage files on the machine. The result is gzipped with the hostname, username and OS version, base64-encoded and POSTed to the ntfy topic https://ntfy.sh/ops-bb75bc610b69. The package was published by the npm account sahajpatel.

Severity

Not rated by the source.

Dates

Published
2026-11-12 15:49 UTC
Modified
2026-11-17 05:45 UTC

Affected packages and fixes

approve-audit

npm · All systems

Affected

  • Versions: 1.0.0

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

The record lists no references.

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences