#3636th of 58 in Security
pentestagent
Terminal pentesting agent with crew mode and MCP client and server
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.3k
- License
- MIT
- Last commit
- Nov 2026
- Language
- Python
2,115 on 26 Apr 20263,341 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
PentestAgent is a Python TUI that drives an LLM through terminal, browser, notes and web search tools to run penetration tests against a target. It has assist, agent, crew (an orchestrator that spawns workers) and interact modes, plus black-box playbooks such as thp3_web. It consumes external MCP servers and can also run as an MCP server over stdio or HTTP/SSE.
Who it is for: Pentesters and red teamers who want an LLM agent driving their tooling
Strengths
- Four modes: assist, agent, crew with spawned workers, and guided interact
- Works as MCP client and as MCP server (stdio or SSE, default port 8080)
- Docker images available, including a Kali image with metasploit, sqlmap and hydra
- Any LiteLLM provider, with custom OpenAI- or Anthropic-compatible API bases
Weaknesses
- Needs a hosted LLM API key; no local-model setup is documented
- Autonomous agents run real scanning tools, so a scope mistake has real consequences
- Only one playbook (thp3_web) is named in the README
- SSE MCP server binds to 0.0.0.0 by default; no auth is documented
What it needs
- no GPU
- Docker + Compose
- Needs Python 3.10+, LLM API key (OpenAI, Anthropic or other LiteLLM provider), Playwright Chromium, Docker (optional), Tavily API key (optional, web_search)
- Models: OpenAI, Anthropic, LiteLLM-supported providers, OpenAI-compatible endpoints
- port 8080
Also in Security
See all 58| Rank | Project | Score |
|---|---|---|
| #34 | clawsecSecurity skills and signed advisory feed for OpenClaw-family agent runtimes | 58 out of 100 |
| #35 | reconmapAI-assisted pentest scanning, triage and reporting across many engagements | 58 out of 100 |
| #37 | adrDiscovery, telemetry and LLM-based threat detection for enterprise coding agents | 56 out of 100 |
| #38 | pentestgptAutonomous pentest agent that drives Claude Code or Codex against a target | 55 out of 100 |
| #39 | aktoDiscovers, red-teams and guards AI agents, MCP servers and LLM apps | 55 out of 100 |