{"id":10676,"date":"2026-02-15T10:03:36","date_gmt":"2026-02-15T10:03:36","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/02\/15\/pentestagent-ai-penetration-testing-tool-with-prebuilt-attack-playbooks-and-hexstrike-integration\/"},"modified":"2026-02-15T10:03:36","modified_gmt":"2026-02-15T10:03:36","slug":"pentestagent-ai-penetration-testing-tool-with-prebuilt-attack-playbooks-and-hexstrike-integration","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/02\/15\/pentestagent-ai-penetration-testing-tool-with-prebuilt-attack-playbooks-and-hexstrike-integration\/","title":{"rendered":"PentestAgent \u2013 AI Penetration Testing Tool With Prebuilt Attack Playbooks and HexStrike Integration"},"content":{"rendered":"<p>    PentestAgent \u2013 AI Penetration Testing Tool With Prebuilt Attack Playbooks and HexStrike Integration<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>PentestAgent, an open-source AI agent framework from developer Masic (GH05TCREW), has introduced enhanced capabilities, including prebuilt attack playbooks and seamless <a href=\"https:\/\/cybersecuritynews.com\/hexstrike-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">HexStrike integration<\/a>.<\/p>\n<p>Released on GitHub by a researcher with the alias GH05TCREW, this tool leverages large language models (LLMs) like Claude Sonnet or GPT-5 via LiteLLM to conduct sophisticated black-box security assessments.<\/p>\n<p>PentestAgent operates through a terminal user interface (TUI), offering modes for assisted chats, autonomous agents, and multi-agent crews, making it accessible for pentesters seeking AI augmentation without sacrificing control. Legal use is emphasized: only test authorized systems, as unauthorized access violates laws.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-core-features-and-playbooks\"><strong>Core Features and Playbooks<\/strong><\/h2>\n<p>PentestAgent comes with its structured attack playbooks, predefined workflows for web app testing like THP3-style assessments. Users launch them via CLI: <code>pentestagent run -t example.com --playbook thp3_web<\/code>.<\/p>\n<p>These playbooks guide the AI through reconnaissance, vulnerability scanning, and exploitation phases, injecting domain-specific knowledge from a Retrieval-Augmented Generation (RAG) system.<\/p>\n<p>Notes captured during sessions categorized as credentials, vulnerabilities, findings, or artifacts persist in <code>loot\/notes.json<\/code> and fuel a \u201cshadow graph\u201d in Crew mode, where an orchestrator spawns specialized workers for strategic insights.<\/p>\n<p>The tool supports three operational modes, summarized below:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>Mode<\/th>\n<th>Command<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Assist<\/td>\n<td>(default)<\/td>\n<td>Interactive chat; user directs flow.<\/td>\n<\/tr>\n<tr>\n<td>Agent<\/td>\n<td>\/agent &lt;task&gt;<\/td>\n<td>Autonomous single-task execution.<\/td>\n<\/tr>\n<tr>\n<td>Crew<\/td>\n<td>\/crew &lt;task&gt;<\/td>\n<td>Multi-agent orchestration.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Built-in tools include a terminal (for <a href=\"https:\/\/cybersecuritynews.com\/nmap-7-95-released\/\" target=\"_blank\" rel=\"noreferrer noopener\">nmap<\/a>, sqlmap), a browser (via Playwright), notes, and web_search (Tavily API required). TUI commands like <code>\/target &lt;host&gt;<\/code>, <code>\/tools<\/code>, <code>\/report<\/code>, and Esc-to-stop provide intuitive control, with memory usage visible via <code>\/memory<\/code>.<\/p>\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/private-user-images.githubusercontent.com\/183985551\/523476288-a67db2b5-672a-43df-b709-149c8eaee975.mp4?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzExMzAyODksIm5iZiI6MTc3MTEyOTk4OSwicGF0aCI6Ii8xODM5ODU1NTEvNTIzNDc2Mjg4LWE2N2RiMmI1LTY3MmEtNDNkZi1iNzA5LTE0OWM4ZWFlZTk3NS5tcDQ_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIxNVQwNDMzMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMDZmNDk5OTMyZmMxMDUzYzQ0ZGY3NmIxOGNjYThkNmRmNjQzMGEyOTZhOWMwNTg1Y2Y0MGE3ZGZiYWNhODFiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.3QTuayuGQdwXSF0XHolDjwzybuWCC-Jq6gNecbTWAls\"><\/video><\/figure>\n<p>Setup is straightforward for Python 3.10+ environments. Clone the repo (<code>git clone https:\/\/github.com\/GH05TCREW\/pentestagent.git<\/code>), run setup scripts (<code>.scriptssetup.ps1<\/code> on Windows or <code>.\/scripts\/setup.sh<\/code> on Linux\/macOS), and configure <code>.env<\/code> with an API key (e.g., <code>ANTHROPIC_API_KEY=sk-ant-...<\/code> and <code>PENTESTAGENT_MODEL=claude-sonnet-4-20250514<\/code>). Install Chromium via <code>playwright install chromium<\/code>.<\/p>\n<p>Docker isolation elevates usability: pull pre-built images like <code>ghcr.io\/gh05tcrew\/pentestagent:kali<\/code> (packed with Metasploit, Hydra) and run with <code>docker run -it --rm -e ANTHROPIC_API_KEY=your-key ghcr.io\/gh05tcrew\/pentestagent:kali<\/code>. Local builds use <code>docker compose<\/code>.<\/p>\n<p>A standout update is <a href=\"https:\/\/cybersecuritynews.com\/hexstrike-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">HexStrike integration<\/a>, vendored in <code>third_party\/hexstrike<\/code> from <a href=\"https:\/\/github.com\/0x4m4\/hexstrike-ai\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a>. This <a href=\"https:\/\/cybersecuritynews.com\/mcp-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">MCP (Model Context Protocol)<\/a> framework exposes advanced pentesting tools\u2014scoring, workflows\u2014via <code>mcp_servers.json<\/code>. Manually install via <code>scripts\/install_hexstrike_deps.sh<\/code>, then add configs like <code>pentestagent mcp add nmap \"npx\" \"-y\" \"gc-nmap-mcp\"<\/code>. CLI management (<code>pentestagent tools list<\/code>, <code>mcp test<\/code>) ensures extensibility. Recent TUI fixes improve stability for long-running tasks.<\/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<p>The post <a href=\"https:\/\/cybersecuritynews.com\/pentestagent\/\">PentestAgent \u2013 AI Penetration Testing Tool With Prebuilt Attack Playbooks and HexStrike Integration<\/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\/pentestagent\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PentestAgent \u2013 AI Penetration Testing Tool With Prebuilt Attack Playbooks and HexStrike Integration PentestAgent, an open-source AI agent framework from developer Masic (GH05TCREW), has introduced enhanced capabilities, including prebuilt attack playbooks and seamless HexStrike integration. Released on GitHub by a researcher with the alias GH05TCREW, this tool leverages large language models (LLMs) like Claude Sonnet [&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-10676","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\/10676"}],"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=10676"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/10676\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=10676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=10676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=10676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}