MAL-2026-6563
Dashboard / Malicious Package / MAL-2026-6563
MAL-2026-6563
Summary: Malicious code in @thone33/analytics-injector (npm)
Details: Source: amazon-inspector (dcef0ea3fd19d9b238a097485faaf7db52d5aa4363653fd7fb29f4c0ff251f92) Package presents itself as an 'analytics injection helper' with a no-op track() export, but its exported activate() function fetches a JavaScript file from https://raw.githubusercontent.com/Dennisfrr/c2-stager/main/the assessment.js (mutable main branch, no integrity check) and passes the response body directly to eval, with fetch errors silently swallowed. Any consumer that imports and invokes activate() executes attacker-controlled JavaScript with full Node process privileges, and the upstream content can change at any time without a package update. The cover-story naming (analytics-injector / track) alongside a remote source repository explicitly named c2-stager indicates deliberate misdirection rather than a legitimate loader pattern. Source: ghsa-malware (dffa96b1979da8c35802624684971072a7a15da3a35e2daf9d8e9a9f2ec35ce5) 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/analytics-injector/v/1.0.1, https://www.npmjs.com/package/@thone33/analytics-injector/v/1.0.0, https://github.com/advisories/GHSA-7mg5-m9qh-r4rp
Affected packages
Package
Name: @thone33/analytics-injector
Purl: pkg:npm/%40thone33/analytics-injector
Affected ranges
Type: SEMVER
Events:
