MAL-2026-18335: Malicious code in ctf-agent (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (ae799a3444c808e1efc1027f5f9ee3bce7e972a8357d43fc96f1e5a53a2c76c8) Analysis of ctf-agent@0.1.0 (npm) across 154 files produced no indicators of credential theft, exfiltration, install-time or import-time remote code execution, silent relay, backdoor, or self-propagation. No lifecycle scripts fetching remote content, no hardcoded attacker destinations, no reads of installer secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser or wallet stores), and no obfuscated payloads were observed.
Source: ghsa-malware (1bbe1eb2e2e46c8aa452e19060d6f37d8e744e62e5c58be091c4e1f263a09d1a) 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
npm/ctf-agentfrom your environment.Remove the ctf-agent package from any computer where it is installed or running; removing it may not remove all malicious software resulting from its installation.
- Operational
Rotate all secrets and keys stored on the affected computer immediately, using a different computer.