Skip to main content

Malicious code in calendar-streak-core (npm)

0
High
Published: 08/05/2026 (08/05/2026, 12:24:56 UTC)
Source: GCVE Database
Product: calendar-streak-core

Description

The npm package [email protected] contains embedded malicious code that drops a Windows executable into the user's Startup folder, enabling persistent execution on Windows logon. The package falsely claims to be dependency-free and harmless, but it embeds a hex-encoded Windows PE executable that is decoded and written to %AppData%/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe. This behavior occurs immediately upon module import, allowing any project importing this package on Windows to gain persistent execution of the embedded binary.

Affected software

npmghsa
calendar-streak-core
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:49:27 UTC

Technical Analysis

The calendar-streak-core package version 1.0.0 for npm is advertised as a simple calendar-day and streak math library without dependencies. However, its index.mjs file contains a hex-encoded Windows PE executable embedded as a string array, along with a hex-encoded destination path that resolves to a per-user Startup folder location. Upon import, the module decodes and writes this executable to the Startup folder, ensuring it runs on every Windows logon. This behavior contradicts the in-code comments claiming no network or filesystem interaction. The large size (~500KB) of the package is dominated by the embedded executable, which is inconsistent with its advertised functionality. This results in silent persistent execution of malicious code on Windows systems that import this package directly or transitively.

Potential Impact

Any Windows system that imports [email protected] will have a malicious executable silently dropped into the user's Startup folder, resulting in persistent execution of this binary at every logon. This compromises system integrity and can lead to unauthorized code execution without user consent or awareness. The persistence mechanism leverages the per-user Startup folder, making it effective for maintaining foothold on infected machines.

Defensive Guidance

No official patch or remediation is currently documented for [email protected]. Users and developers should immediately remove this package from their projects and dependency trees, especially on Windows systems. Avoid installing or importing this package. Monitor and remove the file %AppData%/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe if present. Check all dependent projects for indirect usage of this malicious package. Patch status is not yet confirmed — check the vendor or repository advisory for current remediation guidance.

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-12345
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735750bf8831d53915a610

Added to database: 08/05/2026, 15:31:28 UTC

Last enriched: 08/05/2026, 17:49:27 UTC

Last updated: 09/17/2026, 09:05:01 UTC

Views: 52

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