Blog··6 min read

PentestGPT alternative: from an LLM advisor to an autonomous, local pentester

PentestGPT is an excellent LLM assistant that guides a human operator through a test. If you want the model to actually run the engagement, through a controlled tool layer, on a local model, with Active Directory and Kubernetes coverage and proof per finding, here is the honest comparison.

PentestGPT is one of the projects that made LLM-assisted security testing credible. It is an open-source, interactive assistant that keeps track of a test's state and tells a human operator what to try next, which command to run, how to interpret the output, where to pivot. If you want a knowledgeable second brain while you drive the engagement yourself, it is genuinely good at that, and this article is not a knock on it. It is for people who have hit the one edge that defines it: you are still the one running every command.

The real difference: advisor versus operator

PentestGPT sits next to you. It reasons about the test and produces guidance; you execute. Darkmoon is built to run the engagement itself. The model plans and decides, but it does not get a shell. Instead it selects tools through a controlled Model Context Protocol layer, and a toolbox actually invokes the binaries under a bounded executor. That is the difference between a tool that tells you what to type and one that carries the chain end to end and hands you a report. We describe that architecture in multi-agent AI pentesting without giving the model a shell.

DarkMoon Terminal Explorer in the open-source Community edition, Workspace tab, on lab campaigns against intentionally vulnerable training apps: totals (188 findings, 115 exploited, 36 critical, 24 attack paths, 0 evidence-backed), recent campaigns and projects, an executive panel with a rated Cyber Score of E 0/100 and the first treatment actions, and a severity breakdown of the selected campaign.
What the open-source Community edition hands back once it has run the engagement: the Terminal Explorer with findings and exploited totals, recent campaigns and an executive Cyber Score panel with the first treatment actions. Lab data from intentionally vulnerable training apps.Captured 20 November 2026 from the Terminal Explorer.

Where PentestGPT stops and Darkmoon continues

DimensionPentestGPTDarkmoon
RoleAdvises a human, who executesRuns the engagement through a controlled tool layer
Model locationBuilt around cloud LLM providersLocal model by default (Ollama or llama.cpp), cloud optional
Sensitive dataPrompts and output go to the model as-isPrivacy gateway sends deterministic placeholders, not real IPs, hosts or credentials
ScopeGuides classic web and host testingAdds first-class Active Directory and Kubernetes attack paths
OutputInteractive guidance for the operatorFindings graded by demonstrated impact, with the payload and raw response
DarkMoon Pro Attack paths tab on an anonymised real OWASP Juice Shop campaign: eleven Possible attack paths, each marked Inferred, a note that no path could be proven from the evidence of its 57 findings, and the first inferred path drawn as a dashed three-step route on the zoned map under an 'Inferred attack path · not proven' banner.
Linked findings in the Pro Attack paths tab: each path labelled by provenance, here eleven Possible paths marked Inferred, next to a zoned map of the first. Anonymised real OWASP Juice Shop campaign of 26 April 2026 (demo.dark-moon.org).Captured 22 November 2026 from demo.dark-moon.org.

What that buys you

  • Coverage and cadence. An autonomous operator re-runs the same disciplined chains across every host and identity without tiring, which a human-in-the-loop advisor cannot do at scale.
  • Data that stays yours. Running on a local, self-hosted model plus the privacy gateway means the model works from markers, not your production values.
  • Proof, not a to-do list. Each finding is marked EXPLOITED, CONFIRMED or capped low when only a lead exists, so you get evidence rather than suggestions to chase.
DarkMoon Pro campaign overview of an anonymised real campaign against OWASP Juice Shop (26 April 2026, 57 findings): the campaign header with Map, Attack paths, Findings, Overview and Reports tabs, a Cyber Score of E 0/100 marked Rated with an explanation of what holds the grade, and the first recommended actions (access control, authentication).
The Pro campaign overview: a rated Cyber Score with what holds the grade, and the first recommended actions rather than a list of things to try. Anonymised real campaign against OWASP Juice Shop, an intentionally vulnerable training application (demo.dark-moon.org).Captured 22 November 2026 from demo.dark-moon.org.

When PentestGPT is still the right pick

If you want a hands-on assistant that teaches as it goes, keeps you fully in control of every action, and you are comfortable executing each step yourself against a cloud model, PentestGPT does that well and is a fine choice. Darkmoon is for the case where you want the model to actually do the work, locally, with the data controls and the AD and Kubernetes reach that a guided assistant does not aim to provide. Both are open source; they are simply built for different jobs.

Full disclosure: Darkmoon is our project (AGPL-3.0), self hosted and auditable. Read every line: github.com/ASCIT31/Dark-Moon, or start with the field guide to open source AI pentest tools.

Next
Run it against your own lab

Darkmoon is open source (AGPL-3.0) and self hosted. Clone it, point it at a target you own, and read every line.