{"resourceId":"aws-agentcore-runtime-ingress-patterns-identity-propagation-20261117","versions":[{"version":"external-f5ac4f9638b6fc63ba3722f1233b9cd8fc2ab429d0f7915962d58b55173a3c95","resource":{"id":"aws-agentcore-runtime-ingress-patterns-identity-propagation-20261117","title":"AWS security guidance: AgentCore Runtime isolation does not protect the ingress path, and resident- or user-facing agents need a separate access layer with per-user session binding","organization":"Amazon Web Services (AWS Security Blog; Amazon Bedrock AgentCore Runtime, Identity and Gateway)","sector":"AI agent platform: ingress security, identity propagation and abuse controls for user-facing agents","geography":"Not Region-specific; the post does not discuss GovCloud. The official AgentCore Region table lists Gateway and Identity in GovCloud (US-West).","publishedAt":"2026-11-17","publicationDate":"2026-11-17","eventDate":"2026-11-17","sourceName":"AWS Security Blog","sourceLabel":"Securely exposing Amazon Bedrock AgentCore Runtime","sourceUrl":"https://aws.amazon.com/blogs/security/securely-exposing-amazon-bedrock-agentcore-runtime/","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["developers-agents","data-security","governance-procurement"],"finding":"An AWS Security Blog post dated November 17 says that although AgentCore Runtime runs each session in its own microVM, securing the runtime alone does not protect the ingress path; under the shared responsibility model, customers exposing agents through web or mobile apps must provide a dedicated access layer. It argues for per-hop least privilege and short-lived, user-scoped tokens instead of a single static credential, noting that long-running agents outlive interactive OAuth sessions. Pattern A uses API Gateway with a Lambda authorizer, a second AgentCore Identity validation, a composite session ID that appends the user identifier to the client-supplied ID so two users cannot share a session, a DynamoDB per-user counter for throttling after authentication, WAF managed rule sets and Bedrock Guardrails on prompts and tool arguments. Pattern B uses AgentCore Gateway with a managed JWT authorizer, a Lambda request interceptor for identity extraction and session binding, native rate limiting, WAF and a CloudWatch audit trail with an INVALID_JWT alarm. AWS recommends Pattern B for long-running or streaming workloads because Pattern A inherits the API Gateway integration timeout.","sledRelevance":"Resident-facing agents on city, county and state portals, and student-facing agents at universities and districts, are exactly the web and mobile exposure this post addresses. Its main point for public institutions is that platform isolation is not a front-door control: session hijacking across users, unauthenticated volumetric abuse and static credentials are customer responsibilities. Interpretation: public-sector security reviews of AgentCore projects should require one of these ingress patterns, or an equivalent, before public launch.","evidence":"AWS Security Blog post dated 17 NOV 2026 by four AWS solutions architects, with deployable CDK samples on GitHub (not opened) and a comparison table of the two patterns. It references 'recent real-world incidents' without citing them. No customer deployment or test results are given. It was published on November 17, was not filed in the previous edition, and is not in the archive.","architectureImplications":"Choose API Gateway plus Lambda authorizer where an established API Gateway and WAF estate exists and sessions are short; choose AgentCore Gateway with an interceptor for long-running or streaming tool calls and unattended execution. Both bind sessions to verified user identity and propagate a user-scoped token to downstream tools.","governanceImplications":"Audit trails in CloudWatch, authentication-failure alarms and Guardrails logging give evidence for oversight, but the post leaves retention and review of those logs to the customer.","securityPrivacyImplications":"Key controls: double token validation, composite session IDs to prevent cross-user session reuse, post-authentication per-user throttling, WAF managed rules for OWASP, SQL injection and known bad inputs, and Guardrails on prompts and tool arguments. The unattended-execution design keeps a short-lived encrypted session context rather than a long-lived user credential.","caveats":"Vendor guidance without measured results or customer evidence; the cited incidents are not identified. The post does not address GovCloud specifically.","streamIds":["aws"],"roles":{"sales":"The message for public portals is that isolation inside AgentCore is not a front door. Any city, state, university or district agent exposed to residents or students needs its own access layer, and AWS now documents two. Ask how the portal authenticates users, whether sessions run long, and who owns WAF and rate limits. A bounded engagement is an ingress security review for one public-facing agent before launch. Do not claim AgentCore is secure by default for public exposure; AWS's own post assigns ingress to the customer.","engineering":"Pick Pattern A when an API Gateway and WAF estate exists and sessions are short; pick Pattern B when tool calls stream or run long, since Pattern A inherits the API Gateway timeout. In both, validate tokens twice, bind sessions to user identity with composite IDs, throttle per user after authentication, and apply Guardrails to prompts and tool arguments. Proof of value: attempt cross-user session reuse, run unauthenticated and authenticated flood tests, and verify downstream tools receive only user-scoped tokens.","delivery":"Delivery means making ingress a named workstream. The portal team implements authentication and session binding, security operations own WAF rules, rate limits and alarms, and the agent team handles Guardrails and token propagation. Acceptance should be measurable: zero cross-user session reuse in testing, per-user throttling triggers as designed, and authentication-failure alarms reach the on-call team. Risks include static credentials in agents, timeouts breaking long sessions, untuned rate limits, and audit logs with no retention or review plan."},"roleDetails":{"sales":{"customerProblem":"Public institutions want to put agents on resident or student portals but may assume platform isolation covers front-door security.","stakeholders":["Portal or digital services lead","CISO or security operations","Agent platform owner","Identity team"],"discoveryQuestions":["How do portal users authenticate today?","Will agent sessions run longer than a few minutes or stream tool calls?","Who owns WAF rules and rate limits?","Do agents call downstream systems on behalf of users?"],"valueHypothesis":"Using a documented ingress pattern could shorten security review and reduce abuse risk for public-facing agents.","potentialEngagement":"An ingress security review and abuse test plan for one public-facing agent before launch.","unsupportedClaims":["Secure-by-default public exposure","Measured abuse reduction","GovCloud-specific guidance","Cost figures for either pattern"]},"engineering":{"fit":"AgentCore Runtime agents exposed to end users through web or mobile applications.","architectureIntegration":"Pattern A: API Gateway, Lambda authorizer, VPC endpoints, DynamoDB counter, WAF, Guardrails. Pattern B: AgentCore Gateway with CUSTOM_JWT authorizer, Lambda request interceptor, native rate limiting, WAF and CloudWatch audit trail.","prerequisites":["OIDC identity provider for end users","WAF managed rule sets","Guardrails policy","Decision on session length"],"constraints":["Pattern A inherits the API Gateway integration timeout","Static credentials undermine least privilege","Interactive OAuth tokens expire before long tasks end","No GovCloud discussion"],"security":"Double token validation, composite session IDs, post-authentication per-user throttling, OWASP and SQL-injection WAF rules, Guardrails on prompts and tool arguments.","proofOfValue":["Cross-user session reuse attempt fails","Unauthenticated and authenticated flood tests hit WAF and per-user limits","Downstream calls carry only user-scoped tokens"]},"delivery":{"work":"Implement the chosen ingress pattern, session binding, throttling, WAF and Guardrails, and connect alarms to security operations.","dependencies":["Portal authentication design","Security operations on-call","Identity provider configuration","Log retention policy"],"ownership":"Portal or digital services team with security operations; agent team for Guardrails and token propagation.","skillsAdoption":"Portal developers learn agent session and token flows; security operations learn agent-specific alarms.","governanceCheckpoints":["Ingress review before public launch","Abuse test results approved by security","Log retention and review plan approved"],"acceptanceCriteria":["Zero cross-user session reuse in penetration testing","Per-user throttling triggers at the designed threshold","INVALID_JWT or equivalent alarms delivered to on-call within agreed time"],"risks":["Static credentials in agents","Timeouts on long sessions","Untuned rate limits blocking residents","Unreviewed audit logs"]}},"retrievedAt":"2026-11-19T04:25:26Z","enrichedAt":"2026-11-19T04:33:41Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"No accessibility evidence; front-end teams for public portals need to implement the session and token flows.","procurementImplications":"Pattern A adds API Gateway, Lambda, DynamoDB and WAF costs; Pattern B consolidates controls in AgentCore Gateway. Costs are not quantified in the post.","operatingModelImplications":"Ingress ownership sits with the web or portal team and security operations, not only the agent developers; rate limits and WAF rules need ongoing tuning.","sourceVerification":{"openedUrl":"https://aws.amazon.com/blogs/security/securely-exposing-amazon-bedrock-agentcore-runtime/","referenceExcerpt":"But securing the runtime alone doesn’t protect the ingress path perimeter.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}