ZeroNoise Logo zeronoise
Post
Cursor traces how leaked agent-session credentials led to a fake Claude Code extension
•
5 min read
• 93 docs
Cursor's incident report shows how credentials left in coding-agent traces became a supply-chain attack. Also: ThePrimeagen and Antigravity put agent control flow into explicit code, Theo finds Gemini 4 Carbon 5x slower in real work, and Anthropic and LangChain release agent platforms.

Cursor's incident: secrets in agent traces led to a fake Claude Code extension

Cursor published its full account of the incident it first disclosed on October 29. An attacker got hold of an access key Cursor had issued to Fireworks, which Fireworks had exposed. The attacker used it to copy coding-agent traces, mostly from 2025, taken from sessions that weren't in Privacy Mode. A few traces held credentials that had never been redacted. Those credentials led into Cursor's SaaS tools, and from there to archived non-production repos, support emails, and credentials users had sent to support . Using a stolen credential, the attacker placed malicious copies of Anthropic's Claude Code extension in the cache that serves Cursor's VS Code marketplace. At most 5,000 users may have received them, and they were available for about 11 hours. Anthropic's product was not at fault, and Open VSX never carried the malware .

What to check: if you installed or updated Anthropic.claude-code 2.1.312 or 2.1.313 from Cursor's marketplace during that window, follow the steps in Cursor's security notice. Cursor warns that uninstalling the extension alone may not be enough . Cursor says Privacy Mode data, production systems, official app updates and customer repos were not affected. Fewer than 0.05% of non-Privacy-Mode users had traces exposed, and each has been notified .

Any token you paste into an agent session can end up in stored traces. Cursor has since added secret scanning across its repos and restricted where credentials can be used . Kent C. Dodds noted separately that npm now runs a security scan on every publish. It can take a while, but he thinks it's worth it .

Put agent control flow in code you can see

ThePrimeagen says much of the control is lost when an agent does what you intended to do yourself . His current approach is to render his program as a visual state machine:

  • When one node is wrong, he selects it and sends a prompt about that node to Cursor . He can also select large parts of the pipeline and discuss them .
  • Error and exit conditions are declared in code at the top of the pipeline, so you can see where each error leads . Loops are visualised too .
  • Pressing gd on an item opens its code or prompt . The prompt editor autocompletes based on which pipeline steps have already run, and warns when you read a value too early .

Google Antigravity is rolling out Dynamic Workflows, which takes a similar line. Run /run-workflow and the agent writes a Python script that runs subagents in parallel or in sequence, with structured handoffs between them. The aim is "deterministic control flow instead of prompt drift." You review the script before it runs and can save it to rerun the same flow (docs) .

Theo: Gemini 4 Carbon was about 5x slower in his real work

In "I was wrong...", Theo audited his own usage and found Carbon "consistently five times slower" than other models on comparable work . He says single-request benchmarks hide this because agent tools work in many steps . He measured more than 11 seconds from when a request reaches Google's server to when the model starts working, and that delay repeats on every step . He also says Carbon often fails to read the cache it just wrote, or reads an older one , and that it's due to double in price on December 1 .

A reusable trick: Carbon was one of the judges in his review runs, and it held things up. He updated his agent skill to tell agents that if they're stuck waiting on Carbon and have work to fix, they should stop it and get back to work. He says that change makes his 5x figure an underestimate . He now goes further than his earlier, partly positive review: he sees no reason to use Carbon except for security work, where it's slightly less likely to flag you .

Agent platforms: tied to Claude or model-neutral

  • Self-Hosted Claude Managed Agents shipped. You get the managed-agents server, which works with your identity provider and includes OpenTelemetry telemetry and storage, plus a self-hosted console with Anthropic's first Evals product. The harness is tuned for Claude . swyx asked why self-hosted agents should be tied to Claude at all .
  • LangChain raised $300M at a $3B valuation . LangSmith is now presented as one framework-agnostic platform for running, improving and governing agents . LangSmith Engine finds errors, writes code and prompt fixes, and watches production traffic for regressions . More features are due at a November 20 event . Harrison Chase argues for a model-neutral harness: you can move to newer or cheaper models and avoid being locked in to a provider that raises prices . He says coding is by far the biggest use of agents .

Smaller releases

  • Devin Apps are private, shareable web apps that run on Devin's cloud computer, meant for internal tools and preview deployments . Kent C. Dodds points out that Kody.codes already does this. Its apps can use your connected MCP servers, and he runs everything from a kids' money ledger to a GitHub PR dashboard on it . He says Kody differs by working with any agent and having team-based permissions .
  • Claude Code desktop now supports custom themes built as mods: colours and animated backgrounds. You can describe the look to Claude or start from the theme-examples plugin . T3 Code nightly lets you ask the agent to change the app's UI, and the changes apply on the fly .
  • Token-saving tip from an AI-video workflow: keep assets in a GitHub repo and pass Claude links instead of attachments. An image sent as encoded text can cost hundreds of thousands of tokens, while a link costs a few dozen .
  • Be wary of viral posts: Geoffrey Huntley says he gets about three paid-promotion pitches a day and assumes viral agent launches were paid to be boosted .
Cursor traces how leaked agent-session credentials led to a fake Claude Code extension
Back to details
Skipped contexts (24)
swyx
swyx
Simon Willison's Weblog
Ben Tossell
swyx
ThePrimeagen
ThePrimeagen
ThePrimeagen
ThePrimeagen
ThePrimeagen
Kent C. Dodds 🐨
geoff
Theo - t3.gg
Anthropic
Michael Truell
Anthropic
Greg Brockman
Theo - t3.gg
Romain Huet
DHH