streak-day-primitives
Dependency-free calendar-day bucketing and streak math primitives, with an optional Node-only on-disk store. Helper for svelte-streak-tracker.
This report shows the evidence for streak-day-primitives@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 public calendar helpers conceal an import-triggered downloader and Windows persistence routine unrelated to package functionality. This is malicious behavior despite a likely implementation defect.
Decision evidence
public snapshot- index.mjs contains an obfuscated deferred import-time payload.
- It targets WSL and creates Windows cache and Startup directories.
- It downloads a tarball from f004.backblazeb2.com, extracts it, and invokes hidden PowerShell.
- The payload creates a Startup shortcut targeting RenameMe.exe.
- Misleading comments claim the entrypoint has no filesystem or network access.
- package.json has no lifecycle scripts.
- The payload's fs/promises import lacks the sync methods it calls, likely causing its caught execution failure.
Source & flagged code
1 flagged · loading sourcePackage source references dynamic require/import behavior.
index.mjsView on unpkg · L111Findings
Affected versions and remediation
This report applies to streak-day-primitives@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing streak-day-primitives@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.