contracts-upgradeable@1.0.0
contracts-upgradeable
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package automatically sends the installing machine’s hostname and OS username to a hard-coded Discord webhook during preinstall. This is unrelated data collection without installer consent, so the package is malicious.
Decision evidence
public snapshot- package.json runs `node preinstall.js` as an install-time preinstall hook.
- preinstall.js hard-codes a Discord webhook URL.
- The hook builds a message containing the machine hostname and OS username.
- The hook POSTs that message to the webhook without an explicit user request.
- The hook runs automatically when executed as the main module.
- index.js only exports a function that returns a static availability string.
Source & flagged code
9 flaggedPackage 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 contracts-upgradeable@1.0.0.
See all versions of contracts-upgradeable for other recorded verdicts.
- Avoid installing contracts-upgradeable@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.