approve-audit
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in approve-audit (npm)
[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.
Not rated by the source.
1.0.0None listed
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
The record lists no references.
Source: OpenSSF Malicious Packages · Apache-2.0