PentestGPT

Normal
GitHub Python MIT

Description

An automated penetration testing agentic framework powered by large language models for security testing and vulnerability discovery.

Key Features

  • AI-powered autonomous penetration testing agent with agentic pipeline for intelligent security assessment
  • Docker-first isolated environment with 100+ security tools pre-installed and reproducible setup
  • Session persistence to save and resume penetration testing sessions across multiple runs
  • Multi-category support covering Web, Crypto, Reversing, Forensics, PWN, and Privilege Escalation challenges
  • Real-time live walkthrough tracking with interactive TUI and keyboard shortcuts for pause, resume, and help
  • Local LLM support via OpenAI-compatible API endpoints for LM Studio, Ollama, and other self-hosted models

Use Cases

💡 Autonomous vulnerability discovery and penetration testing against web applications and network targets
💡 CTF challenge solving with AI-assisted reasoning across multiple security categories
💡 Security research and benchmarking with 104 XBOW validation benchmarks and cost/time tracking
💡 Training and education for penetration testers by demonstrating AI-driven testing workflows

Strengths & Limitations

Strengths

  • High community interest (15.2k stars)
  • Permissive open-source license (MIT)
  • Established track record (3 years in production)
  • Responsive to issues, low backlog

Quick Start

Install Docker and configure an LLM provider (Anthropic API key, Claude OAuth, or OpenRouter). Clone the repo with --recurse-submodules, then run 'make install' to build the Docker image. Run 'make config' to set up authentication, and 'make connect' to enter the container. Use 'pentestgpt --target <IP>' to start an interactive penetration test, or add '--non-interactive' for automated runs.

Related Projects

OpenSandbox

14.9k · Go
Active A

OpenSandbox is an open-source, secure, fast, and extensible sandbox runtime for AI agents, developed by Alibaba.

sandboxai-infrastructurekubernetes +2
  • · Multi-language SDKs: Python, Java/Kotlin, JavaScript/TypeScript, C#/.NET, and Go with unified sandbox APIs
  • · Docker and Kubernetes runtimes: built-in lifecycle management for both local development and large-scale distributed scheduling
  • · Strong isolation: supports gVisor, Kata Containers, and Firecracker microVM secure container runtimes

E2B

13.7k · Python
Active A+

E2B provides secure cloud sandboxes for AI agents, supporting code execution, file operations, and isolated compute as an execution layer for coding and automation workflows.

sandboxcode-executionsecurity +1
  • · Secure Cloud Sandboxes: Provides isolated cloud execution environment for AI agents
  • · Code Execution: Supports JavaScript/Python SDK to run AI-generated code
  • · File Operations: Perform file read/write and management within sandboxes

Tongyi DeepResearch

19.9k · Python
Stale B

Open-source deep research agent from Alibaba Tongyi Lab, using multi-stage iterative information retrieval and reasoning to conduct deep analysis, synthesis, and summarization of complex topics with web search and document analysis.

pythonagentllm +3
  • · 30.5B total parameter agentic LLM with only 3.3B activated per token (MoE architecture)
  • · Fully automated synthetic data generation pipeline for agentic pre-training, SFT, and RL
  • · Large-scale continual pre-training on diverse agentic interaction data

MiroThinker

8.4k · Python
Normal A

A deep research agent framework optimized for complex research and prediction tasks, with MiroThinker-1.7 and MiroThinker-H1 models achieving 74.0 and 88.2 on BrowseComp benchmark, supporting multi-step reasoning and information retrieval.

pythonagentllm +3
  • · Deep research agent framework optimized for complex research and prediction tasks
  • · MiroThinker-1.7 achieves 74.0 on BrowseComp, H1 model reaches 88.2
  • · Supports 256K context window and up to 300 tool calls per task