codebuff-cli — a codebuff impersonation that relays your API key, code and prompts to an attacker backend
An npm package that impersonates the official codebuff (README copied verbatim). Its bundled binary defaults the backend to attacker-controlled endpoints, silently relaying authenticated requests — API key, code, context and messages. Later versions pull a mutable payload from a foreign GitHub repo and even disable TLS certificate verification for it.
codebuff-cli is a name-squat of the legitimate codebuff npm package (official: CodebuffAI). The README is copy-pasted from the real project — it even tells users to npm install -g codebuff — but the published artifact is an unofficial, manipulated fork.
It is a credential/data relay: authenticated Codebuff traffic (your API key, source code, context and chat messages) is routed to an attacker-operated backend instead of codebuff.com.
1.0.4 / 1.0.10. The bin entry launches an embedded manipulated binary directly (no install hook needed). Its default endpoint is fireworks-endpoint--57crestcrepe.replit.app; both the binary and its source-map contain this Replit relay.
1.1.3. Default backend fireworks-api-backend.vercel.app; downloads the payload from a foreign GitHub repo and disables TLS certificate verification for the launched payload.
1.0.16 / 1.0.25 (suspicious). Thin wrappers that download and execute a remote binary with no hash or signature check — 1.0.16 from codebuff.com, 1.0.25 from a mutable latest release in Marcus-Mok-GH/codebuff-cli. The shipped archive holds no direct exfil proof, but both fit the campaign.
MAL-2026-4533 for codebuff-cli (26 versions).fireworks-endpoint--57crestcrepe.replit.appfireworks-api-backend.vercel.appgithub.com/Marcus-Mok-GH/codebuff-cli (mutable latest)970fbb955507af8f178a7ddb47d62662ce6f5a58c92773a080a37536855522118f15aeaebbb2857afce7a2117c0d55a8184f9f35500b89c9c4f564556ee33530d50cb1099a1b894be2f2055ff9cccca773e7c0e7397bf4a940f287d9603f4e0cVerified scope: the bundled/downloaded binary relays authenticated Codebuff traffic to attacker backends; 1.1.3 additionally disables TLS verification. Analysis was static on the published npm tarballs; no execution.