ECR

Attacking Elastic Container Registry: pulling from public or policy-exposed repositories and poisoning images that downstream compute will run.

1 മിനിറ്റ് വായന2026 ഒക്ടോ 7-ന് അപ്ഡേറ്റ് ചെയ്തുflorianamette1 സംഭാവകൻ
നിങ്ങളുടെ അസിസ്റ്റന്റിനോട് ചോദിക്കുക (MCP)GitHub-ൽ എഡിറ്റ് ചെയ്യുക

Elastic Container Registry stores the images that ECS, EKS, Lambda, and App Runner pull and run. That makes it a two-way target: images are a source of secrets (credentials and internal detail baked into layers), and a writable repository is a supply-chain foothold, because a poisoned tag runs on the next deploy under whatever role the workload holds.

What folds in here#

  • Public repository: pulling from public or loosely-scoped repositories to mine secrets.
  • Repository policy: cross-account pull and push through a permissive repository policy.
  • Image poisoning: pushing a backdoored tag that downstream compute will run.

Authenticating to ECR#

bash
aws ecr get-login-password | docker login --username AWS --password-stdin \
  <acct>.dkr.ecr.<region>.amazonaws.com
aws ecr describe-repositories ; aws ecr list-images --repository-name <r>

References#