[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GZ3ZN5MX2WFJ6BAQ1ZDPH7":3,"skill-same:01M6GZ3ZN5MX2WFJ6BAQ1ZDPH7":107},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6GZ3ZN5MX2WFJ6BAQ1ZDPH7","performing-container-image-hardening",null,"This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"container","performing","image","performing container image hardening","hardening","packages","benchmark","produce","secure","cybersecurity","devsecops","ready","images","stage","recommendations","users","multi","production-ready","implementing","docker","2026-11-10 10:12:30",false,"---\nname: performing-container-image-hardening\ndescription: >\n  This skill covers hardening container images by minimizing attack surface, removing\n  unnecessary packages, implementing multi-stage builds, configuring non-root users,\n  and applying CIS Docker Benchmark recommendations to produce secure production-ready images.\ndomain: cybersecurity\nsubdomain: devsecops\ntags: [devsecops, cicd, container-hardening, docker, cis-benchmark, secure-sdlc]\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Performing Container Image Hardening\n\n## When to Use\n\n- When building production container images that need minimal attack surface\n- When compliance requires CIS Docker Benchmark adherence for container configurations\n- When reducing image size to minimize vulnerability exposure from unused packages\n- When implementing defense-in-depth for containerized workloads\n- When migrating from fat base images to distroless or minimal images\n\n**Do not use** for runtime container security monitoring (use Falco), for host-level Docker daemon hardening (use CIS Docker Benchmark host checks), or for container orchestration security (use Kubernetes security scanning).\n\n## Prerequisites\n\n- Docker or BuildKit for multi-stage builds\n- Base image options: distroless, Alpine, slim, or scratch\n- Container scanning tool (Trivy) for validation\n- CIS Docker Benchmark reference\n\n## Workflow\n\n### Step 1: Use Multi-Stage Builds to Minimize Image Size\n\n```dockerfile\n# Build stage with all dependencies\nFROM python:3.12-bookworm AS builder\nWORKDIR \u002Fbuild\nCOPY requirements.txt .\nRUN pip install --no-cache-dir --prefix=\u002Finstall -r requirements.txt\nCOPY src\u002F .\u002Fsrc\u002F\nRUN python -m compileall src\u002F\n\n# Production stage with minimal base\nFROM python:3.12-slim-bookworm AS production\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends libpq5 && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* && \\\n    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false\n\nCOPY --from=builder \u002Finstall \u002Fusr\u002Flocal\nCOPY --from=builder \u002Fbuild\u002Fsrc \u002Fapp\u002Fsrc\n\nRUN groupadd -r appuser && useradd -r -g appuser -d \u002Fapp -s \u002Fsbin\u002Fnologin appuser\nRUN chown -R appuser:appuser \u002Fapp\n\nUSER appuser\nWORKDIR \u002Fapp\n\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\n  CMD python -c \"import urllib.request; urllib.request.urlopen('http:\u002F\u002Flocalhost:8080\u002Fhealth')\" || exit 1\n\nEXPOSE 8080\nENTRYPOINT [\"python\", \"-m\", \"src.main\"]\n```\n\n### Step 2: Use Distroless Base Images\n\n```dockerfile\n# Go application with distroless\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY go.* .\u002F\nRUN go mod download\nCOPY . .\nRUN CGO_ENABLED=0 GOOS=linux go build -ldflags=\"-w -s\" -o \u002Fserver .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic-debian12:nonroot\nCOPY --from=builder \u002Fserver \u002Fserver\nUSER nonroot:nonroot\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n### Step 3: Remove Unnecessary Components\n\n```dockerfile\n# Hardened image checklist\nFROM ubuntu:24.04 AS base\n\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends \\\n      ca-certificates \\\n      libssl3 && \\\n    # Remove package manager to prevent runtime package installation\n    apt-get purge -y --auto-remove apt dpkg && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* \\\n           \u002Fvar\u002Fcache\u002Fapt\u002F* \\\n           \u002Ftmp\u002F* \\\n           \u002Fvar\u002Ftmp\u002F* \\\n           \u002Fusr\u002Fshare\u002Fdoc\u002F* \\\n           \u002Fusr\u002Fshare\u002Fman\u002F* \\\n           \u002Fusr\u002Fshare\u002Finfo\u002F* \\\n           \u002Froot\u002F.cache\n\n# Remove shells if not needed\nRUN rm -f \u002Fbin\u002Fsh \u002Fbin\u002Fbash \u002Fusr\u002Fbin\u002Fsh 2>\u002Fdev\u002Fnull || true\n\n# Remove setuid\u002Fsetgid binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} + 2>\u002Fdev\u002Fnull || true\n```\n\n### Step 4: Configure Read-Only Filesystem\n\n```yaml\n# Kubernetes deployment with read-only root filesystem\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: hardened-app\nspec:\n  template:\n    spec:\n      securityContext:\n        runAsNonRoot: true\n        runAsUser: 65534\n        fsGroup: 65534\n        seccompProfile:\n          type: RuntimeDefault\n      containers:\n        - name: app\n          image: app:hardened\n          securityContext:\n            allowPrivilegeEscalation: false\n            readOnlyRootFilesystem: true\n            capabilities:\n              drop: [\"ALL\"]\n          volumeMounts:\n            - name: tmp\n              mountPath: \u002Ftmp\n            - name: cache\n              mountPath: \u002Fapp\u002Fcache\n      volumes:\n        - name: tmp\n          emptyDir:\n            sizeLimit: 100Mi\n        - name: cache\n          emptyDir:\n            sizeLimit: 50Mi\n```\n\n### Step 5: Pin Base Image by Digest\n\n```dockerfile\n# Pin to exact image digest for reproducibility\nFROM python:3.12-slim-bookworm@sha256:abcdef1234567890 AS production\n# This ensures the exact same base image is used every time\n```\n\n### Step 6: Validate Hardening with Automated Scanning\n\n```bash\n# Scan hardened image with Trivy\ntrivy image --severity HIGH,CRITICAL hardened-app:latest\n\n# Check CIS Docker Benchmark compliance\ndocker run --rm -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  aquasec\u002Fdocker-bench-security\n\n# Verify no root processes\ndocker run --rm hardened-app:latest whoami\n# Expected: appuser (NOT root)\n\n# Verify read-only filesystem\ndocker run --rm hardened-app:latest touch \u002Ftest 2>&1\n# Expected: Read-only file system error\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Multi-Stage Build | Docker build technique using multiple FROM stages to separate build and runtime, reducing final image size |\n| Distroless | Google-maintained minimal container images containing only the application and runtime dependencies |\n| Non-Root User | Running container processes as unprivileged user to limit impact of container escape exploits |\n| Read-Only Root | Mounting the container root filesystem as read-only to prevent runtime modification |\n| Image Digest | SHA256 hash uniquely identifying an exact image version, more precise than mutable tags |\n| Scratch Image | Empty Docker base image used for statically compiled binaries requiring no OS |\n| Security Context | Kubernetes pod\u002Fcontainer-level security settings controlling privileges, filesystem, and capabilities |\n\n## Tools & Systems\n\n- **Docker BuildKit**: Advanced Docker build engine supporting multi-stage builds and build secrets\n- **Distroless Images**: Google's minimal container base images (static, base, java, python, nodejs)\n- **docker-bench-security**: Script checking CIS Docker Benchmark compliance\n- **Trivy**: Container image vulnerability and misconfiguration scanner\n- **Hadolint**: Dockerfile linter enforcing best practices\n\n## Common Scenarios\n\n### Scenario: Reducing a 1.2GB Python Image to Under 150MB\n\n**Context**: A data science team uses `python:3.12` as base image (1.2GB) with scientific computing packages. The image has 200+ known CVEs from unnecessary system packages.\n\n**Approach**:\n1. Switch to `python:3.12-slim-bookworm` as base (150MB) and install only required system libraries\n2. Use multi-stage build: compile C extensions in builder stage, copy wheels to production\n3. Pin numpy, pandas, and scipy to pre-built wheels to avoid build dependencies in production\n4. Remove pip, setuptools, and wheel from the final image\n5. Create non-root user and set filesystem permissions\n6. Validate with Trivy: expect CVE count to drop from 200+ to under 20\n\n**Pitfalls**: Some Python packages require shared libraries at runtime (libgomp, libstdc++). Test the application thoroughly after removing system packages. Alpine-based images use musl libc which can cause compatibility issues with numpy and pandas.\n\n## Output Format\n\n```\nContainer Image Hardening Report\n==================================\nImage: app:hardened\nBase: python:3.12-slim-bookworm\nDate: 2026-02-23\n\nSIZE COMPARISON:\n  Before hardening: 1,247 MB (python:3.12)\n  After hardening:  143 MB  (python:3.12-slim + multi-stage)\n  Reduction: 88.5%\n\nSECURITY CHECKS:\n  [PASS] Non-root user configured (appuser:1000)\n  [PASS] HEALTHCHECK instruction present\n  [PASS] No setuid\u002Fsetgid binaries found\n  [PASS] Package manager removed\n  [PASS] Base image pinned by digest\n  [PASS] No shell access (\u002Fbin\u002Fsh removed)\n  [WARN] \u002Ftmp writable (emptyDir mounted)\n\nVULNERABILITY COMPARISON:\n  Before: 234 CVEs (12 Critical, 45 High)\n  After:  18 CVEs (0 Critical, 3 High)\n  Reduction: 92.3%\n```\n","# Performing Container Image Hardening\n\n## When to Use\n\n- When building production container images that need minimal attack surface\n- When compliance requires CIS Docker Benchmark adherence for container configurations\n- When reducing image size to minimize vulnerability exposure from unused packages\n- When implementing defense-in-depth for containerized workloads\n- When migrating from fat base images to distroless or minimal images\n\n**Do not use** for runtime container security monitoring (use Falco), for host-level Docker daemon hardening (use CIS Docker Benchmark host checks), or for container orchestration security (use Kubernetes security scanning).\n\n## Prerequisites\n\n- Docker or BuildKit for multi-stage builds\n- Base image options: distroless, Alpine, slim, or scratch\n- Container scanning tool (Trivy) for validation\n- CIS Docker Benchmark reference\n\n## Workflow\n\n### Step 1: Use Multi-Stage Builds to Minimize Image Size\n\n```dockerfile\n# Build stage with all dependencies\nFROM python:3.12-bookworm AS builder\nWORKDIR \u002Fbuild\nCOPY requirements.txt .\nRUN pip install --no-cache-dir --prefix=\u002Finstall -r requirements.txt\nCOPY src\u002F .\u002Fsrc\u002F\nRUN python -m compileall src\u002F\n\n# Production stage with minimal base\nFROM python:3.12-slim-bookworm AS production\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends libpq5 && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* && \\\n    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false\n\nCOPY --from=builder \u002Finstall \u002Fusr\u002Flocal\nCOPY --from=builder \u002Fbuild\u002Fsrc \u002Fapp\u002Fsrc\n\nRUN groupadd -r appuser && useradd -r -g appuser -d \u002Fapp -s \u002Fsbin\u002Fnologin appuser\nRUN chown -R appuser:appuser \u002Fapp\n\nUSER appuser\nWORKDIR \u002Fapp\n\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\n  CMD python -c \"import urllib.request; urllib.request.urlopen('http:\u002F\u002Flocalhost:8080\u002Fhealth')\" || exit 1\n\nEXPOSE 8080\nENTRYPOINT [\"python\", \"-m\", \"src.main\"]\n```\n\n### Step 2: Use Distroless Base Images\n\n```dockerfile\n# Go application with distroless\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY go.* .\u002F\nRUN go mod download\nCOPY . .\nRUN CGO_ENABLED=0 GOOS=linux go build -ldflags=\"-w -s\" -o \u002Fserver .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic-debian12:nonroot\nCOPY --from=builder \u002Fserver \u002Fserver\nUSER nonroot:nonroot\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n### Step 3: Remove Unnecessary Components\n\n```dockerfile\n# Hardened image checklist\nFROM ubuntu:24.04 AS base\n\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends \\\n      ca-certificates \\\n      libssl3 && \\\n    # Remove package manager to prevent runtime package installation\n    apt-get purge -y --auto-remove apt dpkg && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* \\\n           \u002Fvar\u002Fcache\u002Fapt\u002F* \\\n           \u002Ftmp\u002F* \\\n           \u002Fvar\u002Ftmp\u002F* \\\n           \u002Fusr\u002Fshare\u002Fdoc\u002F* \\\n           \u002Fusr\u002Fshare\u002Fman\u002F* \\\n           \u002Fusr\u002Fshare\u002Finfo\u002F* \\\n           \u002Froot\u002F.cache\n\n# Remove shells if not needed\nRUN rm -f \u002Fbin\u002Fsh \u002Fbin\u002Fbash \u002Fusr\u002Fbin\u002Fsh 2>\u002Fdev\u002Fnull || true\n\n# Remove setuid\u002Fsetgid binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} + 2>\u002Fdev\u002Fnull || true\n```\n\n### Step 4: Configure Read-Only Filesystem\n\n```yaml\n# Kubernetes deployment with read-only root filesystem\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: hardened-app\nspec:\n  template:\n    spec:\n      securityContext:\n        runAsNonRoot: true\n        runAsUser: 65534\n        fsGroup: 65534\n        seccompProfile:\n          type: RuntimeDefault\n      containers:\n        - name: app\n          image: app:hardened\n          securityContext:\n            allowPrivilegeEscalation: false\n            readOnlyRootFilesystem: true\n            capabilities:\n              drop: [\"ALL\"]\n          volumeMounts:\n            - name: tmp\n              mountPath: \u002Ftmp\n            - name: cache\n              mountPath: \u002Fapp\u002Fcache\n      volumes:\n        - name: tmp\n          emptyDir:\n            sizeLimit: 100Mi\n        - name: cache\n          emptyDir:\n            sizeLimit: 50Mi\n```\n\n### Step 5: Pin Base Image by Digest\n\n```dockerfile\n# Pin to exact image digest for reproducibility\nFROM python:3.12-slim-bookworm@sha256:abcdef1234567890 AS production\n# This ensures the exact same base image is used every time\n```\n\n### Step 6: Validate Hardening with Automated Scanning\n\n```bash\n# Scan hardened image with Trivy\ntrivy image --severity HIGH,CRITICAL hardened-app:latest\n\n# Check CIS Docker Benchmark compliance\ndocker run --rm -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  aquasec\u002Fdocker-bench-security\n\n# Verify no root processes\ndocker run --rm hardened-app:latest whoami\n# Expected: appuser (NOT root)\n\n# Verify read-only filesystem\ndocker run --rm hardened-app:latest touch \u002Ftest 2>&1\n# Expected: Read-only file system error\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Multi-Stage Build | Docker build technique using multiple FROM stages to separate build and runtime, reducing final image size |\n| Distroless | Google-maintained minimal container images containing only the application and runtime dependencies |\n| Non-Root User | Running container processes as unprivileged user to limit impact of container escape exploits |\n| Read-Only Root | Mounting the container root filesystem as read-only to prevent runtime modification |\n| Image Digest | SHA256 hash uniquely identifying an exact image version, more precise than mutable tags |\n| Scratch Image | Empty Docker base image used for statically compiled binaries requiring no OS |\n| Security Context | Kubernetes pod\u002Fcontainer-level security settings controlling privileges, filesystem, and capabilities |\n\n## Tools & Systems\n\n- **Docker BuildKit**: Advanced Docker build engine supporting multi-stage builds and build secrets\n- **Distroless Images**: Google's minimal container base images (static, base, java, python, nodejs)\n- **docker-bench-security**: Script checking CIS Docker Benchmark compliance\n- **Trivy**: Container image vulnerability and misconfiguration scanner\n- **Hadolint**: Dockerfile linter enforcing best practices\n\n## Common Scenarios\n\n### Scenario: Reducing a 1.2GB Python Image to Under 150MB\n\n**Context**: A data science team uses `python:3.12` as base image (1.2GB) with scientific computing packages. The image has 200+ known CVEs from unnecessary system packages.\n\n**Approach**:\n1. Switch to `python:3.12-slim-bookworm` as base (150MB) and install only required system libraries\n2. Use multi-stage build: compile C extensions in builder stage, copy wheels to production\n3. Pin numpy, pandas, and scipy to pre-built wheels to avoid build dependencies in production\n4. Remove pip, setuptools, and wheel from the final image\n5. Create non-root user and set filesystem permissions\n6. Validate with Trivy: expect CVE count to drop from 200+ to under 20\n\n**Pitfalls**: Some Python packages require shared libraries at runtime (libgomp, libstdc++). Test the application thoroughly after removing system packages. Alpine-based images use musl libc which can cause compatibility issues with numpy and pandas.\n\n## Output Format\n\n```\nContainer Image Hardening Report\n==================================\nImage: app:hardened\nBase: python:3.12-slim-bookworm\nDate: 2026-02-23\n\nSIZE COMPARISON:\n  Before hardening: 1,247 MB (python:3.12)\n  After hardening:  143 MB  (python:3.12-slim + multi-stage)\n  Reduction: 88.5%\n\nSECURITY CHECKS:\n  [PASS] Non-root user configured (appuser:1000)\n  [PASS] HEALTHCHECK instruction present\n  [PASS] No setuid\u002Fsetgid binaries found\n  [PASS] Package manager removed\n  [PASS] Base image pinned by digest\n  [PASS] No shell access (\u002Fbin\u002Fsh removed)\n  [WARN] \u002Ftmp writable (emptyDir mounted)\n\nVULNERABILITY COMPARISON:\n  Before: 234 CVEs (12 Critical, 45 High)\n  After:  18 CVEs (0 Critical, 3 High)\n  Reduction: 92.3%\n```\n",{"name":5,"tags":43,"author":48,"domain":27,"license":14,"version":49,"subdomain":28,"description":50},[28,44,45,37,46,47],"cicd","container-hardening","cis-benchmark","secure-sdlc","mahipal","1.0.0","This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.\n","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add micsapp\u002Fmicstec-skills --skill performing-container-image-hardening",{"tool":64,"command":65},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill performing-container-image-hardening",{"tool":67,"command":68},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill performing-container-image-hardening","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002FSKILL.md",true,[72,78,83,89,93,97,103],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"assets\u002Ftemplate.md","ASSET","资产文件",1391,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Fassets\u002Ftemplate.md",{"path":79,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002FLICENSE",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fapi-reference.md","REFERENCE","参考文档",5250,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Freferences\u002Fapi-reference.md",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fstandards.md",953,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Freferences\u002Fstandards.md",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fworkflows.md",1827,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Freferences\u002Fworkflows.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fagent.py","SCRIPT","脚本",11579,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Fscripts\u002Fagent.py",{"path":104,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fprocess.py",7102,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-container-image-hardening\u002Fscripts\u002Fprocess.py",[108,136,157,175,192,217],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[143,144,145,146,117,147,148,149,150,151,152,153,125,126,132,154,155,133,156,36],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[164,165,166,167,117,120,125,126,168,169,29,170,171,172,173,133,174,35,36,135],"policy","authoring","apim policy authoring","security","access","use","api security","Access Control","error","processing","cors configuration",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[182,167,183,125,170,184,117,143,24,185,186,187,126,188,133,189,190,191,134,135],"review","security review","api security review","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[199,200,201,145,202,203,204,205,125,206,207,208,209,210,211,212,213,214,215,216],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":218,"name":219,"nameZh":6,"description":220,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":221,"categories":222,"keywords":223,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[219,224,225,226,227,228,229,169,230,231],"npm","js","calculate","node","math","user","compute","errors"]