PentesterFlow
A human-controlled terminal agent for authorized penetration testing and evidence-backed vulnerability reporting.
- Source repo
- PentesterFlow/agent
- Stars
- ★ 1.5k
- Last updated
- 3mo ago v0.1.20
- FARS reviewed
- Nov 08, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- 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.
- 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.
- A bug-bounty researcher validating IDOR, JWT, SSRF, SSTI, GraphQL, or race-condition candidates and needing reproducible requests and responses for a submission.
- A security team running a multi-session assessment that needs saved sessions, compacted memory, context snapshots, and coverage tracking to resume without rebuilding context.
- A Burp Suite user who wants to send selected requests to a terminal agent for analysis and import confirmed findings back as Burp issues.
- 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 | shirm https://raw.githubusercontent.com/PentesterFlow/agent/main/install.ps1 | iex
- Environment variables
MOONSHOT_API_KEYGROQ_API_KEYOPENROUTER_API_KEYDEEPSEEK_API_KEYGEMINI_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 | shOn Windows PowerShell:
irm https://raw.githubusercontent.com/PentesterFlow/agent/main/install.ps1 | iexThe 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 buildA supported model backend is also required for first use. The documented local Ollama path is:
ollama pull qwen2.5-coder:32bpentesterflow
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 IDORA backend can also be selected at launch:
pentesterflow --backend ollama --model qwen2.5-coder:32bFor 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.1.20 PentesterFlow v0.1.20
Release notes excerpt
Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.19...v0.1.20View on GitHub ↗ -
v0.1.19 PentesterFlow v0.1.19
Release notes excerpt
Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.18...v0.1.19View on GitHub ↗ -
v0.1.18 PentesterFlow v0.1.18
Release notes excerpt
Full Changelog: https://github.com/PentesterFlow/agent/compare/v0.1.12...v0.1.18View on GitHub ↗
FAQ
Will it attack a target automatically?
Must assessment data be sent to a cloud model?
How does it address false positives?
Can an interrupted engagement be resumed?
What sensitive information remains on disk?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.