Skip to main content

Malicious code in streak-cal-core (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 03:02:12 UTC)
Source: GCVE Database
Product: streak-cal-core

Description

The npm package streak-cal-core version 1.0.0 contains malicious code that drops and executes a large base64-encoded ELF binary upon import. The package disguises this payload within the main module file and executes it as a side effect, which is inconsistent with its advertised functionality as a calendar/streak helper. This behavior indicates the package is a typosquat variant designed to execute opaque native code without user consent.

Affected software

npmghsa
streak-cal-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/19/2026, 14:37:54 UTC

Technical Analysis

The streak-cal-core npm package version 1.0.0 includes a ~500 KB base64-encoded x86-64 ELF payload embedded in its main entry file (index.mjs) within a disguised array. Upon import, the module decodes this payload, writes it to disk with executable permissions, dynamically imports the node:child_process module, and executes the binary. This execution occurs as a top-level side effect, meaning any consumer importing or requiring the package will run the embedded native code. The internal naming conventions and README references differ from the published package name, consistent with typosquatting tactics. The package's advertised purpose as a dependency-free calendar/streak math helper is inconsistent with the presence and execution of this opaque native binary.

Potential Impact

Any application or developer importing or requiring streak-cal-core version 1.0.0 will inadvertently execute a large native binary payload, potentially leading to arbitrary code execution on the host system. This compromises system integrity and security, as the payload behavior is opaque and not aligned with the package's stated functionality. There is no indication of known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently available. Users and developers should avoid installing or importing the streak-cal-core package version 1.0.0. Remove any existing installations of this package from projects and dependency trees. Monitor for updates or advisories from the npm registry or package maintainers regarding this malicious package. Consider using trusted and verified packages for calendar or streak-related functionality.

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

Threat ID: 6a85b4c7acd9273b49252831

Added to database: 08/19/2026, 13:51:03 UTC

Last enriched: 08/19/2026, 14:37:54 UTC

Last updated: 10/02/2026, 13:52:27 UTC

Views: 22

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