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
chrootto 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/passwdfile. - SSH Key Injection: Commands to create a
.sshdirectory in the host root and append an attacker-controlled public key toauthorized_keys. - SUID Backdoor: Instructions to create a SUID (Set Owner User ID upon execution) binary on the host by copying
/bin/shand applyingchmod u+sto 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+sto create elevated privilege binaries on the host filesystem. - Direct communication with the Docker daemon via
curlthrough the Unix socket (--unix-socket /var/run/docker.sock). - [METADATA_POISONING]: The
SKILL.mdfile 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/shadowfile, which contains encrypted password hashes for all host-level users.
Recommendations
- AI detected serious security threats
Audit Metadata