[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPW11F77HVSE8Y3F7RYK23":3,"skill-same:01M7EPW11F77HVSE8Y3F7RYK23":80},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7EPW11F77HVSE8Y3F7RYK23","performing-docker-bench-security-assessment",null,"Runs Docker Bench for Security, the open-source CIS Docker Benchmark audit script, across host configuration, daemon settings, images, and runtime configuration, then interprets pass\u002Ffail\u002Fwarn output and remediates the common failures. Use when auditing Docker hosts for CIS compliance, scheduling recurring container assessments, or validating runtime hardening controls after a change. Keywords: docker-bench-security, CIS Docker Benchmark, audit script, pass fail warn, host configuration, remediation. Do not use for applying the daemon hardening itself - use hardening-docker-daemon-configuration.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-docker-bench-security-assessment\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-docker-bench-security-assessment\ndescription: >-\n  Runs Docker Bench for Security, the open-source CIS Docker Benchmark audit script, across\n  host configuration, daemon settings, images, and runtime configuration, then interprets\n  pass\u002Ffail\u002Fwarn output and remediates the common failures. Use when auditing Docker hosts for\n  CIS compliance, scheduling recurring container assessments, or validating runtime hardening\n  controls after a change. Keywords: docker-bench-security, CIS Docker Benchmark, audit\n  script, pass fail warn, host configuration, remediation. Do not use for applying the daemon\n  hardening itself - use hardening-docker-daemon-configuration.\ndomain: cybersecurity\nsubdomain: container-security\ntags:\n- containers\n- docker\n- security\n- CIS-benchmark\n- assessment\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- PR.IR-01\n- ID.AM-08\n- DE.CM-01\nmitre_attack:\n- T1610\n- T1611\n- T1609\n- T1525\n---\n# Performing Docker Bench Security Assessment\n\n## Overview\n\nDocker Bench for Security is an open-source script that checks dozens of common best practices around deploying Docker containers in production. Based on the CIS Docker Benchmark, it audits host configuration, Docker daemon settings, container images, runtime configurations, and security operations to generate a compliance report with pass\u002Ffail\u002Fwarn results.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing docker bench security assessment\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Docker Engine installed and running\n- Root or sudo access on Docker host\n- Docker Bench Security script or container image\n\n## Workflow\n\n### Step 1: Run Docker Bench Security\n\n```bash\n# Run as a container (recommended)\ndocker run --rm --net host --pid host --userns host --cap-add audit_control \\\n  -e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \\\n  -v \u002Fetc:\u002Fetc:ro \\\n  -v \u002Fusr\u002Fbin\u002Fcontainerd:\u002Fusr\u002Fbin\u002Fcontainerd:ro \\\n  -v \u002Fusr\u002Fbin\u002Frunc:\u002Fusr\u002Fbin\u002Frunc:ro \\\n  -v \u002Fusr\u002Flib\u002Fsystemd:\u002Fusr\u002Flib\u002Fsystemd:ro \\\n  -v \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  --label docker_bench_security \\\n  docker\u002Fdocker-bench-security\n\n# Run with JSON output\ndocker run --rm --net host --pid host --userns host --cap-add audit_control \\\n  -v \u002Fetc:\u002Fetc:ro \\\n  -v \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  docker\u002Fdocker-bench-security -l \u002Fdev\u002Fstdout 2>\u002Fdev\u002Fnull | tee docker-bench-results.json\n\n# Run specific sections only\ndocker run --rm --net host --pid host --userns host \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  docker\u002Fdocker-bench-security -c container_images,container_runtime\n```\n\n### Step 2: Interpret Results\n\n```\n[INFO] 1 - Host Configuration\n[PASS] 1.1.1 - Ensure a separate partition for containers has been created\n[WARN] 1.1.2 - Ensure only trusted users are allowed to control Docker daemon\n[PASS] 1.1.3 - Ensure auditing is configured for the Docker daemon\n\n[INFO] 2 - Docker daemon configuration\n[FAIL] 2.1 - Run the Docker daemon as a non-root user\n[PASS] 2.2 - Ensure network traffic is restricted between containers on the default bridge\n```\n\n### Step 3: Remediate Common Failures\n\n```bash\n# Fix 2.2: Restrict inter-container communication\necho '{\"icc\": false}' | sudo tee \u002Fetc\u002Fdocker\u002Fdaemon.json\n\n# Fix 2.17: Restrict containers from acquiring new privileges\necho '{\"no-new-privileges\": true}' | sudo tee -a \u002Fetc\u002Fdocker\u002Fdaemon.json\n\n# Fix 5.3: Restrict Linux kernel capabilities\n# Use --cap-drop ALL in docker run commands\n\n# Fix 5.12: Mount container's root filesystem as read only\n# Use --read-only flag in docker run commands\n\n# Restart Docker daemon after configuration changes\nsudo systemctl restart docker\n```\n\n### Step 4: Automate Scheduled Assessments\n\n```yaml\n# docker-compose for scheduled assessment\nversion: '3.8'\nservices:\n  bench-security:\n    image: docker\u002Fdocker-bench-security\n    network_mode: host\n    pid: host\n    userns_mode: host\n    cap_add:\n      - audit_control\n    volumes:\n      - \u002Fetc:\u002Fetc:ro\n      - \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro\n      - \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro\n      - .\u002Fresults:\u002Fresults\n    command: -l \u002Fresults\u002Fbench-$(date +%Y%m%d).log\n    deploy:\n      restart_policy:\n        condition: none\n```\n\n## Validation Commands\n\n```bash\n# Verify remediation\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -E \"(PASS|FAIL|WARN)\" | sort | uniq -c\n\n# Count results by type\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"PASS\"\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"FAIL\"\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"WARN\"\n```\n\n## References\n\n- [Docker Bench Security](https:\u002F\u002Fgithub.com\u002Fdocker\u002Fdocker-bench-security)\n- [CIS Docker Benchmark](https:\u002F\u002Fwww.cisecurity.org\u002Fbenchmark\u002Fdocker)\n- [Docker Security Best Practices](https:\u002F\u002Fdocs.docker.com\u002Fengine\u002Fsecurity\u002F)\n","# Performing Docker Bench Security Assessment\n\n## Overview\n\nDocker Bench for Security is an open-source script that checks dozens of common best practices around deploying Docker containers in production. Based on the CIS Docker Benchmark, it audits host configuration, Docker daemon settings, container images, runtime configurations, and security operations to generate a compliance report with pass\u002Ffail\u002Fwarn results.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing docker bench security assessment\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Docker Engine installed and running\n- Root or sudo access on Docker host\n- Docker Bench Security script or container image\n\n## Workflow\n\n### Step 1: Run Docker Bench Security\n\n```bash\n# Run as a container (recommended)\ndocker run --rm --net host --pid host --userns host --cap-add audit_control \\\n  -e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \\\n  -v \u002Fetc:\u002Fetc:ro \\\n  -v \u002Fusr\u002Fbin\u002Fcontainerd:\u002Fusr\u002Fbin\u002Fcontainerd:ro \\\n  -v \u002Fusr\u002Fbin\u002Frunc:\u002Fusr\u002Fbin\u002Frunc:ro \\\n  -v \u002Fusr\u002Flib\u002Fsystemd:\u002Fusr\u002Flib\u002Fsystemd:ro \\\n  -v \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  --label docker_bench_security \\\n  docker\u002Fdocker-bench-security\n\n# Run with JSON output\ndocker run --rm --net host --pid host --userns host --cap-add audit_control \\\n  -v \u002Fetc:\u002Fetc:ro \\\n  -v \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  docker\u002Fdocker-bench-security -l \u002Fdev\u002Fstdout 2>\u002Fdev\u002Fnull | tee docker-bench-results.json\n\n# Run specific sections only\ndocker run --rm --net host --pid host --userns host \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro \\\n  docker\u002Fdocker-bench-security -c container_images,container_runtime\n```\n\n### Step 2: Interpret Results\n\n```\n[INFO] 1 - Host Configuration\n[PASS] 1.1.1 - Ensure a separate partition for containers has been created\n[WARN] 1.1.2 - Ensure only trusted users are allowed to control Docker daemon\n[PASS] 1.1.3 - Ensure auditing is configured for the Docker daemon\n\n[INFO] 2 - Docker daemon configuration\n[FAIL] 2.1 - Run the Docker daemon as a non-root user\n[PASS] 2.2 - Ensure network traffic is restricted between containers on the default bridge\n```\n\n### Step 3: Remediate Common Failures\n\n```bash\n# Fix 2.2: Restrict inter-container communication\necho '{\"icc\": false}' | sudo tee \u002Fetc\u002Fdocker\u002Fdaemon.json\n\n# Fix 2.17: Restrict containers from acquiring new privileges\necho '{\"no-new-privileges\": true}' | sudo tee -a \u002Fetc\u002Fdocker\u002Fdaemon.json\n\n# Fix 5.3: Restrict Linux kernel capabilities\n# Use --cap-drop ALL in docker run commands\n\n# Fix 5.12: Mount container's root filesystem as read only\n# Use --read-only flag in docker run commands\n\n# Restart Docker daemon after configuration changes\nsudo systemctl restart docker\n```\n\n### Step 4: Automate Scheduled Assessments\n\n```yaml\n# docker-compose for scheduled assessment\nversion: '3.8'\nservices:\n  bench-security:\n    image: docker\u002Fdocker-bench-security\n    network_mode: host\n    pid: host\n    userns_mode: host\n    cap_add:\n      - audit_control\n    volumes:\n      - \u002Fetc:\u002Fetc:ro\n      - \u002Fvar\u002Flib:\u002Fvar\u002Flib:ro\n      - \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock:ro\n      - .\u002Fresults:\u002Fresults\n    command: -l \u002Fresults\u002Fbench-$(date +%Y%m%d).log\n    deploy:\n      restart_policy:\n        condition: none\n```\n\n## Validation Commands\n\n```bash\n# Verify remediation\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -E \"(PASS|FAIL|WARN)\" | sort | uniq -c\n\n# Count results by type\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"PASS\"\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"FAIL\"\ndocker run --rm docker\u002Fdocker-bench-security 2>&1 | grep -c \"WARN\"\n```\n\n## References\n\n- [Docker Bench Security](https:\u002F\u002Fgithub.com\u002Fdocker\u002Fdocker-bench-security)\n- [CIS Docker Benchmark](https:\u002F\u002Fwww.cisecurity.org\u002Fbenchmark\u002Fdocker)\n- [Docker Security Best Practices](https:\u002F\u002Fdocs.docker.com\u002Fengine\u002Fsecurity\u002F)\n",{"name":5,"tags":24,"author":30,"domain":31,"license":15,"version":32,"nist_csf":33,"subdomain":38,"description":7,"mitre_attack":39},[25,26,27,28,29],"containers","docker","security","CIS-benchmark","assessment","mahipal","cybersecurity","1.0",[34,35,36,37],"PR.PS-01","PR.IR-01","ID.AM-08","DE.CM-01","container-security",[40,41,42,43],"T1610","T1611","T1609","T1525","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fperforming-docker-bench-security-assessment",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-docker-bench-security-assessment",{"tool":58,"command":59},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-docker-bench-security-assessment",{"tool":61,"command":62},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-docker-bench-security-assessment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-docker-bench-security-assessment\u002FSKILL.md",true,[66,72,76],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fapi-reference.md","REFERENCE","参考文档",1148,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-docker-bench-security-assessment\u002Freferences\u002Fapi-reference.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fstandards.md",736,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-docker-bench-security-assessment\u002Freferences\u002Fstandards.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fworkflows.md",724,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-docker-bench-security-assessment\u002Freferences\u002Fworkflows.md",[81,90,95,102,109,116],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":89},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":91,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":89},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":89},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":89},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":89},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":89},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]