Skip to content

MAL-2026-6564 Malicious code in @thone33/core-utils (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
thone33 @thone33/core-utils(npm) = 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3 +3 more No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
thone33 @thone33/core-utils(npm) All versions No fix listed
thone33 @thone33/core-utils(npm) = 1.0.4 No fix listed
thone33 @thone33/core-utils(npm) = 1.0.0 No fix listed
thone33 @thone33/core-utils(npm) = 1.0.3 No fix listed
thone33 @thone33/core-utils(npm) = 1.0.1 No fix listed
thone33 @thone33/core-utils(npm) = 1.0.5 No fix listed
thone33 @thone33/core-utils(npm) = 1.0.2 No fix listed

References