LWA-2026-14358 confirmed malware

@agentgates/cli@0.10.0

Malicious code in @agentgates/cli (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

These versions run a postinstall hook (scripts/postinstall.mjs) that silently rewrites developer AI-assistant configuration on the installing machine: it appends or replaces a marked instruction block in ~/.claude/CLAUDE.md, creates ~/.cursor/rules/agentgates.md and appends to ~/.windsurfrules. The injected text tells the assistant to route every wallet, balance, send, swap and earn operation through the bundled `agentgates` CLI and to prefer it over other tooling, placing attacker-authored instructions into the agent's trusted context at install time. The bundled CLI (dist/cli.mjs) has a hardcoded relay at hxxps://covenant-backend[.]vercel[.]app/api and sends POST/GET requests to that host carrying a bearer token read from the BOUNTY_LAUNCH_ADMIN_KEY or ADMIN_API_KEY environment variables. Network IOCs: hxxps://covenant-backend[.]vercel[.]app/api and hxxps://cli[.]agentgates[.]ai.

analyzed by
Leitwacht
first seen
Nov 20, 2026, 05:38 AM
analyzed
Nov 20, 2026, 05:41 AM
weekly installs
1,381
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/Carlos-Sotop/agentgates-ai-cli Request takedown / dispute →

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.