The matrix, and the rows that never move
Cloud teams learned the shared responsibility model years ago: the provider secures the datacenter, you secure what you put in it. Agent platforms now publish the same kind of table. Microsoft's AI agent shared responsibility model, last updated on August 26, 2026, is the most detailed one we have found, and it is worth reading even if you never touch Azure.
It splits agents into three deployment models. A SaaS agent is ready-made, and the vendor runs the orchestrator, the model, the safety systems and most connectors. A PaaS agent is one you build on a managed agent platform. An IaaS agent is one where you host the whole stack yourself. Its responsibility matrix then marks each control as owned by the customer, by Microsoft, or shared.
The interesting part is the rows that stay with the customer in all three columns. "Human-in-the-loop approval for high-impact actions" is marked customer for SaaS, PaaS and IaaS alike. So is "Acceptable-use policy and accountability for actions", and so are customer data, identities and access management. The page then lists what you are always accountable for, whatever you buy: data, "including everything written to agent memory and passed to tools", the agent's identity and the scope of every credential it can use, the authorization of its actions, and human oversight. Its rule of thumb fits in one line: "Autonomy never reduces accountability."
Buying a more managed platform moves the runtime, the model hosting and some guardrails to the vendor. It does not move the decision about what the agent may do, with whose credentials, and who answers for it. November gave us four concrete examples of where that line sits.
Merge approvals: the policy file is yours
Anthropic launched Claude Ship on November 23: Code Review, plus two agents in public beta that push fixes to pull requests and approve them against a policy file in the repository, .claude/approvals.yml. It is a useful product, and its documentation is unusually clear about whose job the outcome is: "Your settings and GitHub branch rules determine what merges."
The details make the point. The approval check only blocks a merge where you make it a required check in GitHub, and normally not in observe mode. The documentation also warns that with GitHub auto-merge or a merge queue, under a policy that doesn't require a person's approval, "a change can merge without anyone acting." And the agents aren't available to organizations with Zero Data Retention enabled, the HIPAA configuration applied, or customer-managed encryption keys, which rules out many of the regulated teams that would want them most.
None of this is a flaw in the product. It is the matrix in practice. The vendor runs the reviewer. The repository owner decides which paths an agent may approve, who can edit the policy file, and whether branch protection backs it up. We treat that file as production code: it gets a CODEOWNERS entry, and a change to it gets a human review.
Approved commands: the secret lands in your repository
Coding agents ask before running a shell command, and most let you approve a command permanently. GitGuardian's analysis of Claude Code settings files, published on November 9, describes what that approval writes: an allow rule in .claude/settings.local.json in the project folder, and "the rule is the command string itself, API key included." Claude Code keeps the file out of git on the developer's machine, "but nothing in the repository does". On another machine, in an older clone, or if the file was already tracked, it gets committed.
GitGuardian counted 31,088 distinct secrets pushed in that file to public GitHub between January 2025 and November 7, 2026, across 23,276 repositories, and 5,343 of them were valid when detected. The valid ones were mostly database and SSH credentials typed into commands. Generic detectors (passwords, high-entropy strings, bearer tokens) produced 63% of the occurrences, which means a scanner that only recognizes provider key formats misses most of this file. GitGuardian also found secrets in the instructions developers write for agents: CLAUDE.md files held 6,155 distinct secrets, 2,537 of them valid.
The vendor can change how approvals are stored, and the monthly numbers in the same report fell sharply after April. But the repository, its ignore rules and its secret scanning belong to you. In our own website repository, .claude/settings.local.json is listed in the repository's .gitignore, not only the developer's global one, and has never been committed.
Delegated credentials: the liability is yours
Agents that act on someone's behalf often do it with that person's login. Banks have started to write down what that means. TechCrunch reported on November 18 that Citi changed its online user agreement so that customers who give a third-party AI agent access to their accounts are responsible for what the agent does, including what attackers do if the tool leaks the credentials. A Citi spokesperson told the outlet that "customers who choose to grant account access to third-party AI agents are responsible for activities conducted through those agents." TechCrunch adds that PNC changed its terms the same day, Citizens wrote to its customers, and JPMorgan and Bank of America announced similar policies in October.
The lesson reaches well beyond consumer banking. If your agent logs in to a supplier portal, a CRM or a payment system with a person's credentials, the platform that runs the agent is not party to that system's terms. The design answer is delegated access that is scoped, time-limited and revocable, issued by the system the agent acts on. Microsoft's matrix calls this on-behalf-of tokens and per-action authorization. Where a system offers no such thing, the agent should read and draft, and a person should submit.
The inference path: a privacy flag binds one hop
The fourth example is less visible. Dragos researchers sent about two million prompts containing unique URLs and canary credentials to AI services between July and November 2026, then watched where those secrets surfaced. They report evidence that data from at least three AI hosting providers was exposed to attackers, resellers on an inference marketplace who read customer prompts through standard request logging, and providers that appeared not to honor privacy settings. Some of the stolen requests were marked Zero Data Retention. In the reseller case, "the leak follows the seller and not the marketplace as a whole."
Their advice starts from a line every architect should keep: "a privacy flag only binds the first hop." If your agent stack goes through a router, every hop behind it can see the full prompt and response. Dragos recommends going directly to a first-tier provider where you can, picking upstream providers yourself when you use a router, staying away from reseller marketplaces, and seeding your own canary credential into the context your agents already send, so that any use of it is an incident.
We had already argued for keeping provider choice in your own code in our piece on switching models. This is the security side of the same decision: the cheapest route for a request is also a data flow, and somebody has to own it.
Attackers run agents too
The UK's National Cyber Security Centre wrote on November 24 that since September 2026 it has seen "a marked rise in AI-assisted cyber attacks" using agentic offensive frameworks, red-team tools turned against real targets. Its point is that "none of the weaknesses being exploited are new or novel". The frameworks find credentials committed to repositories, misconfigured infrastructure as code, default credentials and weak APIs, and they find them in minutes.
Two of its recommendations apply directly to teams shipping AI features. It names "LLM-backed features" among the resource-intensive endpoints that deserve bot challenges. And because agents rotate through proxies, it recommends rate limits on accounts, API tokens and authenticated sessions rather than on IP addresses. An endpoint that spends model tokens on every request is now an abuse target with a direct cost, and no model vendor sets your per-account limits for you.
The checks we run before an agent touches production
This is the list we work through with a client before an agent gets write access to anything. For each check, we establish what the provider implements, what we must configure, and who verifies it. The split depends on the service and deployment model; customer accountability remains.
- Inventory. Every agent, every tool it can call, every credential it holds, and the person who owns it. An agent nobody owns is the first thing to switch off during an incident.
- Least privilege per tool. No broad standing identity for the agent. Each tool gets the narrowest scope that does the job, and write tools are separate from read tools.
- Approval gates on irreversible actions. Payments, deletes, production changes and external sends wait for a person. The gate sits in code or in branch protection, not only in the prompt.
- Policy files reviewed like code. Approval policies, agent instructions and permission files get an owner and a review rule.
- Secrets out of agent files. Agent settings files in the repository's own
.gitignore, pre-commit secret scanning with generic detectors switched on, and immediate rotation of anything found. - A known inference path. Named providers, no reseller marketplaces, and a canary credential in the context so that a leak shows up as an alert.
- Abuse limits on AI endpoints. Per-account and per-token rate limits, spend ceilings, and error messages that give nothing away.
- An audit log of every tool call. Inputs, outputs and the identity used, kept long enough to reconstruct what the agent did.
None of these is exotic, and most teams already do half of them for their ordinary services. The gap we see is that agent projects start in a sandbox and keep their sandbox settings when they reach production. If you want a second pair of eyes on that move, it is the deployment stage of our AI transformation program, or you can tell us what your agent touches and we will start from there.
Sources
- AI agent shared responsibility model, Microsoft Learn, last updated August 26, 2026
- Claude Ship, Claude Code documentation, accessed November 27, 2026
- Claude Code settings.local.json secrets: 17 months of exposure on GitHub and Docker Hub, GitGuardian, November 9, 2026
- More banks say customers using AI agents are on their own, even if they get hacked, TechCrunch, November 18, 2026
- Three breaches, endless leaks: your AI supply chain needs canaries, Dragos, November 19, 2026
- Familiar weaknesses, exploited faster: defending against agentic cyber attacks, National Cyber Security Centre, November 24, 2026




