Skip to main content

Malicious code in streak-math-kit (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:38:43 UTC)
Source: GCVE Database
Product: streak-math-kit

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

npmghsa
streak-math-kit
Affected versions
=1.0.0

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

AILast updated: 08/05/2026, 17:30:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses