skills/mukul975/anthropic-cybersecurity-skills/performing-docker-bench-security-assessment/Gen Agent Trust Hub
performing-docker-bench-security-assessment
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyandscripts/process.pyexecute thedockerbinary usingsubprocess.runto perform security audits and container inspections. - [PRIVILEGE_ESCALATION]: The skill uses privileged container flags (
--net host,--pid host,--cap-add audit_control) and mounts the Docker socket and host directories to allow the audit tool to access the host configuration. Documentation also includessudocommands for hardening system files. - [EXTERNAL_DOWNLOADS]: The workflow involves pulling and running the
docker/docker-bench-securityimage from the public Docker registry. - [INDIRECT_PROMPT_INJECTION]: The skill ingests potentially untrusted metadata from container configurations and external tool output (ingestion points in
scripts/agent.py). It lacks explicit boundary markers or sanitization for this data. The script's capability inventory includes executing subprocess calls to perform the audit.
Audit Metadata