calculator-preinstall-hook-demo@1.1.1
Private test fixture: sends a fixed webhook notification during preinstall
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe manifest runs a hook that automatically contacts a hard-coded Discord webhook without installer consent. The payload is a fixed notification rather than sensitive data, so this is install-hook abuse rather than data exfiltration.
Decision evidence
public snapshot- The package runs preinstall.js automatically during installation.
- preinstall.js contains a fixed Discord webhook URL.
- The hook POSTs a fixed notification to that webhook without requiring installer consent.
- The hook writes a local .preinstall-marker.json file with the notification result.
- The POST body contains a fixed test message, not environment variables, credentials, or project data.
- The README describes this as a private test fixture and says it should not be published or distributed with its embedded webhook.
Source & flagged code
8 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 calculator-preinstall-hook-demo@1.1.1.
See all versions of calculator-preinstall-hook-demo for other recorded verdicts.
- Avoid installing calculator-preinstall-hook-demo@1.1.1. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.