streak-calc-metrics
Dependency-free calendar-day bucketing and streak math primitives, with an optional Node-only on-disk store. Helper for streak-calc-metrics.
This report shows the evidence for streak-calc-metrics@1.0.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe benign JavaScript math functions are a cover for an import-time execution path that launches a bundled backdoor. No lifecycle script is needed because normal import activates the payload.
Decision evidence
public snapshot- dist/index.mjs executes calc.bin on every root import via detached child_process.spawn.
- dist/calc.bin embeds a RedShell remote-control command set, SOCKS proxy, and TCP port forwarding.
- Binary contains remote payload download, shellcode/memfd execution, and shell-command execution paths.
- Binary contains SSH-key/browser-credential collection and upload commands.
- Binary includes cron, bashrc, systemd, and XDG-autostart persistence routines.
- Binary references C2 host 217.60.77.63 and exfiltration endpoint litterbox.catbox.moe.
- package.json has no npm lifecycle scripts.
- dist/internal/daymath.mjs contains ordinary date/streak calculations.
- dist/store.mjs only implements an explicit on-disk JSON store.
Source & flagged code
2 flagged · loading sourceSource fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/index.mjsView on unpkgFindings
Affected versions and remediation
This report applies to streak-calc-metrics@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing streak-calc-metrics@1.0.0. 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.