npm · Malicious package advisory
Malwarec2-client
MAL-2026-17165
Malicious code in c2-client (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8c5e21fe48a0a1a03a1846e11cb06360950603c3bd8ccba5979c431c84779ba0) The package name is 'c2-client' and package.json declares a postinstall hook that executes 'node setup.js' automatically on npm install. The setup script runs unattended in the installer's environment with the installer's privileges and network access. Combined with the package's self-declared C2-client purpose, install of this package is expected to establish an attacker-controlled command channel or execute attacker-controlled code on the installer's machine at install time.
Compromised versions (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.