[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71C61XBSWF431717HKD1DS9":3,"skill-same:01M71C61XBSWF431717HKD1DS9":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M71C61XBSWF431717HKD1DS9","cloud-containers-scanning-container",null,"Cloud Containers Scanning Container.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud-containers-scanning-container\u002FSKILL.md",[],[19,20,21,22,23,24,25],"containers","cloud","scanning","container","cloud containers","cloud containers scanning container","cybersecurity","2026-11-10 10:12:30",false,"---\nname: cloud-containers-scanning-container\ndescription: \"Cloud Containers Scanning Container.\"\ndomain: cybersecurity\n---\n\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","|\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,"domain":25,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fcloud-containers-scanning-container","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill cloud-containers-scanning-container",{"tool":44,"command":45},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill cloud-containers-scanning-container",{"tool":47,"command":48},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill cloud-containers-scanning-container","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud-containers-scanning-container\u002FSKILL.md",true,[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"index.json","REFERENCE","参考文档",540,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud-containers-scanning-container\u002Findex.json",[59,69,94,117,139,161],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":64,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":68},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":26},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[76,77,78,79,80,81,82,25,83,84,85,86,87,88,89,90,91,92,93],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":26},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[101,79,102,76,103,104,105,106,107,25,108,109,110,111,112,113,114,115,93,116],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":26},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[124,125,126,127,128,129,130,131,132,133,113,93,134,135,106,136,105,25,137,138],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":26},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[146,147,148,77,25,149,92,150,151,152,81,93,153,154,155,156,157,158,159,160],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":26},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[168,146,169,77,170,171,82,93,153,172,173,174,106,81,25,149,175,92,176,151],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]