1. Conduid
  2. Security
  3. Pentest AI
MCP server · Security

Pentest AI

Open-source AI pentester that proves every finding. Machine oracles re-run each exploit; verified bugs ship a proof capsule you can replay yourself.

88Strong

Scored 20 hours ago · breakdown

About Pentest AI

Pentest AI is an MCP server published by 0xSteph in the Security category: open-source AI pentester that proves every finding. Machine oracles re-run each exploit; verified bugs ship a proof capsule you can replay yourself. Conduid read 51 tools from its source: authenticated_scan, browser_inspect, builtin_scan, close_engagement, discover_attack_chains, ensure_tools_installed and 45 more. It is published to PyPI as ptai and runs with uvx.

The repository has 1.9K stars and 347 forks, is licensed MIT, and its last commit was on 16 Nov 2026. The latest release is v1.6.2 (16 Nov 2026): ptai 1.6.2 fixes bug bounty mode. It follows v1.6.1 (3 Nov 2026), and the 5 most recent releases go back to v1.4.0 (2 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include ai-security, bug-bounty, ctf, cybersecurity, exploit and exploit-chaining.

Install

uvx
uvx ptai
pip
pip install ptai
From source
git clone https://github.com/0xSteph/pentest-ai

Tools (51)

authenticated_scanRun a deterministic authenticated web scan (no LLM required).
ParameterTypeDescription
auth_profilestring
bearer_tokenstring
engagement_idstring
login_urlstring
max_pagesinteger
passwordstring
password_fieldstring
success_markerstring
success_statusinteger
target *string
timeout_secondsnumber
usernamestring
username_fieldstring
browser_inspectInspect a URL with the headless browser.
ParameterTypeDescription
actionstring
url *string
builtin_scanRun built-in security scans without requiring any external tools.
ParameterTypeDescription
scan_typestring
target *string
close_engagementClose an engagement and mark it as completed.
ParameterTypeDescription
engagement_id *string
discover_attack_chainsDiscover attack chains from existing findings.
ParameterTypeDescription
engagement_id *string
ensure_tools_installedAudit which of the given tools are installed; optionally install the missing ones.
ParameterTypeDescription
auto_installboolean
tools *array
generate_detection_rulesGenerate detection rules (Sigma, SPL, KQL) for all discovered attacks.
ParameterTypeDescription
engagement_id *string
generate_reportGenerate a professional pentest report (asynchronous).
ParameterTypeDescription
engagement_id *string
formatstring
include_detectionsboolean
include_pocsboolean
get_attack_chainsGet discovered attack chains for an engagement.
ParameterTypeDescription
engagement_id *string
get_campaign_summaryGet aggregated summary across all engagements in a campaign.
ParameterTypeDescription
campaign_id *string
get_configGet current pentest-ai configuration (secrets masked).
get_engagement_statusGet the current status of a pentest engagement.
ParameterTypeDescription
engagement_id *string
get_engagement_summaryGet a summary of an engagement including finding counts, chains, and rules.
ParameterTypeDescription
engagement_id *string
get_evidenceRetrieve evidence artifacts for an engagement or specific finding.
ParameterTypeDescription
as_curlbooleanfor http_request artifacts, parse the captured exchange and emit a copy-pasteable curl one-liner in `curl`.
engagement_id *string
finding_idstring
include_contentbooleanread each artifact's file contents into `content`.
get_findingsGet findings from current or specific engagement.
ParameterTypeDescription
engagement_idstring
severitystring
sincestring
statusstring
urlstring
healthLiveness probe for plugin / dashboard consumers.
http_requestSend an arbitrary HTTP request against the engagement's target.
ParameterTypeDescription
allow_destructiveboolean
auth_profilestring
bodystring
engagement_id *string
headersobject
json_bodyobject
method *string
url *string
kill_processTerminate a running tool subprocess by PID.
ParameterTypeDescription
grace_secondsnumber
pid *integer
list_engagementsList all pentest engagements, optionally filtered by status.
ParameterTypeDescription
limitinteger
status_filterstring
list_pluginsList installed YAML plugins from ~/.pentest-ai/plugins/.
list_probesList every registered web probe with its metadata.
ParameterTypeDescription
bug_classstring
requires_auth_onlyboolean
list_processesList running tool subprocesses tracked by the engine.
list_toolsList all available security tools, optionally filtered by category.
ParameterTypeDescription
categorystring
plan_toolsPredict which security tools will likely be needed for an engagement.
ParameterTypeDescription
intensitystring
scopestring
targetstring
poll_oobPoll the OOB collaborator server for callbacks raised by recent
ParameterTypeDescription
engagement_id *stringengagement to poll for
intervalintegerseconds between polls (server default = 5)
timeoutintegertotal seconds to wait (capped at 300 to prevent runaway)
prove_attack_chainRe-prove a discovered attack chain end to end and emit one replayable,
ParameterTypeDescription
chain_id *string
intensitystring
query_complianceQuery compliance mapping for an engagement's findings.
ParameterTypeDescription
engagement_id *string
frameworkstring
resume_engagementResume an interrupted engagement from its last checkpoint.
ParameterTypeDescription
engagement_id *string
run_probeRun a single registered probe against ``target``. AUTHORIZED TARGETS ONLY.
ParameterTypeDescription
auth_profilestring
candidate_endpointsarray
engagement_idstring
js_urlsarray
probe_name *string
target *string
run_reconStart a reconnaissance scan against a target.
ParameterTypeDescription
depthstring
target *string
run_toolRun a specific security tool against a target.
ParameterTypeDescription
argsobject
target *string
tool_name *string
scan_dns_builtinPerform DNS enumeration (built-in).
ParameterTypeDescription
target *string
scan_headers_builtinAnalyze HTTP security headers (built-in).
ParameterTypeDescription
target *string
scan_paths_builtinScan for common sensitive paths (built-in).
ParameterTypeDescription
target *string
scan_ports_builtinScan common ports on a target (built-in, no nmap required).
ParameterTypeDescription
target *string
scan_secrets_builtinScan HTTP responses for leaked secrets and credentials (built-in).
ParameterTypeDescription
target *string
scan_ssl_builtinCheck SSL/TLS configuration (built-in).
ParameterTypeDescription
portinteger
target *string
select_agentPick the right specialist agent for a target + optional intent hint.
ParameterTypeDescription
intentstring
target *string
set_intensityChange scan intensity (stealth, normal, aggressive) mid-engagement.
ParameterTypeDescription
engagement_id *string
intensity *string
start_campaignStart a multi-target campaign. Creates and launches one engagement per target.
ParameterTypeDescription
intensitystring
scopestring
targets *array
test_active_directoryRun Active Directory security assessment.
ParameterTypeDescription
auth_profilestring
credentialsobject
domain *string
target_ip *string
test_api_securityRun API security testing (REST + GraphQL) following OWASP API Top 10.
ParameterTypeDescription
engagement_idstring
spec_urlstring
target *string
test_cloudRun cloud security assessment.
ParameterTypeDescription
auth_profilestring
credentialsobject
provider *string
target *string
test_credentialsRun authentication testing (default creds, password spray, MFA bypass).
ParameterTypeDescription
engagement_idstring
target *string
userliststring
wordliststring
test_mobileRun mobile app security testing (Android or iOS).
ParameterTypeDescription
engagement_idstring
platformstring
target *string
test_privescRun privilege escalation enumeration on a compromised host.
ParameterTypeDescription
engagement_idstring
platformstring
target *string
test_social_engineeringRun a social engineering assessment (phishing simulation, OSINT, DMARC audit).
ParameterTypeDescription
campaign_typestring
engagement_idstring
target *string
targets_listarray
test_vulnerabilitiesRun vulnerability scanning (Nuclei + nikto; nuclei CVE templates are the primary known-CVE path).
ParameterTypeDescription
engagement_idstring
target *string
templatesstring
test_web_appRun a full deterministic web application scan against ``target``.
ParameterTypeDescription
auth_credentialsobject
auth_profilestring
focus_areasarrayRestrict to a subset (``sqli``, ``xss``, ``ssrf``, ``idor``, ``auth``, ``api``, ``all``). Defaults to ``["all"]``.
intensitystring``stealth``, ``safe``, ``normal``, or ``aggressive``. Catch-rate CI and Juice Shop use ``aggressive`` so the ScanProfile rps cap does not turn a 4-minute sweep into a timeout.
target *string
test_wirelessRun wireless security assessment (WiFi + Bluetooth). Returns
ParameterTypeDescription
engagement_idstring
interfacestring
target *string
validate_findingGenerate a safe, non-destructive proof-of-concept for one finding.
ParameterTypeDescription
finding_id *string

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.7K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !No dynamic code executionScanned 240 source files and found 2 calls to eval or shell execution, in engine/oob/payloads.py:158 and engine/probes/payloads/library.py:165. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdio and HTTP with SSEmcp_server/server.py:2116, mcp_server/server.py:2121
Starts other programs
13 callscli/credential_resolvers/op.py:39, cli/mcp_setup.py:108, cli/menu.py:391
Outbound network calls
93 callsagents/llm_redteam/adapter.py:37, agents/llm_redteam/adapter.py:41, agents/llm_redteam/agent.py:68
Writes or deletes files
39 callsmcp_server/auth_local.py:41, mcp_server/server.py:1969, agents/browser/browser_agent.py:117
Lockfile
uv.lock

Pattern matches on the source text of 240 files: places to read, not proof of what the code does at run time.

Releases

v1.6.2v1.6.2 · 16 Nov 2026ptai 1.6.2 fixes bug bounty mode. Each fix closes a path where a scan under `--program` did something the program profile or the dry run did not say. Under a program, ptai now: Sends the researcher header on every request, including…
v1.6.1v1.6.1 · 3 Nov 2026The default Claude model is now `claude-sonnet-5-5`, up from `claude-sonnet-4-6`. It applies only when ptai calls Anthropic itself (`ptai start` with `ANTHROPIC_API_KEY` set) and `PENTEST_AI_MODEL` is unset. Over MCP, the host client's…
v1.6.0v1.6.0 · 3 Nov 2026Bug bounty mode, and current Claude and GPT models can drive the AI path. The `v1.5.0` tag and GitHub release never reached PyPI. Everything in those notes ships in 1.6.0. Highlights `ptai start --program <name>` scans under a program…
v1.5.0v1.5.0 · 7 Oct 2026pentest-ai 1.5.0 Scope-bounded bug-bounty workflow, plus fixes for every defect found in a full end-to-end audit. Scope safety Scope enforcement now runs on every engagement path: default start, campaigns, authenticated scans, resume,…
v1.4.0v1.4.0 · 2 Sep 2026Juice Shop HTTP harvest follow-through that sat unpublished on 1.3.1. Same detect-and-prove product; the web probes actually finish what they already found. Highlights `web.spa_hash_routes`, `race_condition` oracle, `mass_assignment`…

README

The repository's README runs to about 1.7K words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About Pentest AI

How do I install Pentest AI?

Run uvx ptai, then add the server to your MCP client's configuration.

Is Pentest AI safe to use with an AI agent?

Its trust score is 88 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 240 source files found that it serves MCP over stdio and HTTP with SSE, starts other programs (13 calls), makes outbound network calls (93 calls) and writes or deletes files (39 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pentest AI still maintained?

Yes — the latest release is v1.6.2 (16 Nov 2026), and the last commit was 16 days ago. The repository has 1.9K stars and 5 open issues.

What tools does Pentest AI provide?

Conduid read 51 tools from the source: authenticated_scan, browser_inspect, builtin_scan, close_engagement, discover_attack_chains, ensure_tools_installed, generate_detection_rules, generate_report and 43 more. 47 of them publish their parameters, listed under Tools above.

What license is Pentest AI released under?

The repository declares the MIT license. That applies to the latest release, v1.6.2, as well.