Malicious code in streak-math-kit (npm)
The npm package streak-math-kit version 1.0.0 contains malicious code that targets Windows Subsystem for Linux (WSL) developer environments. When imported, it drops a hidden Windows executable named vite-native-helper.exe into the Windows startup folder of a detected user profile, causing persistent execution on every Windows logon. The malicious behavior is obfuscated by hex-encoding path segments and the executable binary. This results in a persistent backdoor on Windows systems accessed via WSL.
AI Analysis
Technical Summary
The [email protected] npm package masquerades as a math primitives library but executes a top-level function on import that targets WSL environments. It enumerates Windows user directories under /mnt/c/Users/* to find profiles containing AppData and NTUSER.DAT. It then hex-decodes an embedded Windows PE executable (~500KB) and writes it to the user's AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup directory as vite-native-helper.exe. This executable runs automatically on every subsequent Windows logon, establishing persistence. The code obfuscates its Windows-targeting behavior by storing critical path strings and the executable as hex-encoded arrays, reassembled at runtime. The package's source comments falsely claim no network or filesystem side effects, contradicting the actual malicious behavior.
Potential Impact
Any developer importing [email protected] in a WSL environment will have a persistent Windows executable planted in their startup folder, which executes on every Windows logon. This could allow unauthorized code execution on the Windows host, potentially leading to system compromise or further malicious activity. The persistence mechanism is stealthy due to obfuscation and targeting only WSL environments, increasing the risk of unnoticed infection.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using [email protected] entirely. Remove the vite-native-helper.exe executable from the Windows startup directory if present. Monitor WSL environments for unexpected package imports and audit startup folders for unauthorized executables. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in streak-math-kit (npm)
Description
The npm package streak-math-kit version 1.0.0 contains malicious code that targets Windows Subsystem for Linux (WSL) developer environments. When imported, it drops a hidden Windows executable named vite-native-helper.exe into the Windows startup folder of a detected user profile, causing persistent execution on every Windows logon. The malicious behavior is obfuscated by hex-encoding path segments and the executable binary. This results in a persistent backdoor on Windows systems accessed via WSL.
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 [email protected] npm package masquerades as a math primitives library but executes a top-level function on import that targets WSL environments. It enumerates Windows user directories under /mnt/c/Users/* to find profiles containing AppData and NTUSER.DAT. It then hex-decodes an embedded Windows PE executable (~500KB) and writes it to the user's AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup directory as vite-native-helper.exe. This executable runs automatically on every subsequent Windows logon, establishing persistence. The code obfuscates its Windows-targeting behavior by storing critical path strings and the executable as hex-encoded arrays, reassembled at runtime. The package's source comments falsely claim no network or filesystem side effects, contradicting the actual malicious behavior.
Potential Impact
Any developer importing [email protected] in a WSL environment will have a persistent Windows executable planted in their startup folder, which executes on every Windows logon. This could allow unauthorized code execution on the Windows host, potentially leading to system compromise or further malicious activity. The persistence mechanism is stealthy due to obfuscation and targeting only WSL environments, increasing the risk of unnoticed infection.
Defensive Guidance
No official patch or remediation is currently documented. Users should avoid using [email protected] entirely. Remove the vite-native-helper.exe executable from the Windows startup directory if present. Monitor WSL environments for unexpected package imports and audit startup folders for unauthorized executables. 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-12468
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d539159fc6
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:30:29 UTC
Last updated: 09/14/2026, 20:16:13 UTC
Views: 14
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.