TL;DR: Agent harnesses combined with Model Context Protocol servers and persistent knowledge stores can cut time to find issues from days to hours and surfaced two information leaks totaling more than 12 million records, according to Bishop Fox. The practical shift is not replacing testers, but giving them deterministic tooling, better coverage, and tighter human oversight.
Editorial analysis by NHI Mgmt Group, based on content published by Bishop Fox: “Using MCP Agents for Penetration Testing”.
By the numbers:
- Two information leaks totaling more than 12 million unique records were surfaced during the work described in the article.
Key questions
Q: How should teams prevent AI harnesses from drifting outside penetration-test scope?
A: Start by binding the harness to a written test plan, a limited toolset, and explicit target boundaries.
Q: Why do MCP-based agent harnesses improve penetration-test coverage?
A: They reduce the manual overhead of moving between discovery, validation, and reporting, so testers can spend more time on judgment-heavy work.
Q: What are the signs that an AI-assisted pen test is becoming unreliable?
A: The clearest signs are unlogged actions, unclear scope boundaries, inconsistent command sequences, and findings that cannot be traced back to observed output.
Practitioner guidance
- Define harness scope before allowing AI execution Specify which targets, tools, and test phases an agent may touch, and keep those boundaries narrow enough that a human reviewer can validate every step.
- Use deterministic tools as the evidence layer Run scans, proxies, and cloud enumeration through controlled tooling so the output is reproducible, reviewable, and suitable for engagement records.
- Log every delegated command and result Record each command, response, and artefact location as the harness progresses so findings can be traced back to the exact action that produced them.
Bottom line: AI-assisted penetration testing is most effective when the model is wrapped in deterministic tools, scoped plans, and continuous human oversight.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Structured agent harnesses are becoming the practical control plane for AI-assisted testing. The article's core lesson is that the value comes from governed execution, not open-ended prompting. Once a harness can plan, call tools, and preserve state, penetration testing becomes more repeatable and easier to supervise. The practitioner conclusion is that AI should be wrapped in process controls before it is allowed into fieldwork.
A few things that frame the scale:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: Should penetration testers use AI for external, application, and cloud assessments?
A: Yes, when the workflow is tightly bounded, evidence-producing tools are used, and human oversight remains continuous. The right question is not whether AI can test, but whether the harness improves coverage without weakening scope discipline, account separation, or reporting quality.
👉 Read our full editorial: MCP agent harnesses are accelerating penetration test coverage