← ClaudeAtlas

auditing-ecs-task-metadata-boundarieslisted

Audit container task credential and metadata boundaries in orchestrated compute such as ECS: a workload that can reach the container credential endpoint or the host instance metadata service to obtain a role broader than the task needs, a task role over-scoped for the workload, a sidecar or co-located container sharing the same credentials, and a server-side request path inside the task that reaches the metadata endpoint. Covers the task credential relative URI, the instance metadata service reachable from a task, and the blast radius when one container in a task is compromised. Use when containerized workloads assume a task or instance role and the metadata endpoints are the boundary. The reachable metadata endpoint is the source, the credential it returns is the sink, and the role wider than the task's need is the bug.
UnboundCompute/security-agent-skills · ★ 4 · AI & Automation · score 80
Install: claude install-skill UnboundCompute/security-agent-skills
# Auditing ECS task metadata boundaries: when a container reaches a credential it should not Containerized compute hands each task a role by serving credentials from a metadata endpoint the container can call. That design puts a powerful boundary inside the task: whatever the workload can reach at the credential endpoint, it can use. Two endpoints matter. The task credential endpoint returns the task role, which is fine if that role is scoped to exactly what the workload does. The host instance metadata service, if reachable from the task, returns the node's instance role, which is usually far broader and was never meant for the workload. A server-side request flaw inside the task, or a compromised sidecar, turns either endpoint into a credential-theft primitive. You audit these by checking which endpoints the workload can reach and how tightly the returned role is scoped. ## When to use - Containerized workloads assume a task or instance role served from a metadata endpoint. - A task can reach the host instance metadata service, not only its own task credential endpoint. - A task runs multiple containers or sidecars that share task credentials, or has a server-side request path. ## Scope check Test metadata and credential boundaries only against clusters and accounts you own or are authorized to assess, on non-production infrastructure. A confirming request retrieves live credentials, so stay inside the authorized account and treat any retrieved credential as sensitive