Malicious code in streak-grid-core (npm)
The npm package streak-grid-core version 1.0.0 contains malicious code that executes native code on the host machine during installation or build. The package's main entry point dynamically reconstructs and executes a base64-encoded ELF binary via child_process, enabling arbitrary code execution. This behavior is hidden by splitting the payload into multiple string chunks and using misleading comments referencing unrelated package names.
AI Analysis
Technical Summary
The streak-grid-core npm package (version 1.0.0) advertises itself as a dependency-free calendar/streak math utility but contains a malicious payload embedded in its main entry file (index.mjs). This payload concatenates multiple base64-encoded chunks, each starting with the ELF magic marker, decodes them into a binary executable, writes this executable to disk with executable permissions, and then runs it using node's child_process module. The payload is obfuscated by splitting it into multiple strings and using unrelated package names in comments to evade detection. Any project importing this package, directly or transitively (e.g., via svelte-streak-grid), triggers execution of this native code on the installer or build host, posing a severe security risk.
Potential Impact
This malicious package enables arbitrary native code execution on the host machine during installation or build time, potentially compromising the system integrity and confidentiality. Since the payload executes with the privileges of the user running the installation, it can lead to full system compromise, data theft, or further malware deployment. The threat affects any environment that installs or builds with this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this package version. Users should immediately avoid installing or using streak-grid-core version 1.0.0 and remove it from their dependency trees. Audit and verify all dependencies for malicious code, especially those pulled transitively. Consider using trusted package sources and integrity verification mechanisms. Monitor vendor advisories or repository updates for any official fixes or removals.
Malicious code in streak-grid-core (npm)
Description
The npm package streak-grid-core version 1.0.0 contains malicious code that executes native code on the host machine during installation or build. The package's main entry point dynamically reconstructs and executes a base64-encoded ELF binary via child_process, enabling arbitrary code execution. This behavior is hidden by splitting the payload into multiple string chunks and using misleading comments referencing unrelated package names.
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-grid-core npm package (version 1.0.0) advertises itself as a dependency-free calendar/streak math utility but contains a malicious payload embedded in its main entry file (index.mjs). This payload concatenates multiple base64-encoded chunks, each starting with the ELF magic marker, decodes them into a binary executable, writes this executable to disk with executable permissions, and then runs it using node's child_process module. The payload is obfuscated by splitting it into multiple strings and using unrelated package names in comments to evade detection. Any project importing this package, directly or transitively (e.g., via svelte-streak-grid), triggers execution of this native code on the installer or build host, posing a severe security risk.
Potential Impact
This malicious package enables arbitrary native code execution on the host machine during installation or build time, potentially compromising the system integrity and confidentiality. Since the payload executes with the privileges of the user running the installation, it can lead to full system compromise, data theft, or further malware deployment. The threat affects any environment that installs or builds with this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this package version. Users should immediately avoid installing or using streak-grid-core version 1.0.0 and remove it from their dependency trees. Audit and verify all dependencies for malicious code, especially those pulled transitively. Consider using trusted package sources and integrity verification mechanisms. Monitor vendor advisories or repository updates for any official fixes or removals.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12807
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735741bf8831d539154b12
Added to database: 08/05/2026, 15:31:13 UTC
Last enriched: 08/05/2026, 16:59:19 UTC
Last updated: 08/05/2026, 16:59:19 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.