Published · 2d agoSecurity3 min read
AWS's answer to prompt-injected agents: orchestrate, never gatekeep
AWS has detailed a pattern that carries the requesting user's authorization context into every downstream call, so DynamoDB, Salesforce and knowledge bases refuse what the agent should not have.
Not a builder's beat, but builders have a standing stake in it.See today for builders
What happened
- AWS has detailed an approach for propagating user authorization context through AI agents, allowing access controls to be enforced by infrastructure and downstream services rather than relying on the agent itself.
- AWS stated: "The agent acts as an orchestrator, not a gatekeeper. Authorization is enforced by downstream services."
- Customers using Amazon Bedrock AgentCore can build AI agents that pull information from Amazon DynamoDB tables, document repositories, SaaS platforms and internal knowledge bases to answer questions and automate workflows.
- Without awareness of the user making a request, an agent could return information that the user is not authorized to see.
- AWS illustrates the approach with a CRM application where employees from Sales and Finance interact with the same AI agent to access customer information.
Compiled by The WatchSomething wrong?How this is made
Why it matters
AWS has published an approach for propagating a user's authorization context through an AI agent so that access controls are enforced by infrastructure and downstream services rather than by the agent itself [1]. That matters because the usual industry response to prompt injection is a behavioral one - more guardrails, better system prompts - and this is an architectural one that teams can copy without waiting for a model to get more obedient.
The framing AWS uses is blunt: "The agent acts as an orchestrator, not a gatekeeper," the company said, adding that "authorization is enforced by downstream services" [2]. The problem it addresses is mundane rather than exotic. Customers using Amazon Bedrock AgentCore can build agents that pull from Amazon DynamoDB tables, document repositories, SaaS platforms and internal knowledge bases [3], and an agent with no awareness of who is asking can return information that the requester is not authorized to see [4].
The worked example is a CRM where Sales and Finance staff talk to the same agent [5]. Sales needs contracts, pricing strategies and pipeline data; Finance needs invoices, payment records and financial reports [6]. The agent can reach DynamoDB, Amazon Bedrock Knowledge Bases and Salesforce [7]. AWS's argument is that putting the restriction outside the agent holds even if the agent is manipulated through prompt injection or broken by an application bug [8].
The mechanics are ordinary identity plumbing, which is the point. Employees authenticate with corporate credentials - Amazon Cognito in AWS's example, though Microsoft Entra ID and Okta also work [9] - and attributes such as department are embedded in the authentication tokens and carried with the request [10]. Amazon Bedrock AgentCore Runtime validates the token and checks authorization before the request reaches the agent, so requests that fail the configured requirements can be rejected before the agent runs at all [11]. That context is then passed along when the agent calls other services, which decide for themselves what the user may see [12].
Enforcement then varies by data plane, and the differences are worth reading closely. DynamoDB access can be scoped to records tied to the user's department [13], and Salesforce applies its own sharing rules so the agent only receives records available to that individual [14]. Bedrock Knowledge Bases uses metadata filtering, which AWS itself notes operates at the application layer, with separate knowledge bases and IAM policies recommended where stricter isolation is needed [15]. So two of the three demonstrated integrations enforce inside the target system's own policy engine, and one does not [16]. The unstructured-document path is the weakest link in the design AWS shipped, and AWS says so.
The stated goal is to stop granting an agent broad access and trusting it to filter, and instead configure the underlying services to reject unauthorized requests "regardless of what the agent asks for" [17]. Authors Anshu Bathla, Prafful Gupta and Rohit Verma conclude that the agent's credentials are then inherently limited to the requesting user's permissions, and that "no amount of prompt manipulation can bypass those boundaries" [18].
Read that claim for what it is: a bound on reach, not a cure for injection. What to watch is whether teams adopting the pattern do the unglamorous half - per-department knowledge bases with IAM policies rather than metadata filters [15], and token claims that actually reflect current entitlements [10] - or whether they ship the token-passing and call it done.
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [1]
AWS has detailed an approach for propagating user authorization context through AI agents, allowing access controls to be enforced by infrastructure and downstream services rather than relying on the agent itself.
ReportedView cited source - [2]
AWS stated: "The agent acts as an orchestrator, not a gatekeeper. Authorization is enforced by downstream services."
- [3]
Customers using Amazon Bedrock AgentCore can build AI agents that pull information from Amazon DynamoDB tables, document repositories, SaaS platforms and internal knowledge bases to answer questions and automate workflows.
ReportedView cited source - [4]
Without awareness of the user making a request, an agent could return information that the user is not authorized to see.
ReportedView cited source - [5]
AWS illustrates the approach with a CRM application where employees from Sales and Finance interact with the same AI agent to access customer information.
ReportedView cited source - [6]
Sales employees need access to customer contracts, pricing strategies and sales pipeline data, while Finance employees need access to invoices, payment records and financial reports.
ReportedView cited source
Sources & coverage · 1 publisher
The reporting this story was synthesized from, earliest first. Every link goes to the original.
- helpnetsecurity.comAnamarija Pogorelec3d agoAWS limits AI agents’ data access, even when manipulated
Additional citations
- AWS
- Anshu Bathla, Prafful Gupta and Rohit Verma, AWS



