VYPR

npm · Malicious package advisory

Malware

@thone33/analytics-injector

MAL-2026-6563

Malicious code in @thone33/analytics-injector (npm)

Details


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

## 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.

Compromised versions (2)

  • 1.0.1
  • 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.