{"resourceId":"aws-skyflow-agentcore-gateway-interceptor-tool-call-deidentification-20261119","versions":[{"version":"external-82e5f4ee216dd83b0b0ab20c790e121f9751fefa8ad10fe73c18f863c66cc513","resource":{"id":"aws-skyflow-agentcore-gateway-interceptor-tool-call-deidentification-20261119","title":"Skyflow interceptor for AgentCore Gateway tokenizes personal data in agent tool calls and fails closed; document de-identification is still in preview","organization":"Amazon Web Services and Skyflow (AWS Marketplace partner)","sector":"Agentic AI data protection","geography":"AgentCore Gateway Regions (varies; check the AgentCore Regions table); Skyflow vault Region chosen by customer","publishedAt":"2026-11-19","publicationDate":"2026-11-19","eventDate":"2026-11-19","sourceName":"AWS Machine Learning Blog","sourceLabel":"Protect agent tool calls with Skyflow and Amazon Bedrock AgentCore Gateway","sourceUrl":"https://aws.amazon.com/blogs/machine-learning/protect-agent-tool-calls-with-skyflow-and-amazon-bedrock-agentcore-gateway/","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["data-security","developers-agents","infrastructure"],"finding":"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.","sledRelevance":"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":"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.","architectureImplications":"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.","governanceImplications":"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.","securityPrivacyImplications":"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.","caveats":"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.","streamIds":["aws","health-human-services"],"roles":{"sales":"Lead with case notes. HHS, court and student-service agents will call search engines and third-party tools, and personal data can leak through tool arguments and results. AWS and Skyflow now show a gateway interceptor that tokenizes that data and fails closed. Ask which tools sit outside the agency's account, which identifiers must never leave, and where a vault may legally reside. A bounded engagement is a privacy-control pilot on one agent workflow. Do not claim detection accuracy; the post reports none.","engineering":"Fit is AgentCore Gateway deployments where agents call external tools or read case documents. Deploy the MIT-licensed interceptor with CDK, attach it to request and response points, store policy in Parameter Store and keys in Secrets Manager, and route model calls through the gateway for model shielding. Constraints: document mode is preview, PDFs and images get one-way tokens, and gateway Regions vary. Proof of value: measure entity detection recall on synthetic agency records, verify fail-closed behavior on errors, and record added latency per call.","delivery":"Delivery pairs the platform team with the privacy office. Privacy defines protected entity types per tool; the platform team deploys and monitors the interceptor; legal settles vault residency and data-sharing terms. Proposed acceptance criteria: detection recall above an agreed level on synthetic case notes, zero protected values in third-party tool logs during the pilot, fail-closed confirmed under induced errors, and latency within an agreed budget. Risks include missed entities in local record formats, vault residency conflicts, preview-feature changes and over-broad re-identification access."},"roleDetails":{"sales":{"customerProblem":"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"],"discoveryQuestions":["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?"],"valueHypothesis":"A single gateway control could reduce identifier exposure across multiple agents without changing agent code, subject to measured detection quality.","potentialEngagement":"A privacy-control pilot on one agent workflow with synthetic records and a vault-residency review.","unsupportedClaims":["Complete de-identification","HIPAA or FERPA compliance","Negligible latency","Production readiness of document mode"]},"engineering":{"fit":"AgentCore Gateway deployments with external tools or document stores holding personal data.","architectureIntegration":"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.","proofOfValue":["Entity detection recall on synthetic agency records","Induced-failure test confirms calls are withheld","Per-call latency measured against a budget"]},"delivery":{"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.","skillsAdoption":"Engineers learn interceptor operations; privacy staff learn to maintain per-tool policies.","governanceCheckpoints":["Vault residency and agreement review","Policy change approval","Pilot metrics review before expansion"],"acceptanceCriteria":["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"]}},"retrievedAt":"2026-11-20T04:18:30Z","enrichedAt":"2026-11-20T04:26:25Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Requires engineers comfortable with Lambda, CDK and gateway configuration; privacy staff must define entity lists.","procurementImplications":"Requires a Skyflow subscription through AWS Marketplace plus AWS costs; contracts must address vault residency, sub-processing and BAA or FERPA terms.","operatingModelImplications":"Central platform team can apply one control across agent teams; privacy office co-owns the policy.","sourceVerification":{"openedUrl":"https://aws.amazon.com/blogs/machine-learning/protect-agent-tool-calls-with-skyflow-and-amazon-bedrock-agentcore-gateway/","referenceExcerpt":"If de-identification can’t complete, the call is withheld rather than sent in the clear.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}