← Blog

The 10-minute audit: what can talk to your AI agent?

2026-11-04 · Builder Brief

The 10-minute audit: what can talk to your AI agent?

Your AI agent takes instructions from more places than you think. Some come from you. Some come from plugins, startup hooks and connected servers that other apps can add to its config files, sometimes during a routine update.

That’s the lesson of this week, and it’s easy to act on. You don’t need a security team. You need to know which files to open and what should be in them.

The takeaway: Once a month, open your agents’ config files, remove anything you didn’t add, and rotate the keys you gave to tools that have had an incident. It takes about 10 minutes per machine.

Status, so you know what’s real:

  • Operational today: The incidents, file locations and features below come from vendor notices, vendor docs and a public GitHub issue (all checked Nov 4, 2026).
  • Reported, not confirmed by the vendor: The Postman behavior is described by users in an open GitHub issue. We haven’t reproduced it.
  • We haven’t tested these steps on every setup. File locations can change between versions, so check your tool’s docs if a file isn’t where we say.

Update, Nov 5, 2026: Two follow-ups landed. In the Postman issue, a commenter listed as a member of Postman’s GitHub organization said Postman is reverting the change and will redesign it “with the right level of control”. The issue is now closed and locked. Reverting stops new installs, but nobody has said it removes what’s already on your machine, so still check your files. GitBook also published its full postmortem: the attacker got in through a flaw in GitBook’s SSO login, then a misconfigured GitHub App and a Cloudflare API key, and GitBook now treats all customer data as exposed. Two actions are new in step 3.

Update, Nov 6, 2026: Claude Code had a privacy miss that fits this audit. Users reported that the signed-in account email was showing up in outbound User-Agent headers on sites the agent fetched (GitHub issue #107757). Anthropic’s v2.1.317 changelog added a check that asks before a web or shell tool call sends your account email to the network, and a built-in privacy mod (cc-plugin-privacy, on by default) ships in 2.1.317 and later. An Anthropic engineer said on Hacker News (quoted in the issue thread) that the account email will leave model context in a release early next week. Until then, update Claude Code to 2.1.317 or later. On the org side, Claude Enterprise now has generally available inference hooks (prompt hooks and pre-tool-call hooks that send prompts or tool calls to your own DLP and security tools), plus a Security Center beta. That is the company-level control for the same class of problem: what leaves the agent.

Update, Nov 7, 2026: Don’t treat “update to 2.1.317” as the end of the Claude Code email problem. The release that removes your email from the model’s context hasn’t shipped: the Nov 6 release, 2.1.319, doesn’t mention it, and issue #107757 is still open. In the same thread, several users on macOS and Windows report that the built-in privacy mod was loaded but didn’t refuse their test commands on 2.1.317, 2.1.318 and 2.1.319. That’s user-reported and we haven’t reproduced it. An Anthropic engineer, quoted in the thread from Hacker News, also said the mod doesn’t catch every case, such as when Claude writes a script and then runs it, and that the stable release channel was still on 2.1.311. What I’d do until the fix lands: keep approvals on for commands that reach outside sites, read any script Claude writes before it runs one, and be extra careful with sites that ask scripts for a contact address (SEC EDGAR and Wikipedia’s API both do). Some users checked their own history by searching their Claude Code transcripts in ~/.claude/projects/ for their email next to “User-Agent”.

Update, Nov 8, 2026: Still no full fix. As of 7 AM MT, the newest Claude Code release is 2.1.319 from Nov 6, and issue #107757 is still open. One new report in that thread is worth adding to your review habit. When Claude writes its own curl command or script, the User-Agent it makes up can name the project or client you’re working on, even with no email in it. The built-in privacy mod only looks for your account address, so it wouldn’t catch that. This comes from one user’s scan of their own transcripts, and we haven’t reproduced it. So when you read an outbound command before approving it, look for client and project names as well as your email.

1. What happened this week

Four separate events, one pattern: the agent itself was fine, and the things connected to it were the problem.

An app update rewired coding agents. In an open Postman issue, users report that a Postman desktop update installed Postman plugins for Claude Code and Codex, a Codex hook that runs when a session starts, a connection to Postman’s remote MCP server (the standard way agents talk to outside tools) and a Postman command-line tool in ~/.local/bin. One user reproduced it on Nov 3 updating from 12.31.3 to 12.35.1. Another found entries in ~/.copilot/ that Postman’s in-app uninstall option didn’t remove. A commenter who appears to speak for Postman said it would make the opt-in clearer and is reviewing the hook behavior. As of Nov 4 the issue is still open.

Nothing here says Postman did anything malicious. The point is simpler. A trusted app you installed for something else can change what your coding agent loads every time it starts.

Two platforms lost the keys customers connected. On Nov 1, Trigger.dev disclosed that an attacker accessed environment variables for a subset of its customers’ organizations. For most teams, that’s where API keys live. On Nov 3, GitBook said an attacker it describes as using AI agents may have accessed integration tokens, Git Sync secrets, API tokens and questions visitors asked its docs assistant. GitBook revoked all personal API tokens and asks customers to rotate third-party secrets and re-authenticate its MCP server. Its Nov 4 postmortem adds session signing secrets and docs sites using authenticated access to the list of what the attacker could reach.

A tampered extension reached Cursor users. On Oct 29, a fake Claude Code extension sat in Cursor’s extension marketplace for about 11 hours and added an attacker’s SSH key on machines that installed it. Cursor’s notice explains how to check and says uninstalling alone doesn’t undo it.

Gemini’s privacy page got specific. Google’s Gemini Apps Privacy Hub says that on personal accounts with Keep Activity on, your chats are used to improve Google services, including training generative AI models. Human reviewers read a subset, and reviewed chats are kept up to three years. With Keep Activity off, chats are still kept for 72 hours. The page also says Google doesn’t monitor or secure custom third-party MCP apps you connect.

2. Open the files

This is the 10 minutes. On each computer where you run a coding agent, open these files in a text editor. You’re looking for plugins, hooks and MCP servers you don’t recognize.

ToolWhere to lookWhat to look for
Claude Code~/.claude/settings.json, plus .claude/settings.json in each projecthooks, enabledPlugins, permission allow rules you didn’t write
Claude Code~/.claude.jsonMCP server entries (Claude Code keeps them here)
Codex~/.codex/config.toml[plugins], [marketplaces], [mcp_servers] and hook entries
Copilot CLI~/.copilot/settings.json and ~/.copilot/installed-pluginsPlugins you didn’t install
CursorSettings, then the MCP and Extensions pagesServers and extensions you didn’t add
Any~/.local/binCommand-line tools another app dropped in

Two shortcuts help. In Claude Code, run /status to see which settings files loaded, and claude doctor to see entries it rejected. And on Windows, ~ means your user folder, so ~/.claude is %USERPROFILE%\.claude.

If you find something you didn’t add, don’t just delete the line and move on. Find which app put it there, turn off that app’s agent integration in its own settings, and then remove the entries. Otherwise the next update may write them back.

3. Rotate what was exposed

Make a short list of every key or token you’ve given an AI or automation tool. Then rotate in this order:

  1. Anything connected to Trigger.dev or GitBook. If you got an email from either, follow it. If you use GitBook’s API, integrations or MCP server, rotate those tokens and secrets and re-authenticate now, whether or not you got an email. If your docs use authenticated access with your own backend, regenerate the signing key in GitBook and update your backend. GitBook also published three attacker IP addresses (94.183.188.91, 45.139.84.195 and 198.251.83.217); ask whoever runs your logs to search for them.
  2. Anything on a machine that installed the tampered extension. Run Cursor’s check first. If it finds the key, treat that machine’s keys as exposed.
  3. Broad keys you can’t place. If you can’t say where a key was issued and who can revoke it, revoke it and replace it with a narrower one.

4. Decide where your chats go

For Gemini, the account matters more than the plan. On a personal Google account, training and human review are on by default, and the privacy page makes no exception for paid Google AI plans. Work and school accounts are covered by separate Google Workspace terms.

If you put client or customer details into Gemini, use a work account, or turn off Keep Activity, or use temporary chats. And treat any custom MCP app you connect as your responsibility, because Google says it is.

5. Make it stick

The audit only works if config changes stop happening silently. Two habits help.

  • Keep shared agent setup in your repo. Team hooks, allowed commands and plugins belong in the project’s .claude/settings.json, where changes show up in code review. Personal tweaks go in .claude/settings.local.json, which stays out of git.
  • Review agent skills like dependencies. On Nov 3, GitHub added Dependabot support for Agent Package Manager: if your team lists agent skills and instructions in apm.yml, Dependabot opens pull requests when they update. That means a person approves each change. It covers version updates only, not security alerts.

What to skip

  • Uninstalling your coding agent. The agent wasn’t the problem in any of these cases. The connections were.
  • Buying a security tool for this. For a small team, a calendar reminder and this checklist cover it.
  • Panic over every vendor with an incident. Rotate what was exposed, read the vendor’s follow-up, and keep using tools that disclose quickly and clearly. GitBook’s postmortem is a good example of a vendor explaining what happened in plain detail.
  • Auditing what you don’t run. If nobody on your team uses Codex, skip its row.

The decision

If anyone on your team runs a coding agent and also installs developer apps like API clients or database tools, do the audit this week and put it on the calendar monthly. If you only use chat apps in a browser, skip the files and spend your 10 minutes on step 4.

Your move this week

Block 10 minutes on Friday. Open ~/.claude/settings.json and ~/.codex/config.toml on your main machine, write down every plugin, hook and MCP server you find, and remove anything nobody can explain.

Get the Builder Brief for one move like this every week. For the bigger picture on giving agents access, read give AI agents their own inbox, logins and briefs, or browse coding agents in the tracker.

Sources: Postman issue #14370 (user reports; closed Nov 5 after Postman said it is reverting the change); Trigger.dev security disclosure; GitBook security incident; Cursor extension security notice; Gemini Apps Privacy Hub; Claude Code settings docs; GitHub changelog, Nov 3; Claude Code issue #107757; Claude Code changelog; Claude Enterprise security updates. Checked Nov 4, 2026; updated Nov 5 and Nov 6, 2026.

Tools mentioned

General information only, not legal, financial or brokerage-compliance advice. Tool features and prices change; check each vendor's site.

New AI tools, honest reviews and playbooks. One email a week.

Free. Unsubscribe anytime.