AWS Security Blog · November 17, 2026

AgentCore ingress: bind sessions to users and test gateway bypass

Why it matters

AWS compares two access architectures for Bedrock AgentCore Runtime. The API Gateway pattern validates a user JWT, binds the client session identifier to the authenticated subject, and forwards the token through a proxy in an isolated VPC. A runtime resource policy and endpoint security group restrict the accepted network path. The AgentCore Gateway pattern instead uses OAuth client-credentials authorization and a runtime workload allowlist; a request interceptor forwards verified user identity because the outbound machine token replaces the user's token. Both samples add per-user session limits, per-session invocation limits and authorization logging. This distinction matters: a valid token alone does not establish session ownership or prove that a request passed through the intended gateway. The linked CDK examples are explicitly non-production samples. Their session binding and bypass tests are useful starting points, but downstream authorization and failure behavior still require deployment-specific validation.

My takeaway: Test two users submitting the same session ID, a valid token sent directly to the runtime, forged identity headers, exhausted quotas and an unavailable interceptor. Verify denial and audit records before rollout; configure WAF separately where required and confirm every downstream resource enforces the invoking user's access.
Keep exploring

More curated notes connected through Agent Security and AI Engineering.

OWASP GenAI Security Project · guide

OWASP Top 10 for Agentic Applications for 2026

OWASP's community guide organizes agentic-system risk into ten categories, including goal hijacking, tool misuse, identity and privilege abuse, memory poisoning, insecure inter-agent communication, cascading failures, and rogue-agent behavior. It provides a shared taxonomy and mitigation starting point rather than a certification checklist or evidence that a deployed system is secure.

OWASP GenAI Security Project · tool

FinBot CTF Is Live: A Hands-On Companion to the OWASP GenAI Security Project

OWASP FinBot is a hands-on agentic-security CTF built around a simulated multi-agent financial-services platform with real tool access. Its challenges cover prompt injection, tool misuse, policy bypass, data exfiltration, privilege escalation, remote code execution, shared context, and compromised MCP servers.

OpenAI News · guide

Daybreak Red: isolate investigations and verify controls before the first run

OpenAI's Daybreak Red reference architecture puts a supervised security agent on a disposable, non-admin VM, separate from the analyst, non-production target and durable log store. The guide makes the surrounding environment part of the security boundary: keep reusable credentials and host-management interfaces out of reach, restrict network destinations outside the agent's control, and check browsers, connectors and MCP tools separately. Before an investigation, test that intended workspace writes and approved requests succeed while out-of-scope writes and requests fail. Confirm those checks appear in independent telemetry. Each run then needs an explicit target, permitted actions, test identity, time window and stopping condition. The analyst must be able to terminate the VM or block its target access independently. Ending a chat is not sufficient cleanup: the procedure checks background jobs and continuing target traffic, closes the session and revokes temporary credentials. This is a control architecture to validate in your environment, not evidence that a cyber model is safe by itself.