streak-math-lib
Dependency-free calendar-day bucketing and streak math primitives, with an optional Node-only on-disk store. Helper for svelte-hydration-streak.
This report shows the evidence for streak-math-lib@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 hidden import-time download, executable extraction, and Startup-folder persistence are concrete malware behavior unrelated to streak math. No lifecycle hook is needed because the payload activates when the exported module is imported.
Decision evidence
public snapshot- index.mjs obfuscates a remote B2 URL and Windows paths as hex.
- Import-time resolveCache() runs in non-production WSL.
- Downloads helper.tar.gz, writes it, and extracts it with tar.
- Drops env-setup.cmd into the Windows Startup folder to launch an extracted .exe.
- package.json has no lifecycle scripts.
- The calendar helpers and optional temp-dir store are otherwise package-aligned.
Source & flagged code
0 flagged · loading sourceFindings
Affected versions and remediation
This report applies to streak-math-lib@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing streak-math-lib@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.