@servicetitan/document-title
A declarative, nested, stateful document.title for ServiceTitan
This report shows the evidence for @servicetitan/document-title@2.4.4. 7 of 8 known versions are blocked or flagged. The newest version, 2.4.7, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe benign title component is accompanied by an unrelated, obfuscated preinstall payload that downloads a runtime and supports remote eval and token access. This is concrete malicious install-time behavior.
Decision evidence
public snapshot- package.json runs `node setup.mjs` as preinstall.
- setup.mjs downloads Bun from GitHub if absent, then executes `math_init.js` during install.
- math_init.js is heavily obfuscated and dynamically loads child_process.
- math_init.js contains remote-response `eval(...)` execution.
- Obfuscated payload includes GitHub-token handling and filesystem/process access.
- src/index.tsx and dist/index.js only implement React document.title management.
- The declared library entrypoint has no malicious runtime behavior.
Source & flagged code
6 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/document-title@2.4.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing @servicetitan/document-title@2.4.4. 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.