ecs-security SKILL.md skillA
ecs-security from aws-samples/sample-apex-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add aws-samples/sample-apex-skills/ecs-security@git:20261108.ad08020Pins git:20261108.ad08020 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- aws-samples/sample-apex-skills
- Path
skills/ecs-security/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261108.ad08020, committed Nov 8, 2026
- First version recorded
- Jul 10, 2026
- Size
- 28,655 bytes
- Repository stars
- 95
- License
- MIT-0
Security and compliance guidance for Amazon ECS — "ECS was unable to assume the role", task role vs execution role, iam:PassRole, confused-deputy aws:SourceArn trust, Fargate vs EC2 shared responsibility, injecting Secrets Manager/SSM secrets (trailing-colon JSON-key gotcha), readonlyRootFilesystem / non-root / drop capabilities, ECS Exec governance, security-group-per-task, VPC endpoint policies, GuardDuty ECS Runtime Monitoring, ECR Inspector scanning, image signing, Fargate FIPS, or…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# ECS Security & Compliance End-to-end, opinionated security and compliance guidance for Amazon ECS, structured as a **7-layer stack** plus a **compliance-regime cross-cutting view**. This skill is **discovery-driven** — the right hardening stack is a function of *(launch type × compliance regime × workload sensitivity × audit timeline × team skill × network topology × operational-overhead tolerance)*. The single biggest ECS-specific variable is **launch type (Fargate vs EC2 vs Managed Instances vs ECS Anywhere)**, because it moves the shared-responsibility line and changes which controls are even available. Skipping discovery makes the recommendation wrong about half the time. The AWS-published foundation for every recommendation is the [ECS Best Practices: Security](https://docs.aws.amazon.com/AmazonECS/latest/bestpracticesguide/security.html) guide (task & container security, network security, IAM roles) and the [ECS security documentation set](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security.html) (IAM, shared-responsibility, Fargate FIPS, infrastructure security). For "which launch/deployment model should I use" (non-security) use `ecs-architect`; for… …
Read the whole file at its exact version.
How to install
mdr add aws-samples/sample-apex-skills/ecs-security@sha256:81ee5a27585d774cThe line at the top of this page pins the label git:20261108.ad08020, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_h5z7xzhbe7jrugyb)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 10, 2026 and Nov 8, 2026, about one every 30 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261108.ad08020 latest | 2026-11-08 | ad08020 | 28,655 B | A | view · diff |
| git:20260902.21ef66d | 2026-09-02 | 21ef66d | 28,671 B | A | view · diff |
| git:20260710.98b9c32 | 2026-07-10 | 98b9c32 | 28,424 B | A | view · diff |
| git:20260710.91391e1 | 2026-07-10 | 91391e1 | 28,416 B | A | view · diff |
| git:20260710.9879857 | 2026-07-10 | 9879857 | 26,548 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (28655 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
aws-samples/sample-apex-skills · 95 stars · license MIT-0 · pushed 2026-11-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h5z7xzhbe7jrugyb GET https://markdownregistry.com/api/v1/resolve?ref=aws-samples/sample-apex-skills/ecs-security GET https://markdownregistry.com/api/v1/blob/81ee5a27585d774c850bfa5ea935dcac13c2479d8fea7216bdd05be060cededa
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.