container-escape

container-escape is an agent for Claude Code from humaidhahm/opencode-pentester. It costs 43 tokens per session (1,131 once invoked), scanned A, original, no licence file.

A container-escape and Kubernetes-breakout specialist tests whether code inside a container can gain unauthorised access to the host or cluster. Kubernetes is software for running containers across machines.

In plain words
What is it for?
Use it to assess Docker, containerd, CRI-O, runc, Kubernetes permissions, admission controllers, and pod-security settings through a four-phase process with approval.
Why use it?
It helps uncover isolation, permissions, and admission-control weaknesses that could let an attacker leave a container or move through a cluster.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pentest plugin — 1 skill, 14 agents shipped together

Good fit Use it to assess Docker, containerd, CRI-O, runc, Kubernetes permissions, admission controllers, and pod-security settings through a four-phase process with approval.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/humaidhahm/opencode-pentester/container-escape
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/humaidhahm/opencode-pentester

Made for: Claude Code.

Or install pentest, the plugin that ships this one along with the rest of its 1 skill, 14 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for container-escape

README.md
[![agentmods](https://agentmods.dev/badge/agents/humaidhahm/opencode-pentester/container-escape/github.svg)](https://agentmods.dev/agents/humaidhahm/opencode-pentester/container-escape)
Your own site
<a href="https://agentmods.dev/agents/humaidhahm/opencode-pentester/container-escape"><img src="https://agentmods.dev/badge/agents/humaidhahm/opencode-pentester/container-escape/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for container-escape

Your own site · 80×15
<a href="https://agentmods.dev/agents/humaidhahm/opencode-pentester/container-escape"><img src="https://agentmods.dev/badge/agents/humaidhahm/opencode-pentester/container-escape.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,131 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01131
Opus 5.5 $0.00017 $0.00452
Sonnet 5.5 $0.00009 $0.00226
Haiku 4.5 $0.00004 $0.00113

Measured 4d ago against content hash 75e38b85a26d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

container-escape scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pentest/agents/container-escape.md · 116 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 116 lines · 43 tokens per session scan A 75e38b85a26d

Subscribe to this mod's changes

container-escape is an agent published in the GitHub repository humaidhahm/opencode-pentester (68 stars, last pushed 5d ago), with no licence file. It adds 43 tokens to every session and 1,131 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.

Related

Other agents, from other repositories

token-auditor

Fast meme coin and token security auditor. Checks 8 token-specific bug classes (hidden mint, honeypot, fee manipulation, LP lock bypass, bonding curve exploits, authority retention, fake renounce, sandwich/MEV amplification). Runs tokenscanner.py for automated red flag detection. Covers EVM (Solidity) and Solana…

Awarexone/Agentic-Bug-Hunter · 97 tokens

validator

Finding validator. Runs the 7-Question Gate and 4-gate checklist on a described finding. Kills weak/theoretical findings fast before report writing. Prevents N/A submissions. Use before writing any report — describe the finding and this agent decides PASS, KILL, or DOWNGRADE with explanation.

Awarexone/Agentic-Bug-Hunter · 64 tokens

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Awarexone/Agentic-Bug-Hunter · 101 tokens

recon-ranker

Attack surface ranking agent. Takes recon output and hunt memory, produces a prioritized attack plan. Ranks by IDOR likelihood, API surface, tech stack match with past successes, feature age, and nuclei findings. Use after recon to decide what to test first.

Awarexone/Agentic-Bug-Hunter · 57 tokens

chain-builder

Exploit chain builder. Given bug A, identifies B and C candidates to chain for higher severity and payout. Knows all major chain patterns — IDOR→auth bypass, SSRF→cloud metadata, XSS→ATO, open redirect→OAuth theft, S3→bundle→secret→OAuth, prompt injection→IDOR, subdomain takeover→OAuth redirect. Use when you have a…

Awarexone/Agentic-Bug-Hunter · 96 tokens

image-scanner

Use this agent when assessing a built container image for vulnerabilities and supply chain risk: running or interpreting Trivy, Grype, Snyk Container, or Docker Scout results, generating CycloneDX or SPDX SBOMs, and prioritizing CVEs with EPSS and CISA KEV. It produces a triaged vulnerability report with remediation…

HermeticOrmus/LibreSecOps-Claude-Code · 74 tokens