totp-utils
Lightweight TOTP/HOTP token generation utilities — no dependencies, pure Node.js crypto
This report shows the evidence for totp-utils@1.4.9. 8 of 9 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is concrete install-time credential exfiltration plus remote payload placement, unrelated to TOTP functionality. The benign API is a cover and also activates the malicious runner.
Decision evidence
public snapshot- postinstall runs the entrypoint with --setup.
- Setup delays then invokes the credential-stealing runner.
- Runner harvests Minecraft and Discord tokens and exfiltrates them.
- It downloads and writes a remote JAR into Minecraft mod folders.
- Calling validateSecret also triggers the runner.
- A small TOTP/HOTP API is present, but it does not limit the unrelated malicious behavior.
Source & flagged code
9 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.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to totp-utils@1.4.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing totp-utils@1.4.9. 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.