Support is where most companies deploy their first AI agent with real system access, because the business case is unarguable and the integrations already exist. Those integrations are the problem: an OAuth token issued during a trial, with the scopes the setup wizard requested, held by a service that now reads text written by strangers.
Integration scope, the finding we report most
- CRM tokens with write access to every record, held by an assistant that only needs to read tickets for one customer. We enumerate the token’s real scopes rather than the ones the architecture document claims.
- Shared service accounts across all end-customers of a support platform, so a scoping error in the application tier is a cross-customer breach rather than a bug.
- Tokens with no expiry, stored where the application can read them and often where a developer can too.
- Integration credentials in environment variables available to every process in the container, including the one that executes model-suggested code.
- Admin-level API keys used because the least-privilege role lacked one endpoint, documented nowhere.
Ticket injection
Customers write tickets. Tickets enter the context window. Everything follows from that.
- Instructions in a ticket body that alter the assistant’s summary for the human agent — suppressing a fraud flag, inventing a prior approval, requesting an escalation.
- Instructions in attachments, signatures and quoted email chains, which are usually appended without sanitisation.
- Instructions that target the macro or tool layer: trigger a refund, change an email address on an account, close a security ticket.
- Poisoning the knowledge base through a mechanism that promotes resolved tickets into help content, which is an ingestion route from untrusted input to authoritative answer.
The test we run first on any support deployment is a ticket containing an instruction aimed at the agent-facing summary. It is cheap, it is realistic, and it succeeds far more often than teams predict.
Transcript and PII exposure
- Support conversations contain identity documents, payment details, addresses and account recovery information, pasted by customers who were asked to prove something.
- Prompts and completions land in observability platforms with broad internal access and long retention — frequently the widest unintentional PII exposure in the company.
- Cross-customer retrieval through a shared knowledge base built from resolved tickets, where one customer’s details become another’s suggested answer.
- Payment data in transcripts creates PCI scope nobody intended, in a system nobody assessed.
What we test, in order
- Enumerate every integration and its actual granted scopes, then compare against what the assistant needs.
- Test tool-call authorisation per call against the requesting customer or agent, with model-supplied identifiers rejected.
- Inject instructions through ticket bodies, attachments, email chains, chat widgets and web forms.
- Test knowledge-base promotion paths for poisoning from untrusted content.
- Probe cross-customer retrieval with seeded canaries, both within a tenant and across tenants on a platform.
- Trace prompt and completion logs to every destination, and establish who can read them.
- Check retention and erasure, including attachments and embeddings.
- Test escalation and handover integrity, since the human usually trusts the summary.
Controls that hold up
- Per-customer, least-privilege, short-lived integration credentials, with read and write separated and write requiring a human.
- Tool arguments resolved from the authenticated session, never from model output.
- All customer-authored content delimited and instruction-stripped, with tool calls blocked on turns whose context is flagged.
- Knowledge-base promotion gated by human review, with provenance retained.
- Prompt and completion logging with PII redaction at the source, bounded retention and restricted access — and payment data excluded entirely.
- Agent-facing summaries labelled as model-generated with the raw ticket one click away.
Where to start
Pull the scope list for the CRM token your support assistant uses. If it includes write access to objects the assistant never writes, you have found the first thing to fix, and it is a configuration change rather than a project.