From the AWS edition of November 19, 2026
Skyflow interceptor for AgentCore Gateway tokenizes personal data in agent tool calls and fails closed; document de-identification is still in preview
Amazon Web Services and Skyflow (AWS Marketplace partner) · Agentic AI data protection · AgentCore Gateway Regions (varies; check the AgentCore Regions table); Skyflow vault Region chosen by customer
- Publisher
- AWS Machine Learning Blog
- Original publication
- 2026-11-19
- Source retrieved
- 2026-11-20
- Event date
- 2026-11-19
What happened
A November 19 AWS post co-authored with Skyflow describes an open-source (MIT) Lambda interceptor attached to AgentCore Gateway's request and response points. It calls Skyflow Detect to find names, emails, phone numbers, government IDs, card numbers, dates of birth and locations, replaces them with reversible vault tokens or one-way tokens, and restores them before the agent reads results. Three modes are configurable per tool: shield the tool (third-party tools never see real values), shield the model (prompts and tool results are de-identified before the model reads them), and shield the document (signed URLs are swapped for de-identified copies). The interceptor fails closed: if de-identification cannot complete, the call is withheld. Policy lives in Parameter Store, the API key in Secrets Manager and decisions are logged to CloudWatch without original values. Limits stated: document de-identification uses Skyflow Detect v2, which is in preview; PDFs and images get only one-way tokens; AgentCore Gateway availability varies by Region; latency should be validated in a pilot. The worked example is a European bank's card-dispute agent; no measured accuracy, latency or customer results are given.
Why it matters
Relevant to health and human services, courts and student-services agents where case notes, SSNs, dates of birth and addresses must not flow to third-party search or tools. A gateway-level control applied once to all tools fits agencies with several agent teams. But it adds a third-party vault holding the original values, so data-sharing agreements, HIPAA or FERPA terms and residency for that vault become part of the design (interpretation). Detection accuracy for public-sector record formats is untested in the source. Cross-tagged health-human-services because case-note de-identification is the core HHS use.
Evidence and measured results
AWS Machine Learning Blog post dated 19 NOV 2026 with architecture, modes and stated limits; vendor-partner content with no measured detection accuracy, latency or deployment results.
Limitations and uncertainty
Vendor-partner post; no accuracy or latency figures; document mode in preview; banking example, not public sector; Region availability of the gateway must be checked.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-20; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- Agents handling case data can send personal identifiers to third-party tools and pull them into model context.
- Stakeholders
- HHS or court CIO
- Privacy officer
- Agent platform lead
- Agency counsel
- Program director
- Discovery questions
- Which agent tools run outside the agency's account?
- Which identifiers must never leave?
- Where may a token vault reside under your agreements?
- Are agents already behind AgentCore Gateway?
- Value hypothesis
- A single gateway control could reduce identifier exposure across multiple agents without changing agent code, subject to measured detection quality.
- Potential engagement
- A privacy-control pilot on one agent workflow with synthetic records and a vault-residency review.
- Unsupported claims
- Complete de-identification
- HIPAA or FERPA compliance
- Negligible latency
- Production readiness of document mode
Pre-sales engineering
Role takeaway
- Fit
- AgentCore Gateway deployments with external tools or document stores holding personal data.
- Architecture and integration
- Lambda interceptor at request and response points; Skyflow Detect and Vault; Parameter Store policy; Secrets Manager key; DynamoDB token records; gateway inference endpoint for model shielding.
- Prerequisites
- AgentCore Gateway in a supported Region
- Skyflow subscription and vault
- Entity policy per tool
- Allowlisted document locations
- Constraints
- Document de-identification in preview
- PDFs and images receive one-way tokens only
- Gateway availability varies by Region
- Third-party vault residency
- Security
- Fail closed on errors, restrict re-identification to authorized roles, never log originals, and review vault access.
- Proof of value
- Entity detection recall on synthetic agency records
- Induced-failure test confirms calls are withheld
- Per-call latency measured against a budget
Delivery
Role takeaway
- Work
- Define entity policy, deploy interceptor, attach to one gateway, pilot with synthetic data and monitor metrics for a week before widening.
- Dependencies
- Privacy office policy
- Skyflow contract terms
- Gateway ownership
- Synthetic test data
- Ownership
- Central agent platform team with the privacy office.
- Skills and adoption
- Engineers learn interceptor operations; privacy staff learn to maintain per-tool policies.
- Governance checkpoints
- Vault residency and agreement review
- Policy change approval
- Pilot metrics review before expansion
- Acceptance criteria
- Detection recall above agreed level on synthetic records
- No protected values in third-party tool logs during pilot
- Latency within agreed budget
- Risks
- Missed identifiers in local formats
- Vault residency conflicts
- Preview feature changes
- Over-broad re-identification access
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
Lambda interceptor on both gateway interception points; DynamoDB records of tokens minted per model call; Skyflow Detect fetches documents via presigned URLs from allowlisted locations; model calls must route through the gateway's inference endpoint to use shield-the-model.
Governance
Who approves, reviews and stays accountable for outcomes?
Per-tool policies decide which entities may reach which tools, giving a reviewable artifact; agencies should treat the policy as a controlled configuration with change approval.
Security and privacy
What data, permissions and controls need testing?
Fail-closed behavior and allowlists reduce leakage, but originals reside in a Skyflow vault outside the agency's account unless a dedicated deployment model is chosen; reversible tokens mean re-identification access must be tightly governed.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
Requires engineers comfortable with Lambda, CDK and gateway configuration; privacy staff must define entity lists.
Procurement
What should contracts, pricing and exit terms secure?
Requires a Skyflow subscription through AWS Marketplace plus AWS costs; contracts must address vault residency, sub-processing and BAA or FERPA terms.
Operating model
Which teams own the service once it runs?
Central platform team can apply one control across agent teams; privacy office co-owns the policy.
Publication history
- 2026-11-19AWS · Issue 216 resources
Stable resource ID: aws-skyflow-agentcore-gateway-interceptor-tool-call-deidentification-20261119