Two reports from the last week are worth a few minutes if you run coding agents on your own machine. On October 29, a tampered copy of the Claude Code extension sat on Cursor's marketplace for about 11 hours. On November 5, someone reported that Claude Code had put their account email in the User-Agent header of its web requests. They're very different events, and they lead to the same question: what can an agent and its tools reach from where they run?
What happened with the extension
Cursor says versions 2.1.312 and 2.1.313 for Windows and macOS were on its marketplace between about 2:27am and 1:35pm Pacific on October 29, and it put the impact at no more than 5,000 users. The tampered code collected details about the machine and user, including the names of environment variables, tried to add an attacker's key so the machine could be reached remotely, and set itself up to keep running. Anthropic says it didn't build or publish that copy, and that its own channels, including the VS Code marketplace and Open VSX, weren't affected.
If you use Cursor, check first
If you installed or updated the extension from Cursor's marketplace during that window, read Cursor's security notice and run its check for your platform. Cursor warns that uninstalling may not be enough, because the code leaves scripts behind that keep running. If the check finds the attacker's key, treat the machine as compromised, follow the cleanup steps, and rotate your credentials and sessions from a different machine.
Agents write their own requests
The email report is a different kind of problem, because nothing was tampered with. The GitHub issue describes the agent adding the account email to a header while searching the web, which sends it to whatever server it contacts. A contributor replied that a built-in privacy mod, on by default since version 2.1.317, blocks this. The issue is still open and commenters report gaps, so update, confirm the mod is on in /plugins, and keep the wider point in mind. An agent composes its own requests, so anything it knows can end up in one, and that includes names from the files it has read.
Give it less to reach
Sandboxing came up again and again in a Hacker News thread on agent setups this week, and it's the habit that helps with both problems. Run agents under a separate user account, in a container or in a virtual machine, so your personal keys, browser sessions and cloud logins aren't one file read away. Turn off automatic extension updates on the machine that holds your credentials, and let a new release age for a few days unless it's a security fix. A wait that long would have outlasted this extension. Then limit which hosts an agent can contact, if your sandbox allows it. A rule in AGENTS.md about personal details is worth adding and helps most of the time, but a network limit holds whatever the model decides.
How this works in 1904
In 1904, agents run in a private cloud runtime for your account instead of on your laptop, and each task gets its own isolated copy of your code. No editor extension is involved, and the keys and browser sessions on your laptop aren't there to reach. We turn off each agent's own updater, check for new releases every six hours and install them while the agent is idle. Coding Agents shows the version each one is on.
That moves the risk and doesn't remove it. There's no waiting period, so a bad release from a publisher would reach your runtime quickly, and that runtime holds your agent sign-ins and your code. An agent there can also put what it knows into a web request, so the advice about what you hand it applies on 1904 too.