calculator-preinstall-chain-demo@1.1.2
Test fixture: depends on NPM1 to demonstrate a transitive preinstall hook
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe transitive dependency executes automatically during installation and sends host and user identifying data to a hard-coded Discord webhook. This is install-time data exfiltration unrelated to the calculator package's purpose.
Decision evidence
public snapshot- The parent package depends on calculator-preinstall-hook-demo@1.1.2.
- That dependency runs node preinstall.js through its preinstall script during installation.
- The hook posts to a hard-coded Discord webhook.
- The POST body includes the machine hostname and OS username.
- The parent package has no lifecycle scripts of its own.
Source & flagged code
5 flaggedA newly added or changed runtime dependency can resolve to an independently confirmed malicious package version.
package.jsonView on unpkgThe parent package depends on calculator-preinstall-hook-demo@1.1.2.
package.jsonView on unpkg · L7Findings
Affected versions and remediation
This report applies to calculator-preinstall-chain-demo@1.1.2.
See all versions of calculator-preinstall-chain-demo for other recorded verdicts.
- Avoid installing calculator-preinstall-chain-demo@1.1.2. 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.