{"id":12412,"date":"2026-04-27T10:03:36","date_gmt":"2026-04-27T10:03:36","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/04\/27\/pentest-ai-agents-28-claude-code-subagents-for-penetration-testing\/"},"modified":"2026-04-27T10:03:36","modified_gmt":"2026-04-27T10:03:36","slug":"pentest-ai-agents-28-claude-code-subagents-for-penetration-testing","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/04\/27\/pentest-ai-agents-28-claude-code-subagents-for-penetration-testing\/","title":{"rendered":"pentest-ai-agents \u2013 28 Claude Code Subagents for Penetration Testing"},"content":{"rendered":"<p>    pentest-ai-agents \u2013 28 Claude Code Subagents for Penetration Testing<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A new open-source toolkit called pentest-ai-agents is redefining how security professionals leverage AI in penetration testing workflows, transforming <a href=\"https:\/\/cybersecuritynews.com\/claude-code-source-code-leaked\/\" target=\"_blank\" rel=\"noreferrer noopener\">Anthropic\u2019s Claude Code<\/a> into a fully specialized offensive security research assistant powered by 28 domain-specific subagents.<\/p>\n<p>Released by security researcher 0xSteph on GitHub, pentest-ai-agents is a collection of 28 Claude Code subagents, each carrying deep domain expertise across the full <a href=\"https:\/\/cybersecuritynews.com\/penetration-testing-phases\/\" target=\"_blank\" rel=\"noreferrer noopener\">penetration testing lifecycle<\/a>.<\/p>\n<p>Coverage spans reconnaissance, web application testing, Active Directory attacks, cloud security, mobile pentesting, wireless attacks, social engineering, exploit chaining, detection engineering, forensics, malware analysis, and report generation.<\/p>\n<p>Rather than relying on a single general-purpose AI model, the framework automatically routes each query to the most appropriate specialist agent.<\/p>\n<h2 class=\"wp-block-heading\" id=\"one-command-installation\"><strong>Pentest-AI-Agents Installation<\/strong><\/h2>\n<p>Setup requires no servers, no external dependencies, and no complex configuration. A single command handles everything:<\/p>\n<pre class=\"wp-block-preformatted\">bash<code>curl -fsSL https:\/\/raw.githubusercontent.com\/0xSteph\/pentest-ai-agents\/main\/install.sh | bash<\/code><\/pre>\n<p>The script clones the repository, copies all 28 agent files to <code>~\/.claude\/agents\/<\/code>, and exits cleanly. It is fully idempotent, meaning re-running it safely updates existing agents.<\/p>\n<p>Additional install options support project-scoped deployments (<code>--project<\/code>) and a cost-optimized <strong>lite mode<\/strong> (<code>--global --lite<\/code>) that runs advisory agents on Claude Haiku for reduced token consumption.<\/p>\n<p>The toolkit introduces a two-tier execution model for safety and flexibility. Tier 1 agents operate in advisory mode, users paste tool output, and receive prioritized analysis, methodology guidance, and recommended next commands.<\/p>\n<p>Tier 2 agents go further, composing and executing commands directly against a declared, authorized scope, with Claude Code displaying each command for explicit approval before execution.<\/p>\n<p>Tier 2 agents include the Recon Advisor (nmap, whois, whatweb), Web Hunter (ffuf, sqlmap, dalfox), AD Attacker (<a href=\"https:\/\/cybersecuritynews.com\/bloodhound-pentesting-tool\/\" target=\"_blank\" rel=\"noreferrer noopener\">BloodHound<\/a>, Impacket, CrackMapExec, Certipy), Exploit Chainer, PoC Validator, and Business Logic Hunter. Every offensive action is mapped to MITRE ATT&amp;CK identifiers and paired with defensive context.<\/p>\n<h2 class=\"wp-block-heading\" id=\"persistent-findings-database-and-reporting\"><strong>Persistent Findings and MCP Support<\/strong><\/h2>\n<p>A built-in SQLite-backed findings database (<code>findings.sh<\/code>) persists engagement data across Claude Code sessions, enabling multi-day operations with seamless handoffs.<\/p>\n<p>Tier 2 agents write to this database automatically when <code>findings.sh<\/code> is in the system PATH. The Report Generator agent produces professional pentest reports complete with executive summaries, CVSS scoring, and remediation roadmaps.<\/p>\n<p>For air-gapped or privacy-sensitive environments, agents can be converted to OpenCode custom commands compatible with Ollama, LM Studio, or any local model via the included <code>opencode-setup.sh<\/code> script.<\/p>\n<p>A companion MCP server (<code>pentest-ai<\/code>) extends the ecosystem with 150+ tool wrappers, autonomous exploit chaining, and <a href=\"https:\/\/cybersecuritynews.com\/jenkins-vulnerabilities-expose-ci-cd-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">CI\/CD pipeline integration<\/a> for Claude Desktop, Cursor, and VS Code Copilot.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><\/blockquote>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/pentest-ai-agents-tool\/\">pentest-ai-agents \u2013 28 Claude Code Subagents for Penetration Testing<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/pentest-ai-agents-tool\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>pentest-ai-agents \u2013 28 Claude Code Subagents for Penetration Testing A new open-source toolkit called pentest-ai-agents is redefining how security professionals leverage AI in penetration testing workflows, transforming Anthropic\u2019s Claude Code into a fully specialized offensive security research assistant powered by 28 domain-specific subagents. Released by security researcher 0xSteph on GitHub, pentest-ai-agents is a collection of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,1709],"tags":[130],"class_list":["post-12412","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-cyberpedia","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12412"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=12412"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12412\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=12412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=12412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=12412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}