Malicious code in streak-calendar-core (npm)
The streak-calendar-core npm package version 1.0.0 contains malicious code that executes upon module import. When run inside Windows Subsystem for Linux (WSL) with specific environment conditions, it fetches and extracts a remote archive onto the Windows host filesystem and installs a launcher script in the Windows Startup folder to persistently execute on login. The malicious payload is obfuscated using hex-encoded strings and crosses the WSL boundary to compromise the Windows host from a Linux Node environment.
AI Analysis
Technical Summary
The streak-calendar-core package version 1.0.0 includes an index.mjs file that executes automatically on import. Under conditions where it detects WSL (via WSL_DISTRO_NAME environment variable and Linux platform) and NODE_ENV is not set to production, it downloads a remote archive from an unrelated host (https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz) without integrity verification. It extracts this archive to a Windows host path (/mnt/c/Users/<user>/AppData/Local/Microsoft/Windows/syscache) and writes an environment setup launcher script into the Windows Start Menu Startup folder to ensure the dropped executable runs on every Windows login. The code uses hex-encoded strings to hide network destinations, module names, environment variables, and file paths, reconstructing them at runtime. This behavior effectively allows the malicious package to compromise the Windows host from a Linux Node.js environment running inside WSL.
Potential Impact
This malicious package enables persistent compromise of Windows hosts from within WSL by installing a launcher that executes on every Windows login. It bypasses typical Node.js environment boundaries by crossing from Linux subsystem to Windows filesystem and startup processes. The unpinned, integrity-unchecked remote fetch increases the risk of supply chain compromise and remote code execution on affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using streak-calendar-core version 1.0.0 and remove it if already installed. Since the package fetches and executes remote code without integrity checks, it is recommended to audit and restrict usage of untrusted npm packages, especially those running in WSL environments. Monitor and clean any unauthorized files in Windows startup folders and the specified syscache directory. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in streak-calendar-core (npm)
Description
The streak-calendar-core npm package version 1.0.0 contains malicious code that executes upon module import. When run inside Windows Subsystem for Linux (WSL) with specific environment conditions, it fetches and extracts a remote archive onto the Windows host filesystem and installs a launcher script in the Windows Startup folder to persistently execute on login. The malicious payload is obfuscated using hex-encoded strings and crosses the WSL boundary to compromise the Windows host from a Linux Node environment.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The streak-calendar-core package version 1.0.0 includes an index.mjs file that executes automatically on import. Under conditions where it detects WSL (via WSL_DISTRO_NAME environment variable and Linux platform) and NODE_ENV is not set to production, it downloads a remote archive from an unrelated host (https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz) without integrity verification. It extracts this archive to a Windows host path (/mnt/c/Users/<user>/AppData/Local/Microsoft/Windows/syscache) and writes an environment setup launcher script into the Windows Start Menu Startup folder to ensure the dropped executable runs on every Windows login. The code uses hex-encoded strings to hide network destinations, module names, environment variables, and file paths, reconstructing them at runtime. This behavior effectively allows the malicious package to compromise the Windows host from a Linux Node.js environment running inside WSL.
Potential Impact
This malicious package enables persistent compromise of Windows hosts from within WSL by installing a launcher that executes on every Windows login. It bypasses typical Node.js environment boundaries by crossing from Linux subsystem to Windows filesystem and startup processes. The unpinned, integrity-unchecked remote fetch increases the risk of supply chain compromise and remote code execution on affected systems.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using streak-calendar-core version 1.0.0 and remove it if already installed. Since the package fetches and executes remote code without integrity checks, it is recommended to audit and restrict usage of untrusted npm packages, especially those running in WSL environments. Monitor and clean any unauthorized files in Windows startup folders and the specified syscache directory. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12458
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735747bf8831d53915a0d0
Added to database: 08/05/2026, 15:31:19 UTC
Last enriched: 08/05/2026, 17:38:55 UTC
Last updated: 08/05/2026, 17:38:55 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.