Protect agent tool calls with Skyflow and Amazon Bedrock AgentCore Gateway
In one sentence
AWS demonstrates integrating Skyflow Detect as an interceptor into Amazon Bedrock AgentCore Gateway to de-identify sensitive data during AI agent tool calls without modifying agent or tool code.
Key points
- AI agent tool calls face three data privacy risks: leaking sensitive data in arguments, returning sensitive data into model context, and bypassing text inspection via document URLs.
- The solution deploys Skyflow Detect as request and response interceptors on AgentCore Gateway via a single AWS Lambda function, requiring no changes to agents or tools.
- It offers three protection modes: Shield the tool (using reversible vault tokens), Shield the model (de-identifying before inference), and Shield the document (swapping URLs for clean copies).
- Production features include dynamic configuration without redeploys, fail-closed security to prevent clear-text leaks, and native integration with AWS Secrets Manager and CloudWatch.
In depth
An AI-written overview of the original article, not the article itself.
An AWS Machine Learning Blog post details how to integrate Skyflow Detect with Amazon Bedrock AgentCore Gateway to keep sensitive data out of AI agent tool calls and model contexts. By acting as a gateway interceptor, Skyflow protects data without requiring changes to existing agents or tools.
Closing the Tool Call Security Gap
According to the post, enterprise AI controls mostly monitor model inputs and outputs, leaving tool calls exposed. Sensitive data can leak through tool arguments sent to third-party servers, return in scraped web pages or CRM records, or bypass text filters when tools like Amazon S3 return signed URLs. Patching individual agents does not scale, making AgentCore Gateway the ideal central point to enforce uniform data protection.
Three Core Protection Modes
The Skyflow interceptor is a single AWS Lambda function attached to both the gateway's request and response points. It uses Skyflow Detect and Skyflow Vault to replace sensitive entities—such as names, emails, and card numbers—with tokens, offering three configurable modes: Shield the tool, Shield the model, and Shield the document.
In Shield the tool mode, sensitive arguments are tokenized before reaching third-party APIs and restored for the user. Shield the model de-identifies prompts and tool results before the model reads them. For documents, Skyflow Detect v2 (preview) fetches files directly from presigned URLs and returns links to clean copies, avoiding Lambda payload limits.
Production Features and Deployment
Built for production, the interceptor uses a fail-closed design that blocks traffic if de-identification fails. Policies are stored in AWS Systems Manager Parameter Store for updates without redeployment, while API keys reside in AWS Secrets Manager. It complements AgentCore Policy and Amazon Bedrock Guardrails. Skyflow is available on AWS Marketplace, and the interceptor is open source on GitHub.
This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.