@wethenorth12/crypto-config
Affected
- Versions:
2.0.1
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 @wethenorth12/crypto-config (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (d56f2c55cacbd8d06b8d3b0f20b808262c42cd002441399d8e39a2f03c600f3c)
On require, index.js collects process.env, hostname, username, homedir, platform, and cwd, base64-encodes the blob, and POSTs it to api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id 8969499041. A tmp marker file gates repeat sends. The package presents itself as a drop-in for the popular config package (typosquat), attempts to require('config') and re-exports it to preserve apparent functionality, and uses randomized variable names to obscure the exfiltration path.
Not rated by the source.
2.0.1None 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
Source: OpenSSF Malicious Packages · Apache-2.0