MAL-2026-6564
Dashboard / Malicious Package / MAL-2026-6564
MAL-2026-6564
Summary: Malicious code in @thone33/core-utils (npm)
Details: Source: amazon-inspector (05561d1a31165dab72c5090437ccfa7a85035a2b4fdf6a646eca59b62dd87120) @thone33/core-utils 1.0.4 is a loader stub. Its main entry (index.js) imports `activate` from the same-author dependency `@thone33/analytics-injector` and invokes it at module top level whenever `process.env.NODE_ENV === 'production'`. The author's own inline comment describes this as silently activating a payload in production ('ATIVA O PAYLOAD SILENCIOSAMENTE (em produção)'). The package is advertised as 'Core utilities', which does not justify production-gated invocation of an 'analytics-injector' dependency. The NODE_ENV=production gate is a developer-laptop-dormant / production-fires evasion pattern: consumers' local dev and CI environments see nothing, while deployed production processes execute whatever code the author publishes under @thone33/analytics-injector. Because the injector is in the same author scope and pinned as `^1.0.0`, the author can ship arbitrary additional code into consumers' production runtimes via a minor/patch release without any change to this package. Source: ghsa-malware (734ac2e7b7bf060338154bbcca4efa5f64fddd9a6f3832d5127751ba37be9edb) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/@thone33/core-utils/v/1.0.4, https://www.npmjs.com/package/@thone33/core-utils/v/1.0.0, https://www.npmjs.com/package/@thone33/core-utils/v/1.0.3, https://www.npmjs.com/package/@thone33/core-utils/v/1.0.1, https://www.npmjs.com/package/@thone33/core-utils/v/1.0.5, https://www.npmjs.com/package/@thone33/core-utils/v/1.0.2, https://github.com/advisories/GHSA-w2wf-8vp4-86mq
Affected packages
Package
Name: @thone33/core-utils
Purl: pkg:npm/%40thone33/core-utils
Affected ranges
Type: SEMVER
Events:
