@wagni_bot/bsc-sdk
Unofficial bsc-sdk SDK
This report shows the evidence for @wagni_bot/bsc-sdk@1.0.0. 8 of 8 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiRead-only source inspection confirms concrete install-time credential and sensitive file exfiltration to Telegram with no user consent or package-aligned purpose. This is malicious malware behavior and should be blocked.
Decision evidence
public snapshot- package.json defines install-time postinstall: node postinstall.js
- postinstall.js POSTs to https://api.telegram.org/bot.../sendMessage using hardcoded bot token/chat id
- postinstall.js scans process.cwd(), os.homedir(), and ~/.ssh for .env, credentials, keys, wallet, seed, mnemonic, and secret files
- postinstall.js reads matched file contents and sends them via sendFile()
- postinstall.js filters process.env for PRIVATE/SECRET/TOKEN/API_KEY/PASSWORD/MNEMONIC/SEED/WALLET/AWS and sends values
- index.js is empty, leaving no benign SDK behavior to justify the install hook
- No child_process, eval, or native binary loading observed
- No persistence or destructive filesystem writes observed
Source & flagged code
4 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to @wagni_bot/bsc-sdk@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @wagni_bot/bsc-sdk@1.0.0. 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.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.