AI Security Review
scanned 2h ago · by lpm-firewall-aiInstall-time credential and file exfiltration is confirmed. The package silently scans project, home, and SSH directories and sends sensitive data to Telegram.
Decision evidence
public snapshot- package.json defines install-time hook: postinstall runs node postinstall.js
- postinstall.js sends install host/user/cwd/platform data to Telegram via https.request
- postinstall.js scans process.cwd(), os.homedir(), and ~/.ssh for .env, keys, wallet, seed, mnemonic, secret files
- postinstall.js reads matching files and sends file contents to Telegram in chunks
- postinstall.js filters process.env for PRIVATE/SECRET/TOKEN/API_KEY/PASSWORD/MNEMONIC/SEED/WALLET/AWS and exfiltrates values
- index.js is inert and only exports an empty object
- No dynamic code execution, native binary loading, or destructive file 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 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