AI Security Review
scanned 2h ago · by lpm-firewall-aiThe package contains an install-time credential stealer. Installing it runs postinstall.js, which harvests local secrets and exfiltrates them to Telegram.
Decision evidence
public snapshot- package.json defines install-time postinstall: node postinstall.js
- postinstall.js hardcodes Telegram bot token and chat id
- postinstall.js sends host/user/cwd/platform on install to api.telegram.org
- postinstall.js scans process.cwd(), os.homedir(), and ~/.ssh for .env, key, wallet, seed, secret-like files
- postinstall.js reads matching files and sends contents in chunks
- postinstall.js filters process.env for PRIVATE/SECRET/TOKEN/API_KEY/PASSWORD/MNEMONIC/SEED/WALLET/AWS and sends matches
- index.js only exports an empty object
- No benign SDK functionality 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 unpkgSource appears to send environment or credential material to an external endpoint.
postinstall.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
postinstall.jsView on unpkg · L1