Navigate:
PentestGPT
~$PENTE1.2%

PentestGPT: LLM-based penetration testing tool

AI-assisted Python framework for automated security testing.

LIVE RANKINGS • 11:31 AM • STEADY
TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100
OVERALL
#76
29
SECURITY
#2
1
30 DAY RANKING TREND
ovr#76
·Secur#2
STARS
11.8K
FORKS
2.0K
7D STARS
+140
7D FORKS
+52
See Repo:
Share:

Learn more about PentestGPT

PentestGPT is a Python-based penetration testing tool that leverages large language models to automate and assist security testing tasks. The tool interfaces with multiple LLM providers through a unified API, allowing users to select from cloud-based models (GPT-4o, Gemini, Deepseek) or run models locally using Ollama. It provides command-line interfaces for reasoning and parsing tasks, with configurable logging and base URL settings for different deployment scenarios. The tool is designed for security professionals to integrate AI-assisted analysis into penetration testing workflows.

PentestGPT

1

Multi-provider LLM support

Supports OpenAI, Google Gemini, Deepseek, and local Ollama models through a unified interface, allowing users to choose between cloud and local deployment options based on privacy and capability requirements.

2

Local model capability

Includes integration with Ollama for running models locally, enabling offline operation and privacy-focused deployments without reliance on external API services.

3

Modular reasoning and parsing

Separates reasoning and parsing tasks into configurable components, allowing different LLM models to be used for different stages of the penetration testing workflow.


from pentestgpt import PentestGPT

pentester = PentestGPT(reasoning_model="gpt-4o")

# Analyze a security finding
response = pentester.reason(
    "I found an open port 22 with SSH service. What should I test next?"
)

print(response)

vv1.0.0

Major release introducing agentic penetration testing pipeline with terminal UI and 86.5% success rate on XBOW benchmark.

  • Agentic penetration testing pipeline
  • Terminal UI with real-time activity feed
  • 86.5% success rate on XBOW benchmark (90/104)
  • Docker-based deployment
vv0.14.0

Added OpenAI compatibility and support for GPT-4o.

  • OpenAI compatibility
  • Support GPT-4o
vv0.13.0

Official support for GPT-4o with code formatting improvements and bug fixes.

  • Format code with black
  • Fix typo in argument name
  • Fast bugfix
  • README Fix

See how people are using PentestGPT

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers