docker-privesc

Fail

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: HIGHPRIVILEGE_ESCALATIONPERSISTENCECOMMAND_EXECUTIONMETADATA_POISONINGDATA_EXFILTRATION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill provides explicit instructions for bypassing container boundaries and gaining root access on the host system.
  • Includes commands to mount the host's root directory (/) into a container using volume flags (-v /:/host).
  • Details the use of chroot to switch the execution context from the container to the host root filesystem.
  • Documents Docker socket abuse (/var/run/docker.sock) to launch new privileged containers that can interact directly with the host kernel and hardware.
  • [PERSISTENCE]: The skill details three distinct methods for establishing permanent unauthorized access to the host machine.
  • User Injection: Instructions to append a new user with UID 0 (root) directly to the host's /etc/passwd file.
  • SSH Key Injection: Commands to create a .ssh directory in the host root and append an attacker-controlled public key to authorized_keys.
  • SUID Backdoor: Instructions to create a SUID (Set Owner User ID upon execution) binary on the host by copying /bin/sh and applying chmod u+s to it.
  • [COMMAND_EXECUTION]: The skill employs highly sensitive shell commands and system utilities for malicious purposes.
  • Direct modification of system files (/etc/passwd, /etc/shadow) using redirection and shell commands.
  • Use of chmod u+s to create elevated privilege binaries on the host filesystem.
  • Direct communication with the Docker daemon via curl through the Unix socket (--unix-socket /var/run/docker.sock).
  • [METADATA_POISONING]: The SKILL.md file contains a section titled 'Real Production Results' that references specific real-world organizations, a live IP address (51.222.42.163), and detailed descriptions of leaked credentials for various services including MySQL, Redis, and AWS. This information functions as target intelligence embedded within the skill's documentation.
  • [DATA_EXFILTRATION]: The skill includes explicit instructions for accessing highly sensitive system files that should never be accessible from a container.
  • Provides commands to read the host's /etc/shadow file, which contains encrypted password hashes for all host-level users.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 12, 2026, 06:59 PM