AWS Limits Access to AI Agents' Data, Even if Manipulated
New architecture to propagate the user authorization context and protect sensitive data

KEY TAKEAWAYS
- AWS implements an approach to propagate user authorization to AI agents, preventing them from accessing unauthorized data.
- The solution uses Amazon Bedrock AgentCore to integrate access controls into underlying services such as DynamoDB and Salesforce.
- The architecture protects against unauthorized access even if agents are manipulated through prompt injection.
- Authenticated users via Amazon Cognito, Microsoft Entra ID, or Okta have their permissions propagated to the underlying services.
- AWS recommends configuring the underlying services to reject unauthorized requests, regardless of the agent's actions.
AWS Limits Access to AI Agent Data, Even in Case of Manipulation
Amazon Web Services (AWS) has introduced a new approach to propagate user authorization context through AI agents, strengthening access controls. The solution, implemented in Amazon Bedrock AgentCore, allows managing permissions at the infrastructure level and in downstream services, avoiding relying on security from the agents themselves.
Quick Answer
- AWS propagates the authorization context to prevent unauthorized access to AI agents
- The system prevents agents from acting as gatekeepers, delegating controls to underlying services
- The architecture supports integrations with DynamoDB, Salesforce, and Bedrock Knowledge Bases
- Authentication occurs through Amazon Cognito, with support for Microsoft Entra ID and Okta
- Controls remain effective even in case of prompt injection or application bugs
The Architecture That Places Controls at the Infrastructure Level
The framework implemented by AWS leverages a three-tier architecture: authentication, validation, and permission propagation. Users authenticate through Amazon Cognito (or alternatively with Microsoft Entra ID and Okta), receiving tokens containing information about their department. These tokens are then validated by Amazon Bedrock AgentCore Runtime before requests reach the agent.
The CRM Use Case: Protecting Sensitive Data for Departments
AWS demonstrates the effectiveness of the solution with a CRM use case where AI agents serve both Sales and Finance departments. The agents retrieve data from DynamoDB, Bedrock Knowledge Bases, and Salesforce, but access controls are managed by the underlying services. For example, when a Sales department user requests customer contracts, the system ensures that the agent accesses only relevant data and not restricted financial information.
Protection Against Prompt Injection and Application Bugs
A critical aspect of the solution is its resilience against prompt injection attacks. Even if an agent is manipulated, access controls remain effective because they are implemented at the infrastructure level. AWS emphasizes that underlying services can apply their own sharing rules, such as DynamoDB records limited to the department or HIPAA-compliant data access policies.
Integration with Various Data Sources
Best Practices for Implementation
For effective implementation, organizations should follow some best practices. First, it is crucial to correctly configure identity providers and underlying services to ensure that access controls are applied consistently. Additionally, it is important to regularly monitor and update access policies to respond to changes in security and compliance needs.
The Future of Secure AI Agents
As AI agent technology continues to evolve, AWS's approach represents a benchmark for security. The ability to propagate authorization context and apply access controls at the infrastructure level provides a solid foundation for the development of secure and efficient AI agents. This approach is particularly relevant for organizations operating in sectors with high compliance requirements.
Legal and Regulatory Considerations
AI agent security is not just about protecting data but also about complying with regulations. Organizations must ensure that access controls are compliant with industry standards, such as GDPR in Europe or HIPAA in the United States. AWS's approach facilitates demonstrating compliance, simplifying security audits and permission management.
The Importance of Training and Awareness
AI agent security is not just a technological issue but also a cultural one. It is essential that employees are aware of the risks associated with the use of these technologies and the appropriate security practices. Continuous training and awareness can help create a security culture within the organization.
Advanced Use Cases
In addition to the CRM application illustrated by AWS, there are numerous other advanced use cases for secure AI agents. For example, these agents can be used to automate complex financial processes, manage sensitive healthcare data, or facilitate collaboration between geographically distributed teams. In each of these scenarios, AWS's security approach provides an adequate level of protection.
The Role of the Security Community
AI agent security is a continuously evolving field, and the contribution of the security community is fundamental. Experts like Anshu Bathla, Prafful Gupta, and Rohit Verma of AWS play a crucial role in developing best practices and innovative solutions. Collaboration between researchers, security professionals, and technology providers is essential to address emerging challenges.
A Model for the Future
AWS's approach to AI agent security represents a model for the future. It combines flexibility, robustness, and compliance, providing organizations with the tools needed to leverage the potential of AI agents without compromising data security. As technology continues to evolve, this approach will provide a solid foundation for the development of increasingly advanced and secure solutions.
Editorial Note and Disclaimer
The guides and content published on GoYou are the result of independent research and analysis activities, for informational, educational, and in-depth purposes.
GoYou does not constitute a journalistic publication or an editorial product pursuant to Law No. 62/2001 and does not provide real-time information.
The GoYou project does not provide professional, technical, legal, or financial advice and disclaims all responsibility for the improper use of the information published.
In the Crypto sector, every investment involves risks: readers are invited to always inform themselves autonomously before making any decision.
Source: helpnetsecurity.com · GoYou.it is not a registered news outlet; all content is for informational and educational purposes.