MAL-2026-6564: Malicious code in @thone33/core-utils (npm)
The npm package @thone33/core-utils versions 1.0.0 through 1.0.5 contains malicious code that activates a hidden payload in production environments. The package imports and invokes code from a related dependency @thone33/analytics-injector only when NODE_ENV is set to 'production', enabling stealthy execution of arbitrary code in production while remaining dormant in development and CI environments. This behavior allows the author to inject malicious code into consumers' production runtimes via minor or patch updates to the pinned dependency without changes to the core-utils package itself.
AI Analysis
Technical Summary
@thone33/core-utils versions 1.0.0 to 1.0.5 act as a loader stub that conditionally executes code from the @thone33/analytics-injector package when the environment variable NODE_ENV equals 'production'. This design conceals malicious payload activation in production only, evading detection in development or CI. Because the dependency is pinned with a caret (^1.0.0), the author can deliver arbitrary code changes through minor or patch releases of the analytics-injector package, effectively enabling dynamic malicious code injection into production environments of consumers relying on core-utils.
Potential Impact
Consumers of @thone33/core-utils versions 1.0.0 through 1.0.5 who run their applications with NODE_ENV=production are at risk of executing arbitrary and potentially malicious code injected via the @thone33/analytics-injector dependency. This can lead to unauthorized actions or compromise of the production environment. The malicious code remains dormant in non-production environments, increasing the likelihood of unnoticed compromise until deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately audit and remove the @thone33/core-utils package and its dependencies from their projects. Avoid using this package in production environments. Monitor for any updates from the package maintainers or npm advisories for potential fixes or removals. Consider replacing this package with trusted alternatives. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
MAL-2026-6564: Malicious code in @thone33/core-utils (npm)
Description
The npm package @thone33/core-utils versions 1.0.0 through 1.0.5 contains malicious code that activates a hidden payload in production environments. The package imports and invokes code from a related dependency @thone33/analytics-injector only when NODE_ENV is set to 'production', enabling stealthy execution of arbitrary code in production while remaining dormant in development and CI environments. This behavior allows the author to inject malicious code into consumers' production runtimes via minor or patch updates to the pinned dependency without changes to the core-utils package itself.
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
@thone33/core-utils versions 1.0.0 to 1.0.5 act as a loader stub that conditionally executes code from the @thone33/analytics-injector package when the environment variable NODE_ENV equals 'production'. This design conceals malicious payload activation in production only, evading detection in development or CI. Because the dependency is pinned with a caret (^1.0.0), the author can deliver arbitrary code changes through minor or patch releases of the analytics-injector package, effectively enabling dynamic malicious code injection into production environments of consumers relying on core-utils.
Potential Impact
Consumers of @thone33/core-utils versions 1.0.0 through 1.0.5 who run their applications with NODE_ENV=production are at risk of executing arbitrary and potentially malicious code injected via the @thone33/analytics-injector dependency. This can lead to unauthorized actions or compromise of the production environment. The malicious code remains dormant in non-production environments, increasing the likelihood of unnoticed compromise until deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately audit and remove the @thone33/core-utils package and its dependencies from their projects. Avoid using this package in production environments. Monitor for any updates from the package maintainers or npm advisories for potential fixes or removals. Consider replacing this package with trusted alternatives. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6564
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed7827e9c797199395d5
Added to database: 06/29/2026, 22:11:04 UTC
Last enriched: 06/29/2026, 22:41:42 UTC
Last updated: 06/30/2026, 01:06:28 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.
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.