calculator-preinstall-chain-demo@1.1.1
Test fixture: depends on NPM1 to demonstrate a transitive preinstall hook
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe root package installs a dependency whose preinstall hook contacts an embedded external webhook without installer consent. Although the request contains only a fixed message, the automatic unrelated install-time contact is malicious install-hook abuse.
Decision evidence
public snapshot- The root package installs calculator-preinstall-hook-demo@1.1.1.
- That dependency runs preinstall.js as an npm preinstall hook.
- The hook posts to an embedded Discord webhook during installation.
- The POST body is a fixed test notification, unrelated to the package’s calculator purpose.
- The inspected request contains no hostname, username, project details, environment values, or file contents.
- The hook writes a local status marker; the root package has no lifecycle script 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 root package installs calculator-preinstall-hook-demo@1.1.1.
package.jsonView on unpkg · L7Findings
Affected versions and remediation
This report applies to calculator-preinstall-chain-demo@1.1.1.
See all versions of calculator-preinstall-chain-demo for other recorded verdicts.
- Avoid installing calculator-preinstall-chain-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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.