PentesterFlow ships two binaries, two lockfiles, and three different version numbers
Agentic offensive-security in your terminal
At a glance
- What is it?
- An agentic terminal assistant for authorized penetration testing, with a permission-tier design worth reading and a version story that does not agree with itself in three places. The install path also pipes a remote script straight into a shell.
- Who is it for?
- PentesterFlow suits an analyst who wants an agent that stops and asks, and who will actually read what it asks about. The permission-tier design is the substance here: ask is the default, auto-safe exists for the mechanical calls, and yolo is named in the code rather than hidden, which is more than most tools in this space offer.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 84 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- PentesterFlow/agent1,463 ★ · +118
| Repository | 2026-09-11 | 2026-11-22 |
|---|---|---|
| PentesterFlow/agent | 1.3k | 1.5k |
118 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The package version, the release tags, and the banner are three different numbers
The manifest says `0.3.0`. The newest release tag says `v0.1.20`, published 2026-06-14. The install banner in the quickstart example prints `PF v0.3.0`. So the version the project builds and displays, and the version the release history stops at, have drifted apart by more than a dozen patch releases.
The last push on the default branch is 2026-08-31, which is recent, but the most recent tag is nearly three months older than that. Nothing in the repository explains the gap, and there is no changelog entry visible that accounts for it.
This matters more than usual here because the installers are version-pinnable but not pinned by default. The documented pin syntax is a `PENTESTERFLOW_VERSION` environment variable passed into the install script, which means the unpinned default follows whatever `main` holds today. Combined with a release list that stops at a lower number than the source tree, you have a project where the artifact you install and the artifact the tags describe may not be the same artifact.
The install documentation also states that the installers verify a published SHA-256 checksum when available. The qualifier matters: where no checksum is published, nothing is verified.
Two lockfiles, two package managers, and both are committed
The repository root carries `bun.lock` and `package-lock.json` side by side. The manifest declares `packageManager` as `[email protected]`, the scripts run under Bun, and the build is `tsup`, but a second lockfile for a different package manager is present in the same tree.
This is the shape you get when a project moves package managers and keeps the old lockfile. It is not harmful in itself, since only one is consulted per invocation, but it means the tree contains two different resolutions of the same dependency set, one of which is stale by construction. Nothing in the repository says which is authoritative.
The declared runtime floor is Node 20 or newer, while the development path is Bun, and the test suite runs on Vitest with a separate `test:opentui` target for the terminal UI components. The combined `ci` script chains typecheck, lint, test, the UI test target and build, which is a sensible gate and does tell you that the terminal UI has its own test suite separate from the rest.
Both binaries are published under one package: `pentesterflow` resolves to `dist/cli.js`, and `pentesterflow-browser-mcp` resolves to a second entry point.
Three permission tiers, and the dangerous one is named out loud
The permission model is the part of this project worth studying. It has three tiers named `ask`, `auto-safe` and `yolo`, plus allow-once and session-scoped grants, plus a plan mode.
`ask` is the default, and the warning block states what sits behind it: the agent can run shell commands, make HTTP requests, edit files, and process captured traffic after approval. That enumeration is unusually specific for a warning, and it is the honest version, because those four capabilities are the whole risk surface of a tool like this.
Naming `yolo` in the documentation rather than hiding it behind a config flag is the second thing worth copying. A mode that disables approval should exist, it should be spelled plainly, and it should be easy to notice when it is on.
The scoped grants are the part that keeps the model usable rather than annoying. Allow-once and session scope mean a workflow that needs twenty HTTP calls does not need twenty modals, without opening the door to unattended execution.
A fork flag decides whether a playbook loads or never enters context
Skills are Markdown playbooks covering recon, web vulnerabilities, SSRF, SSTI, JWT, GraphQL, race conditions, subdomain takeover, Supabase and deserialization. Each one can be forked.
Forking is the interesting mechanism. A forked playbook is loaded by a child context rather than the parent, and the session transcript shows it happening, including the tool count:
⏺ Skill webvuln · forked
⎿ forked webvuln · 4 toolsThe reason to fork is size. A long playbook that sits in the parent context is spent on every turn; forked, it is paid for once and stays out of the way. The repository puts `skills/` at the top level rather than burying it, and `package.json` ships it in the published `files` list, so the playbooks are part of the distributed artifact and can be read before installation.
That is the property that makes this class of tool auditable, and it is the one to check for when evaluating an agent that will make requests on your behalf.
Findings are Markdown files gated behind a reproduction step
Confirmed findings land in `./findings/<slug>.md` with evidence, impact, proof of concept and remediation. The gating is a tool named `confirm_finding`, and the documentation states it should be used only after reproduction with request and response evidence attached.
The worked example in the quickstart shows what a finding looks like when the process works, and it is worth reading for the shape rather than the content:
★ (high) IDOR on /api/v1/orders/{id}
⎿ written to ./findings/idor-orders.mdwith the preceding step showing a request made with one bearer token and the response confirming cross-account access. That is the audit trail the design is aiming at: a request, a response, a severity, a file.
Auditability is carried by three separate mechanisms rather than one. Commands are meant to be copy-pasteable, findings are Markdown rather than a database row, and session logs are JSON lines. Between them you get something you can read without the tool running.
The `BURP_INTEGRATION` and browser capture paths feed captured traffic into the same loop, which is how findings get their request and response pairs rather than a model's recollection of one.
Seven backends, and the two hosts you would not expect are the fast ones
Backends include Ollama, LM Studio, Kimi, Groq, Gemini, Anthropic and any OpenAI-compatible endpoint. Hosted model lists are fetched live from each provider, so the set of available models is not pinned in the repository and will change under you.
Three of the backends carry provider-specific workarounds that are worth knowing because they describe failure modes:
pentesterflow --backend groq --model openai/gpt-oss-20bGroq sessions use a compact prompt and a lower compaction threshold, to avoid on-demand token-per-minute errors during long assessments. LM Studio responses are trimmed with stop tokens and template-marker cleanup, to stop `<|user|>` and `<|observation|>` markers leaking into the output. The Gemini picker sorts by recommended and cheap.
That list is a useful map of what actually goes wrong with each. The local paths are Ollama on `http://localhost:11434` and LM Studio, both reachable without a key, and the quickstart pairs Ollama with a 32B coder model pulled locally. If your engagement cannot leave the machine, that is the path, and the compaction threshold matters more than the model choice.
The default install pipes a remote script into your shell on two platforms
There are two one-line installers, and both are the same shape: fetch a script over the network and execute it without saving it first.
curl -fsSL https://raw.githubusercontent.com/PentesterFlow/agent/main/install.sh | shirm https://raw.githubusercontent.com/PentesterFlow/agent/main/install.ps1 | iexBoth point at `main`, not at a tag, so the script that runs is whatever that branch holds at the moment you run it. The project does document a better path in the same section: a version-pinned invocation with `PENTESTERFLOW_VERSION` and an explicit `PENTESTERFLOW_INSTALL_DIR`, and prebuilt per-OS binaries listed in a table, with macOS and Linux on arm64 and x64 and Windows on x64 only.
The x64 standalone binaries are built against Bun's baseline runtime specifically so they do not require AVX2, which is the kind of detail that only matters if you have hit it on an older CPU and is worth knowing before you assume a binary will start.
The checksum verification mentioned earlier is qualified with when available, so treat the two piped installers as the weakest link in a chain that otherwise goes to real effort: an Apache-2.0 license, a committed `AUDIT.md`, shipped skills, and stable session files.
Editorial conclusion
PentesterFlow suits an analyst who wants an agent that stops and asks, and who will actually read what it asks about. The permission-tier design is the substance here: ask is the default, auto-safe exists for the mechanical calls, and yolo is named in the code rather than hidden, which is more than most tools in this space offer. Three things to settle before a session. Read AUDIT.md and the skills directory, because a forkable skill that rewrites requests on your behalf is the part that changes what the tool can do, and the repository publishes both for inspection. Decide which backend you want before you start, since the local model path and the hosted paths differ in how much of your engagement leaves the machine. And pin a version rather than taking the head of the install script, because the version this repository reports is not the version its own tags stop at. If you want an agent that never runs a shell command without asking, this is not it; if you want one that will keep going while you watch, the tier switch is a single command.
Frequently asked questions
What is PentesterFlow used for?
It is a terminal agent for authorized penetration testing and bug bounty work that plans against a scoped target, runs real tools, asks for approval on sensitive actions, and writes evidence-backed findings. Confirmed findings are saved as Markdown under `./findings/`.
What permission tiers does PentesterFlow have?
Three, named `ask`, `auto-safe` and `yolo`, plus allow-once and session-scoped grants and a plan mode. `ask` is the default, and the agent can run shell commands, make HTTP requests, edit files and process captured traffic once approved.
How do I install PentesterFlow?
Either pipe the installer to your shell, pin a version with `PENTESTERFLOW_VERSION`, or take a prebuilt binary from GitHub Releases. macOS and Linux ship arm64 and x64 builds, Windows ships x64 only, and the x64 binaries do not require AVX2.
Which models can PentesterFlow use?
Ollama, LM Studio, Kimi, Groq, Gemini, Anthropic and any OpenAI-compatible endpoint. Model lists are fetched live from each provider rather than pinned in the repository, so the available set changes over time.
Can I resume a previous PentesterFlow assessment?
Yes. `pentesterflow --resume <session-id>` reloads a saved session and prints a recap of the persistent memory from that session, so you do not have to reconstruct the context by hand.
Official sources
Where developers are discussing it
Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 1 in the last 30 days; newest first.
- Beyond ARTEX: 45 Agentic Attack Frameworks, What They Hunt For, and How to Find Themdev.to · Nov 17, 2026 · 2 points · 0 comments
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/pentesterflow-agent)Star history chart for your README
[](https://hysenlabs.com/projects/pentesterflow-agent)Was this useful?