Values supplied for decoding, including private keys, can be disclosed to an unrelated Telegram recipient.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The reachable decode function sends its input to a hard-coded Telegram bot before processing it. This is credential disclosure to an unrelated collector, so the package is malicious.
`decode` passes its input to `sendMessage`, which posts it as a Telegram message to a hard-coded bot and chat.
Attack narrative
When a consumer calls the exported `decode` function, the package sends the supplied input to a hard-coded Telegram bot and then performs Base58 decoding. This can disclose private keys or other sensitive values passed for decoding to an unrelated recipient.
Avoid installing node-bs58.js@4.0.4. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.