Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in streak-daykey-lib (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:07:37 UTC)
Source: GCVE Database
Product: streak-daykey-lib

Description

The npm package streak-daykey-lib version 1.0.0 contains malicious code that, upon module load, downloads and executes an arbitrary binary from a base64-obfuscated Backblaze B2 URL. This behavior is hidden behind innocuous function names unrelated to the package's advertised functionality. Any user importing or requiring this package will silently execute this arbitrary code on their machine.

Affected software

npmghsa
streak-daykey-lib
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:11:53 UTC

Technical Analysis

The streak-daykey-lib npm package version 1.0.0 includes a malicious dropper mechanism triggered on module load. The index.mjs file calls flushInternalData(), which creates a cache directory, downloads a binary executable from a base64-encoded Backblaze B2 URL, writes it with executable permissions, and spawns it detached with ignored stdio. The network destination is obfuscated via base64 encoding to evade casual detection. This malicious behavior is unrelated to the package's stated purpose of calendar-day and streak calculations, indicating deliberate concealment of the payload delivery.

Potential Impact

Any consumer that installs or imports streak-daykey-lib version 1.0.0 will unknowingly download and execute an arbitrary executable on their system. This can lead to full compromise of the affected machine depending on the payload's capabilities. The execution is detached and silent, increasing the risk of unnoticed infection.

Defensive Guidance

No official patch or remediation is currently documented. Users should immediately avoid installing or importing streak-daykey-lib version 1.0.0. Remove the package if already installed and scan affected systems for the downloaded binary and any related malicious activity. Monitor for updates or advisories from the package maintainers or npm registry regarding this malicious package.

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-12465
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735742bf8831d5391599e2

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

Last enriched: 08/05/2026, 17:11:53 UTC

Last updated: 08/05/2026, 17:11:54 UTC

Views: 2

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