PentesterFlow

A human-controlled terminal agent for authorized penetration testing and evidence-backed vulnerability reporting.

Stars
★ 1.5k
Last updated
3mo ago v0.1.20
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLI
Works with
Universal · cross-platformOpenAI API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 20+ for development from sourceA supported local or hosted model backendShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A penetration tester conducting an authorized web or API engagement who wants one terminal workflow from reconnaissance through evidence-backed reporting, without giving up approval over sensitive commands.
Not a fit if
  • Anyone testing systems without explicit written authorization
  • Testers who want a GUI instead of a terminal workflow
Website
pentesterflow.com ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-08-31latest release v0.1.20 (2026-06-14)+1.3 ★/day over 7 days
Source review
61/100 · Some gaps

What does this agent do, and when should you use it?

PentesterFlow is an open-source terminal assistant for authorized penetration tests and bug-bounty investigations, spanning reconnaissance, enumeration, validation, evidence collection, and reporting. Its agent loop plans against a scoped target and invokes shell, HTTP, file, search, browser-capture, and Burp-related tools, with approval gates for sensitive actions. It can use Ollama, LM Studio, Kimi, Groq, Gemini, OpenRouter, DeepSeek, or OpenAI-compatible endpoints, allowing either local or hosted models. Confirmed issues are written as Markdown under ./findings/<slug>.md, while coverage records, sessions, context snapshots, and JSON Lines logs support longer engagements. The operational boundary is the user's terminal and local workspace: once approved, it can execute commands, reach targets over the network, edit files, and process captured traffic, so it is appropriate only for systems covered by explicit authorization.

The analyst sets an authorized target with /target and describes an objective such as mapping an API or testing access control. The agent can load Markdown playbooks including recon, webvuln, ssrf, ssti, jwt, graphql, race, takeover, supabase, and deserialize, then invoke shell/BashTool, http, GlobTool, GrepTool, web_fetch, web_search, browser_capture_*, and file tools. The coverage tool records tested endpoint, parameter, and vulnerability-class combinations, while /next proposes work for remaining gaps. A candidate issue is expected to be reproduced with request-and-response evidence before confirm_finding writes its severity, impact, remediation, evidence, and copyable curl command to ./findings/<slug>.md. Sessions persist under ~/.pentesterflow/sessions/*.json, and /compact, /memory, /snapshot, plus background continuous learning preserve context across extended assessments. With --burp enabled, a local listener accepts Burp or browser capture data; the separate pentesterflow-browser-mcp binary exposes the same captured information to compatible MCP clients.

  1. A penetration tester conducting an authorized web or API engagement who wants one terminal workflow from reconnaissance through evidence-backed reporting, without giving up approval over sensitive commands.
  2. A bug-bounty researcher validating IDOR, JWT, SSRF, SSTI, GraphQL, or race-condition candidates and needing reproducible requests and responses for a submission.
  3. A security team running a multi-session assessment that needs saved sessions, compacted memory, context snapshots, and coverage tracking to resume without rebuilding context.
  4. A Burp Suite user who wants to send selected requests to a terminal agent for analysis and import confirmed findings back as Burp issues.
  5. A team with tighter data-boundary requirements that wants to run Ollama or LM Studio locally while retaining the option to switch to hosted or OpenAI-compatible model endpoints.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/PentesterFlow/agent/main/install.sh | sh
  • irm https://raw.githubusercontent.com/PentesterFlow/agent/main/install.ps1 | iex
Environment variables
MOONSHOT_API_KEY GROQ_API_KEY OPENROUTER_API_KEY DEEPSEEK_API_KEY GEMINI_API_KEY
Runtime
Node.js 20+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

On macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/PentesterFlow/agent/main/install.sh | sh

On Windows PowerShell:

irm https://raw.githubusercontent.com/PentesterFlow/agent/main/install.ps1 | iex

The installers download the matching standalone binary and verify its published SHA-256 checksum when available. GitHub Releases also provides macOS arm64/x64, Linux arm64/x64, and Windows x64 binaries. Development from source requires Node.js 20+:

npm install
npm run dev -- --version
npm run typecheck
npm run lint
npm run test
npm run build

A supported model backend is also required for first use. The documented local Ollama path is:

ollama pull qwen2.5-coder:32b

pentesterflow

How do you use this agent?

Start pentesterflow, then use /provider to select a backend, API key, and model. Local Ollama or LM Studio setups do not inherently require a hosted-provider key; the documented Kimi, Groq, OpenRouter, DeepSeek, and Gemini examples use MOONSHOT_API_KEY, GROQ_API_KEY, OPENROUTER_API_KEY, DEEPSEEK_API_KEY, and GEMINI_API_KEY respectively. A minimal interactive workflow is:

/provider
/target https://app.example.com
map the authenticated API surface and test for IDOR

A backend can also be selected at launch:

pentesterflow --backend ollama --model qwen2.5-coder:32b

For an OpenAI-compatible service:

pentesterflow --backend openai-compat --base-url https://api.example.com/v1 --api-key sk-...

Resume with pentesterflow --resume <session-id>. Start the Burp bridge with pentesterflow --burp or pentesterflow --burp 9999; its default listener is http://127.0.0.1:9999. Operate only against explicitly authorized targets, and avoid --yolo outside labs because it automatically approves non-sensitive tool calls.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • The workflow is security-specific, with built-in playbooks ranging from reconnaissance to deserialization testing and coverage-driven suggestions through /next.
  • Human approval is the default, supplemented by allow-once and allow-session decisions, sensitive-path protection, and blocking of catastrophic shell-command patterns.
  • Its evidence model favors auditability: visible tool calls, reproducible commands, deterministic output paths, and findings containing proof, impact, remediation, and curl reproduction steps.
  • Support for several local and hosted backends plus OpenAI-compatible APIs reduces dependence on a single model provider.
  • Burp integration, browser capture, MCP access, persisted sessions, snapshots, and local memory make it suitable for longer investigations built around existing traffic.
Limitations
  • After approval, the agent can run shell commands, make network requests, and edit files; incorrect scoping or approval decisions can affect both the workstation and the target.
  • Hosted backends require provider credentials and network access and may incur usage charges; no pricing or spending controls are documented in the supplied material.
  • Continuous learning, sessions, findings, and logs persist target context locally. Full debug logs may contain command output and copied request material and therefore require careful handling.
  • Provider behavior is not entirely uniform: Groq uses a compact prompt and lower compaction threshold, LM Studio needs stop-token and template-marker protections, and --no-stream exists for SSE or tool-call issues.
  • The Burp workflow depends on the companion PentesterFlow Burp Integration, while MCP-based browser access requires the separate pentesterflow-browser-mcp binary.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
PentesterFlow This agent 61 · Some gaps CLIFree + model costs ★ 1.5k 3mo ago TypeScript OpenAI API
ARTEX 55 · Major gaps — ★ 30k today Go OpenAI API · Claude API
HexStrike AI MCP 36 · Major gaps MCP serverFree ★ 14k 4mo ago Python Claude.ai
DarkMoon Autonomous Pentesting 50 · Major gaps CLIFree + model costs ★ 1.3k 10d ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
61/ 100 5-point scale 3.1 / 5
Trust 13/29
Reliability 8/14
Adaptability 14/18
Convention 14/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The README describes human approval by default, read-only auto-safe mode, sensitive-path protections, and shell safeguards; the code also shows tool approval and serialization of stateful tools. These provide some ordinary-use constraints, but YOLO mode, shell access, file writes, HTTP, MCP, and skills containing executable attack payloads make least privilege thin. The README documents data paths, remote model providers, logs, and redaction of common secret formats, and warns that full debug logs may contain target data. The redaction scope is only summarized, so complete protection is not established. The installer says it can verify SHA-256, and dependencies and CI are listed, but there is no evidence of dependency auditing or vulnerability response. Authorization warnings and scope help, while extensive network and local side effects remain possible; no general mechanism to undo them is shown. Repository and package names provide project attribution clues, but publisher identity is unverified and maintenance responsibility is not assigned to a person or team.

Reliability8 / 14 · 2.9/5

The README, CLI, and agent code are broadly consistent, with described workflows and tools reflected in the available entry points. Some backend and option details do not fully align between the README and CLI excerpt, and the code is sampled, so full marks are not justified. Multiple local and hosted model backends and standalone binaries support availability, though external services remain dependencies. The code shows abort signals and a circuit breaker for repeated auto-compaction failures; evidence for user-facing failure messages is limited, and learning failures are explicitly logged without being shown as task errors.

Adaptability14 / 18 · 3.9/5

The product explicitly targets penetration testers and bug hunters and describes recon, enumeration, validation, coverage tracking, and reporting in detail. Authorization requirements, target scope, permission modes, and minimal/full tooling configuration set boundaries, but YOLO mode and high-impact tools still broaden what can be done. Skill descriptions include trigger conditions, and the template asks authors to make loading conditions explicit; sampled skills provide concrete payloads and procedures, though some attack skills have broad scope. Node 20+, the Bun development workflow, binaries for multiple operating systems, and several model backends document environment requirements, but do not establish compatibility in every environment.

Convention14 / 18 · 3.9/5

The README has a thorough structure covering installation, quickstart, capabilities, configuration, data, commands, and security. Installation steps are actionable and identify platforms and version pinning, but the pipe-to-shell approach and verification guidance are brief. Package, command, and path naming are mostly stable; the CLI flag table and backend descriptions have minor inconsistencies. Examples are extensive, but there is no FAQ, and some require users to provide a local model or credentials. The docs cover authorization, debug-log sensitivity, model limitations, and safety reminders, but do not comprehensively enumerate limitations. Apache-2.0 metadata and license text agree. A version, release workflow, and changelog file are referenced; the changelog content is not included in this material. Contribution guidance and CI are present, but no named maintainer or support commitment is shown.

Effectiveness7 / 13 · 2.7/5

Confirmed findings can be written with evidence, impact, remediation, and reproduction commands; JSON-lines logs, coverage records, and session resumption also make outputs useful to analysts. Documentation of intended behavior does not establish that results are correct. Built-in security playbooks, tool integrations, and local learning provide clear value over a generic chat tool. Local models reduce dependence on hosted calls, and multiple hosted providers are supported, but overall costs, resource needs, and tradeoffs among model choices are only lightly described.

Verifiability5 / 8 · 3.1/5

The README gives concrete paths and commands for installation, configuration, data storage, skills, reporting, and security features, and the source excerpts support parts of the architecture. Many capability claims are not directly corroborated by the code excerpts provided. The README, package metadata, CI/release workflows, and source code offer some cross-checking, but the material is sampled and includes neither test results nor full implementations. Documentation sometimes marks behavior as intended or recommended, and source excerpts allow comparison; some security and effectiveness claims remain README-only and cannot be treated as verified facts.

Risks and how to mitigate them
  • Use only against explicitly authorized targets; YOLO mode, shell, HTTP, and offensive skills can perform high-impact actions.
  • Hosted model providers, session files, and debug logs may handle target data. The documentation explicitly treats debug logs as sensitive; review data flows and stored content before use.
  • This assessment is based only on the supplied static sample and did not run the software; it does not verify functionality, findings, or release binaries.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 0759d873a073
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/pentesterflow-agent.svg)](https://followagents.com/en/agents/pentesterflow-agent)
<a href="https://followagents.com/en/agents/pentesterflow-agent"><img src="https://followagents.com/badge/pentesterflow-agent.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.1.20 PentesterFlow v0.1.20
    Release notes excerpt
    Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.19...v0.1.20
    View on GitHub ↗
  2. v0.1.19 PentesterFlow v0.1.19
    Release notes excerpt
    Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.18...v0.1.19
    View on GitHub ↗
  3. v0.1.18 PentesterFlow v0.1.18
    Release notes excerpt
    Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.12...v0.1.18
    View on GitHub ↗

FAQ

Will it attack a target automatically?
Sensitive operations are permission-gated by default, with allow-once, allow-session, and deny choices. The optional --yolo mode is intended for labs and is documented as auto-approving non-sensitive tool calls.
Must assessment data be sent to a cloud model?
No. Ollama and LM Studio are supported as local backends, alongside hosted providers and OpenAI-compatible endpoints. The selected backend determines the actual data boundary.
How does it address false positives?
The workflow expects request-and-response reproduction evidence before confirm_finding is used. Saved reports include evidence and a reproducible curl command, although the analyst remains responsible for the final security judgment.
Can an interrupted engagement be resumed?
Yes. Sessions are stored under ~/.pentesterflow/sessions/*.json and resumed with pentesterflow --resume <session-id>, including a persistent-memory recap. Manual snapshots and five-minute automatic snapshots during active sessions provide additional continuity.
What sensitive information remains on disk?
Potential artifacts include sessions, context snapshots, project and personal memory, findings, coverage state, and logs. Common secret formats are redacted in compaction, snapshots, and learning paths, but full debug logs may still contain target data, command output, and copied requests.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts