add-two-numbers-x7q9m
A tiny package that adds two numbers.
This report shows the evidence for add-two-numbers-x7q9m@1.0.1. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package contains a concrete, automatic npm-token exfiltration chain in its preinstall hook. The benign arithmetic entrypoint does not mitigate this behavior.
Decision evidence
public snapshot- scripts/preinstall.js reads the user's Desktop directory during npm preinstall.
- It scans a .txt file for an npm_ token pattern.
- Matched token is sent as a webhook query parameter.
- The preinstall script also logs the extracted token.
- index.js only implements numeric addition.
- scripts/postinstall.js only prints a success message.
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 file is highly similar to a previously finalized malicious package; route for source-aware review.
Findings
Affected versions and remediation
This report applies to add-two-numbers-x7q9m@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing add-two-numbers-x7q9m@1.0.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.