
The agent security stack AWS shipped before the first keynote, and what to switch on this week
In this article
- The Pattern Behind the Pre-re:Invent Launches
- Sandboxing Agent Code: Lambda MicroVMs and Nitro Sandboxes
- Scoping Agent Credentials With GetScopedCredentials
- Guarding MCP and A2A Endpoints With AWS WAF AI Security
- Two Quality-of-Life Launches: 30-Minute Lambda and AWS Emulator
- What to Do This Week
- How Signiance helps
AWS re:Invent 2026 opens in Las Vegas today, and the first keynote is still hours away. The Developer Keynote starts at 7:30 PM Pacific on Monday, which is 9:00 AM IST on Tuesday, December 1. But if you build agents on AWS, a lot of the AWS re:Invent 2026 announcements that matter most have already shipped. In the ten days before the event, AWS released a set of launches that, read together, look like a production stack for agent workloads: isolated execution, narrower credentials, protection at the edge, longer function timeouts and a local emulator for testing.
This Day 1 breakdown covers what changed, what is generally available versus preview, and what a small team should actually do with it this week. (Yesterday’s preview covered the AgentCore Runtime upgrade and the Web Search API, so we skip those here.)
The Pattern Behind the Pre-re:Invent Launches
Most agent incidents we see at startups trace back to one of three gaps:
- The agent runs code it should not trust, often code it wrote itself, on infrastructure shared with everything else.
- The agent holds credentials far broader than the task in front of it, usually the full role of the service that hosts it.
- The agent’s endpoints are exposed without anyone knowing, such as an MCP server someone stood up for a demo and never put behind a firewall rule.
The launches below map neatly onto those three gaps. That makes them easier to evaluate: you are not adopting five new services, you are closing three holes.
| Gap | Launch | Status (per AWS) | |—|—|—| | Untrusted code | Lambda durable functions orchestrating MicroVMs | Developer preview, Nov 25 | | Untrusted code | AWS Nitro Sandboxes for EKS, ECS and EC2 | Available, Nov 9 | | Broad credentials | AWS STS GetScopedCredentials | Available, Nov 19 | | Exposed endpoints | AWS WAF AI Security and API Gateway API Portal | Generally available, Nov 23 |
Sandboxing Agent Code: Lambda MicroVMs and Nitro Sandboxes
Lambda durable functions can now orchestrate Lambda MicroVMs. Durable functions already run multi-step workflows for up to one year with checkpointing and automatic retries. The new extension adds durable operations that start MicroVMs, run tasks inside them and manage their lifecycle. You can run one task per MicroVM or open a MicroVM session where tasks share files and memory, which suits a coding agent that edits, builds and tests in the same workspace.
The durable function does the bookkeeping: it checkpoints each task, retries failures, refreshes MicroVM tokens and can drive several MicroVMs in parallel. Workflows can start from Amazon SQS or Amazon EventBridge, and an optional worker library inside the MicroVM image receives tasks, sends heartbeats and reports results. SDK support covers TypeScript and Python.
A typical design for an AI code reviewer or security scanner looks like this:
SQS (job queue)
-> Durable function (orchestrator, checkpoints every step)
-> MicroVM session: clone repo, run agent-written patch
-> MicroVM task: run tests in a clean VM
-> MicroVM task: run scanner, collect report
-> EventBridge (result event to your app)
The catch: AWS labels this a developer preview and says not to use it for production workloads. Prototype on it now, but do not move a customer-facing path onto it until it reaches general availability.
Nitro Sandboxes are the option you can use today. Each EKS pod, ECS task or lightweight VM gets its own hardware-isolated VM managed by the Nitro Hypervisor, even when it shares an EC2 instance with other workloads. AWS describes enabling it for EKS or ECS as a one-line change, and Pod Identity, VPC CNI, EBS, EFS, S3 and CloudWatch keep working. Cryptographic attestation lets you release secrets only to sandboxes that prove their integrity. There is no additional charge on supported Nitro-based instances, and it is available in all commercial Regions.
If you already run agents on containers, Nitro Sandboxes is the lowest-effort upgrade on this list: start with the pods that execute generated code or process untrusted customer files.
Scoping Agent Credentials With GetScopedCredentials
The new AWS STS API GetScopedCredentials takes temporary credentials you already hold and returns narrower ones. Identity is preserved, so CloudTrail still shows which session acted, but permissions and session length can only shrink. This is the missing piece for orchestrator agents that hand work to sub-agents: the orchestrator keeps its role, and each sub-agent gets a slice of it.
The details worth knowing from the API reference:
- You must pass
Policy,DurationSecondsor both. The policy is up to 2,048 characters, andDurationSecondsranges from 1 to 129,600. - It cannot extend a session. Asking for more time than the calling session has left returns
InsufficientSessionLifetime. - Only temporary credentials can call it, not IAM user or root keys, and it is not available on the STS global endpoint, so use a Regional endpoint.
- Scoping can be nested, up to 3 scope-down policy layers per session.
- An optional
ScopedSessionDescriptionis written to CloudTrail, which is ideal for recording the task or ticket ID.
A minimal pattern for a sub-agent that only needs to read one S3 prefix:
import json, boto3
sts = boto3.client("sts", region_name="ap-south-1") # Regional endpoint
policy = {
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": ["s3:GetObject"],
"Resource": "arn:aws:s3:::customer-docs/tenant-42/*"
}]
}
scoped = sts.get_scoped_credentials(
Policy=json.dumps(policy),
DurationSeconds=900,
ScopedSessionDescription="summarise-ticket-8812"
)
# Pass scoped["Credentials"] to the sub-agent's tool client only
Confirm your SDK version includes the new operation before you ship this. Then pair it with the per-tenant thinking from our [zero trust for AI workloads](/zero-trust-for-ai-workloads-aws-agents) guide.
Guarding MCP and A2A Endpoints With AWS WAF AI Security
The third gap is visibility. The new API Gateway API Portal discovers APIs from traffic logs and service configuration, then flags LLM, MCP and A2A endpoints behind API Gateway, Application Load Balancers and CloudFront across your AWS Organization. An undocumented public MCP server shows up as a shadow API.
Protection comes from the new AWS WAF AI Security managed rule group. It recognises MCP and A2A traffic and blocks malformed messages. With content inspection turned on, it calls Amazon Bedrock Guardrails to detect prompt injection, jailbreak attempts, harmful requests and sensitive information in responses. It runs alongside your existing AWS Managed Rules.
Two practical notes. First, AWS says additional fees apply, and Bedrock charges separately for content inspection calls, so model the cost on real traffic before you enable inspection everywhere. Second, check Regions. AI Security launched in US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (London), Europe (Stockholm), Asia Pacific (Tokyo) and Asia Pacific (Sydney). Teams serving from Mumbai will need to front endpoints with CloudFront or wait for expansion.
A safe rollout: run discovery first, review the shadow APIs it finds, then enable the AI Security rule group in count mode on one endpoint and inspect what it would have blocked before switching to block.
Two Quality-of-Life Launches: 30-Minute Lambda and AWS Emulator
Lambda on-demand Event Functions now support timeouts of up to 30 minutes (1,800 seconds), double the old limit, for synchronous, asynchronous and event source mapping invocations, at standard Lambda pricing. AWS calls out agentic requests that chain model and tool calls as a use case. Before you raise the number, read the caveats in the AWS Compute blog: callers have their own timeouts, client read timeouts must be longer than the function’s, and a NAT gateway drops idle connections after 350 seconds, so long model calls need keep-alives. For work that runs longer, durable functions remain the better fit.
AWS Emulator is generally available. It is a free, open-source local emulator written in Rust. You point the AWS CLI or SDKs at it with AWS_ENDPOINT_URL=https://127.0.0.1:9297 and the generated credentials, and your application code stays unchanged. Unimplemented operations return HTTP 501. The important limitation: it does not evaluate IAM or resource policies the way AWS does, and AWS says not to use it to test whether an application is secure. Use it for fast agent tool tests in CI, then test permissions against a real sandbox account.
What to Do This Week
Before the keynotes pile on more news, a short plan for a team of five to twenty engineers:
- Map your agents to the three gaps. For each agent, write down where its code runs, what role it holds and which endpoints it exposes.
- Turn on Nitro Sandboxes for any pod or task that runs generated code. It is available now at no extra charge.
- Replace shared roles with scoped credentials for sub-agents, starting with the one that touches customer data.
- Run API Portal discovery across your Organization and fix any MCP endpoint you did not know about.
- Prototype, do not ship, on the MicroVM orchestration preview.
Then watch tonight’s Developer Keynote and the CEO Keynote at 10:00 PM IST on December 1, and add anything new to the same three-gap map.
How Signiance helps
Our Generative AI on AWS and Security and Compliance teams help startups turn launch weeks like this one into working architecture: we review where your agents run, scope their credentials, put their endpoints behind the right controls and decide which previews are worth a pilot. You leave with a short, dated plan grounded in your stack and your Regions.
Book a free consultation or a free AI Native readiness assessment at signiance.com.
