cd /news/ai-agents/the-agent-doesn-t-have-to-be-hacked-… · home › topics › ai-agents › article
[ARTICLE · art-165704] src=fromtheterminal.substack.com ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

The Agent Doesn't Have to Be Hacked. It Just Has to Be Trusted.

A bug report against Anthropic's Claude Code revealed the coding agent was sending users' account email addresses in the User-Agent header of every outbound web request, exposing a stable identifier to every host it fetched. Separately, hosted browser-session provider Kernel disclosed a breach in which a compromised API key let an attacker pivot through a logging provider to harvest API keys and third-party customer secrets, reaching four GPU servers and three customer browser sessions, with customer impact estimated at 0.28%. The incidents highlight that agent runtimes concentrate credentials and leak data through defaults rather than attacks.

read6 min views3 publishedNov 7, 2026
The Agent Doesn't Have to Be Hacked. It Just Has to Be Trusted.
Image: Fromtheterminal (auto-discovered)

A header, a breach notice and a security model turned up this week, and together they describe a gap nobody has closed: we hand agents our credentials and then try to supervise their behavior.

1. A Header Nobody Reviewed Sent Your Email to Every Site Your Agent Visited #

A bug report against Claude Code drew a crowd this week for an unglamorous reason: the agent's outbound web requests carried the user's account email address in the User-Agent header. Every host it fetched on your behalf — a docs page, whatever some README linked to — got a stable, verified identifier for you, in a field nobody reads and every web server logs. No exploit, no jailbreak, no prompt injection. A default.

The mechanism matters more than the bug. A coding agent's egress surface was never designed; it accumulated. The agent inherits your shell, your environment variables, your tokens and your git identity, then makes calls you did not write, to hosts you did not choose, with headers you have never seen. Threat modeling assumes a program's requests were authored by its authors. Here the request list is generated at runtime, partly from text the agent read minutes ago.

The review step that would catch this does not exist in most organizations. Your own service's outbound calls get a code review; your agent's are a vendor implementation detail, changing weekly and arriving through an auto-updater. Whatever your egress policy says, the agent is a second, undocumented client on the machine.

Why it matters:

  • For ICs: Put a proxy in front of your agent once and look at what it sends. Treat the answer as perishable — it changes with every update.
  • For leaders: Your agent vendor sits inside your data-egress boundary. That belongs in vendor review, not the IDE-plugin bucket.
  • For founders: If you ship an agent, document every byte it sends outbound. Buyers are starting to ask.
  • The failure mode is defaults, not attacks. An agent discloses what it discloses because nobody listed what it was allowed to say.

2. The Agent Runtime Got Breached. A Customer Noticed First. #

Kernel, which runs hosted browser sessions for agents, published an incident notice that reads like a map of the new blast radius. On October 24 an attacker used a compromised API key to read data across internal profiles. On October 27 the same key opened a staff login to the company's logging provider, where they downloaded more API keys plus third-party secrets from customer deployments. On November 3 a compromised hosting-provider credential got them four GPU servers, three running customer browser sessions, and a cryptominer. Customer impact is put at 0.28%.

Two details deserve pinning up somewhere. The logging provider was the pivot: secrets in logs turned one leaked key into a credential harvest. And the first line of the response timeline, on November 2, is an impacted customer escalation — nine days after initial access. The provider found out from the people it was protecting. The notice also says the actor appears to have used an AI-assisted pentesting platform as its command center, which is the honest version of the agentic-security story: automation is arriving on both sides, and offense is cheaper to deploy.

Structurally, a hosted agent runtime is a credential concentrator: browser sessions hold logged-in cookies, deployments hold third-party secrets, both on shared compute. The remediation list — scoped API keys, network controls on where keys can be used, better rotation — is narrowing authority after the fact. It is the right list, and the one everyone running agents should write before shipping.

Why it matters:

  • For ICs: Assume anything in an agent's environment is in scope for its provider's worst day. Scope the token to one repository, one bucket, one API.
  • For leaders: Add two diligence questions: what credentials live in the runtime, and how was the last incident detected. Customer-reported detection is a finding.
  • For founders: Scrub secrets from logs before you scale. Your observability stack is a credential store and will be treated as one.

3. The Fix Isn't Watching the Agent More Closely. It's Giving It Less to Hold. #

The clearest framing I read this week came from an argument for object capabilities in agent infrastructure. Give a program a credential and you have given it everything that credential can do. Give an agent a filesystem and you have given it every secret, source tree and config reachable through it; give an MCP server a cloud credential and compromising that server converts a narrow integration into a broad incident. The capability model inverts the default: a workload has no authority until it holds a capability, and that capability can be as narrow as the operation — write access to one repository, not a token that reaches every repo you can. A broker holds the real secret, and the audit trail records authority actually exercised rather than credentials that happened to be lying around.

This fits agents specifically because a container's control flow is stable and an agent's is not: it reads a repo, installs dependencies, runs tests, opens a PR and calls three APIs in an order nobody specified. Predicting dangerous behavior at the policy layer means anticipating what text the model will read; bounding authority doesn't. The model can be tricked, the prompt can be hostile, or the agent can simply be wrong, and the boundary doesn't move. It is also why isolation alone was never enough: a microVM says where an agent can reach, not what it can do inside.

Capability brokers are infrastructure work, and most teams won't have one this quarter. The cheap interim move is a record. Stroq runs locally over your existing Claude Code, Codex and Cursor transcripts, hooks tool calls before they execute, denies outbound requests carrying a known secret, and flags commands whose text came from content the agent read — provenance, not pattern matching. It replays sessions from before it was installed and names which of your keys left the machine, never their values. Its own docs are blunt about the ceiling: it is a filter, not a sandbox, and a command the model composed from scratch traces back to nothing. Install it anyway; the alternative most teams run today is no record at all.

Why it matters:

  • For ICs: Stop asking whether you trust the model and start asking what the token in your environment can reach. Then shrink it.
  • For leaders: Fund least-authority plumbing — scoped tokens, brokers, per-task credentials — ahead of prompt-inspection tooling. One bounds damage; the other guesses at intent.
  • For founders: The unsexy middle layer is a business: capability brokers, agent audit trails, provenance for tool calls. Every team adopting agents needs it; almost none will build it.

The Verdict: Real or Hype? #

Ambient credentials as the real agent risk → Real. The leaks and the breaches both came from authority the agent was handed, not from the model misbehaving. Capability-scoped agent authority → Real but early. The model is decades old and obviously correct; the managed plumbing to make it routine is still being built. Behavioral policing as agent security → Hype. You cannot enumerate every dangerous sentence, and the agent reads text you have never seen.

── more in #ai-agents 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-agent-doesn-t-ha…] indexed:0 read:6min 2026-11-07 · —