Malicious code in streak-daykey-lib (npm)
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.
AI Analysis
Technical Summary
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.
Mitigation Recommendations
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.
Malicious code in streak-daykey-lib (npm)
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
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 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.
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 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.