@wagni_bot/polygon-sdk
Unofficial polygon-sdk SDK
This report shows the evidence for @wagni_bot/polygon-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-aiDirect source inspection confirms unconsented install-time credential harvesting and exfiltration to a hardcoded Telegram bot. This is concrete malicious behavior unrelated to a Polygon SDK.
Decision evidence
public snapshot- package.json defines postinstall: node postinstall.js, so code runs at npm install time.
- postinstall.js sends install host/user/cwd/platform details to Telegram via https.request.
- postinstall.js recursively reads cwd and home files matching .env, .cred, .pem, .key, mnemonic, seed, wallet, secret.
- postinstall.js reads ~/.ssh files matching id_rsa, id_ed25519, .pem, .key, config.
- postinstall.js filters process.env for PRIVATE/SECRET/TOKEN/API_KEY/PASSWORD/MNEMONIC/SEED/WALLET/AWS and sends values externally.
- No package-aligned SDK functionality is present in inspected package file list beyond index.js entrypoint.
- No destructive file writes or persistence mechanisms observed.
- No child_process, eval, vm, dynamic require, native binary, or staged payload loading 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 · L1Findings
Affected versions and remediation
This report applies to @wagni_bot/polygon-sdk@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @wagni_bot/polygon-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.