MITRE ATLAS 2026.10 · AML.T0008.004 · Moderate severity
Acquire Infrastructure: Serverless
Threat actors deploy serverless functions (such as cloud FaaS or edge workers) as low-cost, disposable infrastructure to serve dynamic indirect prompt payloads, host remote MCP endpoints, or distribute API scraping requests. Ephemeral serverless endpoints spin up and tear down quickly, complicating IP blocking and takedown efforts.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Moderate
- Attack surface
- Inference API & Hosting · Tool-Using Agents & MCP
- Framework maturity
- Feasible
- Platforms
- Enterprise
- Tactics
- Resource Development
- Catalog entry modified
How the mechanism works
- Operators deploy lightweight HTTP handlers on major serverless clouds to generate context-aware instructions or inspect incoming agent user-agents.
- When a victim's browsing agent or RAG crawler fetches the URL, the function dynamically adapts its response based on client headers or payload state.
- Distributed serverless invocations can also scatter API extraction or vulnerability-probing requests across broad cloud IP pools.
Detection & telemetry signals
- Agent egress logs showing callbacks to generic multi-tenant serverless subdomains serving dynamically varying responses for identical URLs.
- API gateway telemetry observing synchronized inference bursts arriving from shared cloud-function egress ranges with matching payload schemas.
- Content-hash drift between initial URL link-preview checks and subsequent agent tool retrieval fetches.
Architectural defensive countermeasures
- Enforce egress allowlists on agent web-browsing and MCP tool calls rather than allowing arbitrary invocation of public serverless hostnames.
- Isolate fetched web content inside strict untrusted-data framing and disallow dynamic secondary fetches triggered by retrieved text.
- Apply behavioral anomaly detection and authenticated per-tenant quotas independent of source IP reputation.
- Require manual review and pinning of any external webhook or remote tool endpoint integrated into enterprise agent workflows.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Ephemeral serverless endpoints serve dynamic indirect prompt-injection payloads (LLM01), host untrusted remote agent tools (LLM06), and distribute automated API probing (LLM10).
- NIST AI RMF functions
- NIST AI RMF guidance
- Follow NIST AI RMF GOVERN and MANAGE by pinning approved external tool/webhook integrations and restricting untrusted dynamic URL retrieval.
Mapped defensive controls
- Restrict AI Agent Tool Invocation on Untrusted Data AML.M0030
Taint-track untrusted data sources (web pages, emails, RAG chunks, tickets) and block them from directly authorizing or parameterizing consequential tool calls.
- Segmentation of AI Agent Components AML.M0032
Isolate agent planners, tool executors, code sandboxes, vector databases, and untrusted web browsers in separate trust zones with minimal shared credentials and zero lateral egress.
- AI Agent External Resource Lifecycle Management AML.M0043
Govern the complete lifecycle—vetting, version pinning, token rotation, retention limits, and revocation—of every external MCP server, SaaS integration, and agent sandbox resource.
Related technique records
Documented incidents & exercises (1)
- Serverless AI Security Attack Surface Assessment Across AWS, Azure & GCP OBS.EX0207 · Exercise · Jan 15, 2026 · AWS Lambda, Azure Functions & GCP Cloud Functions · FaaS ML Security Evaluation
Pathade et al. (2026) conducted a multi-cloud empirical security assessment of Function-as-a-Service machine learning deployments across AWS Lambda, Azure Functions, and Google Cloud Functions, characterizing five attack classes: cold-start and dependency poisoning, API…
Source citation records
- MITRE ATLAS: Serverless · MITRE ·
Common questions
- What is Acquire Infrastructure: Serverless (AML.T0008.004)?
- Threat actors deploy serverless functions (such as cloud FaaS or edge workers) as low-cost, disposable infrastructure to serve dynamic indirect prompt payloads, host remote MCP endpoints, or distribute API scraping requests. Ephemeral serverless endpoints spin up and tear down quickly, complicating IP blocking and takedown efforts.
- How do you mitigate Acquire Infrastructure: Serverless?
- MITRE ATLAS maps 3 mitigations to AML.T0008.004: Restrict AI Agent Tool Invocation on Untrusted Data, Segmentation of AI Agent Components, and AI Agent External Resource Lifecycle Management. Enforce egress allowlists on agent web-browsing and MCP tool calls rather than allowing arbitrary invocation of public serverless hostnames.