Xalgorix: Open-Source AI Tool Enhances Penetration Testing Accuracy
A new open-source AI penetration testing tool, Xalgorix, aims to significantly reduce false positives by employing a novel dual-agent verification system.

Xalgorix, a recently released open-source artificial intelligence penetration testing tool, introduces a unique approach to enhance the accuracy of vulnerability assessments. Unlike traditional tools, Xalgorix incorporates a secondary AI agent tasked with independently verifying any potential vulnerabilities identified by its primary agent. This 'verifier' agent attempts to exploit the reported flaw, and only if it can confirm exploitability or definitively rule it out does the finding proceed. If the verifier cannot reach a conclusive state, the vulnerability is flagged for manual review by a human security professional, thereby minimizing the occurrence of false positives.
The project's founder, Krishna Kumar, stated that the tool is designed to address the persistent issue of false positives, which can waste valuable time and resources for security teams. While internal benchmarks are used to measure the tool's effectiveness in reducing these inaccuracies, Kumar indicated no immediate plans for public release of these metrics. The core of Xalgorix is a Go binary that includes a local web dashboard, distributed under the permissive Apache-2.0 license. It leverages a large language model (LLM) agent capable of browsing and interacting with a terminal, following a comprehensive 22-phase test plan that spans from initial reconnaissance to final report generation.
Xalgorix integrates with numerous standard penetration testing tools such as Nmap, Nuclei, and SQLmap. It also supports seven different LLM providers, including the ability to run local models via Ollama. To maintain focus and security, a 'scope guard' feature is implemented to prevent the tool from making calls to any host outside the defined target scope and its subdomains.
The verification mechanism is a key differentiator. Kumar emphasized that the verifier is a distinct agent role, operating with a fresh context and treating the initial findings as untrusted. This agent is equipped with read-only tools and operates under strict limitations, with each verification attempt capped at eight turns and three minutes. The verifier applies specific criteria for different vulnerability classes. For instance, Cross-Site Scripting (XSS) requires actual script execution, not just observable reflection, while Server-Side Request Forgery (SSRF) demands an HTTP callback from the target server to a new token, with redirects disabled, and callbacks originating from the scanner itself are disqualified.
Furthermore, Xalgorix's code can override the LLM's assessment. If the model reports a confirmed vulnerability without a successful re-test by the verifier, the code automatically downgrades the verdict to 'inconclusive.' The verifier only dismisses a finding upon positive disproof, such as identifying the behavior as intended. Vulnerabilities requiring a second account or those that occur outside the verifier's observational scope are automatically routed to the manual review queue.
While the project's README offers broad comparisons to tools like Nuclei, OWASP ZAP, and commercial Dynamic Application Security Testing (DAST) solutions, it refrains from presenting specific test results. Kumar described two internal validation methods: one comparing vulnerable applications with their secure builds to identify false positives, and another testing real CVEs against vulnerable and patched versions of software, such as Grafana for CVE-2021-43798. The tool is also beginning to incorporate the XBOW validation benchmarks.
Regarding LLM performance, Claude Opus 5.5 has reportedly yielded the best results, with weaker models sometimes struggling with long chains of tool calls and context growth, leading to malformed outputs. Xalgorix includes mechanisms to recover from such errors, though Kumar noted that local models still require more oversight during extended scans. The tool is distributed as a Docker image that runs as root, necessitating privileged access or specific capability additions. Users are advised to treat the container as a disposable sandbox within an isolated network environment.
Xalgorix is freely available on GitHub, offering security professionals a new, AI-driven approach to penetration testing that prioritizes accuracy and reduces the burden of sifting through false alarms.