@servicetitan/hammer-react
This report shows the evidence for @servicetitan/hammer-react@1.42.5. 7 of 7 known versions are blocked or flagged. The newest version, 1.42.8, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe lifecycle hook is unrelated to a React UI library and deliberately stages an obfuscated payload. Direct source inspection confirms credential collection and remote content evaluation.
Decision evidence
public snapshot- package.json runs `node setup.mjs` as preinstall.
- setup.mjs executes obfuscated math_init.js, downloading Bun from github.com if absent.
- math_init.js contains credential-token handling for npm and GitHub token types.
- math_init.js fetches a response body and executes its `content` with eval.
- math_init.js imports child_process and contains credential collection/exfiltration workflow.
- dist/ contains the expected React component build, but is not the preinstall path.
- The only clear setup.mjs network host is Bun's GitHub release, used to launch the hidden payload.
Source & flagged code
4 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
math_init.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @servicetitan/hammer-react@1.42.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing @servicetitan/hammer-react@1.42.5. 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.