// agents · GreyDGL/PentestGPT

PentestGPT

PentestGPTは、GreyDGLが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: GreyDGL/PentestGPT)。GitHubスターは15,834、フォークは2,761で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年7月14日です。

Automated penetration-testing agent framework powered by LLMs, published at USENIX Security 2024.

★ 15.8k スター⑂ 2.8k フォークMIT更新 2026年7月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
GreyDGL/PentestGPT
GitHubスター
15,834
フォーク
2,761
ライセンス
MIT
GitHubでの最終更新
2026年7月14日
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Confirm your scope and authorization

    Only test systems you own or are explicitly authorized to assess; note the target address and any instructions for the engagement.

  2. Clone and install

    Clone the repo and run make install, which uses uv to sync dependencies; a self-contained Docker image is also provided.

  3. Connect an agent backend

    Install and authenticate the Claude Code or Codex CLI for autonomous runs, or configure a provider for the interactive multi-LLM mode.

  4. Run your first task

    Point pentestgpt at a target in CTF or pentest mode, watch the staged pipeline work, and resume later from a saved session if needed.

// 機能

選ばれる理由

Multi-stage pipeline

The agent works through staged phases and feeds each stage's findings into the next, for both CTF and penetration-test workflows.

Autonomous agent mode

Drives Claude Code or Codex to run tools and reason through a target without human intervention at each step.

Multi-category CTF support

Covers Web, Crypto, Reversing, Forensics, PWN and Privilege Escalation challenge categories.

Session persistence

Save and resume penetration testing sessions instead of restarting long engagements from scratch.

Live walkthrough and feedback

Tracks steps in real time with live activity updates as the agent works through a challenge.

Interactive multi-LLM mode

The modernized legacy mode supports OpenAI, Anthropic, Gemini, DeepSeek, xAI, Qwen, Moonshot and local Ollama providers.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repository

    Clone PentestGPT and enter the project directory.

    git clone https://github.com/GreyDGL/PentestGPT.git
    cd PentestGPT
  2. Install dependencies

    Install the project with the Makefile target, which runs uv sync (Python 3.12+ and uv required).

    make install
  3. Run against an authorized target

    Start the agent against a target you are authorized to test; CTF mode is the default.

    pentestgpt --target 10.10.11.234
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains PentestGPT?

It is maintained by GreyDGL and contributors, and the underlying research was published at USENIX Security 2024.

Is PentestGPT free to use?

The code is MIT-licensed and free. Only use it against systems you own or are authorized to test.

Does it need a paid API key?

Usually: autonomous mode needs an authenticated Claude Code or Codex CLI, and interactive mode uses your own provider keys, though local Ollama is supported there at no API cost.

How does it compare with running a plain LLM chat?

PentestGPT adds a staged pipeline, tool execution, live walkthrough tracking and session persistence around the model, instead of one-off chat answers you must act on manually.

How do I get started?

Clone the repo, run make install, authenticate a backend CLI, then run pentestgpt --target <ip> against an authorized lab target.

// さらに探索

似ているツール

AIエージェント

pentagi

Autonomous AI agents for penetration testing — self-hosted, multi-agent, with a full web UI

★ 25.3k スターMIT
ガイドを見る →
AIエージェント

AstrBot

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

★ 41.3k スターAGPL-3.0
ガイドを見る →
AIエージェント

SkillSpector

NVIDIA's security scanner for AI agent skills - check before you install

★ 19.7k スターApache-2.0
ガイドを見る →
AIエージェント

AgentDock

Retired agent framework: its prompts and guides live on in successor repos.

★ 1.8k スターMIT
ガイドを見る →
AIエージェント

NarraNexus

A framework for agent nexuses where intelligence emerges from interaction.

★ 88 スターApache-2.0
ガイドを見る →
AIエージェント

embabel-agent

Agent framework for the JVM. Pronounced Em-BAY-bel /ɛmˈbeɪbəl/

★ 4.5k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — PentestGPTが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でPentestGPTとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

PentestGPTを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。