Xalgorix launches open-source AI tool for automated penetration testing
The new tool uses a dual-agent system to verify security vulnerabilities, aiming to reduce the false positives that often plague automated scans.
The short version
- Uses a primary agent to find bugs and a separate verifier agent to attempt to exploit them.
- Supports seven LLM providers, including local models via Ollama and high-performing models like Claude Opus 5.5.
- Includes a scope guard to prevent the AI from interacting with any hosts outside of configured targets.
- Released under the Apache-2.0 license and available for free on GitHub.
- Designed to handle complex 22-phase test plans including reconnaissance and report generation.
Why it matters
For security teams, this tool addresses a major pain point in automated scanning: the high volume of false positives. By requiring a second AI to prove a bug exists before reporting it, it helps human reviewers focus on real threats.
A new approach to bug hunting
Xalgorix is an open-source tool designed to perform penetration testing, which is the practice of testing a computer system for security weaknesses. Unlike many automated scanners that simply flag potential issues, Xalgorix aims to confirm whether a vulnerability is actually exploitable. It does this by employing a multi-step process that mimics how a human security researcher might work.
The tool operates as a Go binary and includes a local web dashboard for users. It is released under the Apache-2.0 license, making it accessible for the open-source community. The system is designed to run within a Docker container, which the maintainers suggest treating as a disposable sandbox on an isolated network for safety.
The primary goal of the project is to reduce false positives. These are instances where a tool identifies a security flaw that does not actually exist or cannot be used by an attacker. By filtering these out automatically, the tool helps security professionals spend less time investigating harmless alerts.
How the dual-agent system works
The core of Xalgorix is a dual-agent verification system. A primary agent acts as the hunter, using a browser and a terminal to navigate through a 22-phase test plan. This plan covers everything from initial reconnaissance to the generation of a final report. During this process, the hunter uses standard industry tools like Nmap, Nuclei, and SQLmap to probe for weaknesses.
When the hunter finds a potential bug, a second agent, the verifier, takes over. As Krishna Kumar, the project’s founder, told helpnetsecurity.com, "The verifier is a separate agent role," meaning it starts with a fresh context and treats the hunter's evidence as untrusted. It is given read-only tools and must independently prove the bug is real.
The verifier follows strict rules to ensure high-quality results. For example, in the case of Cross-Site Scripting (XSS), the verifier requires the script to actually execute rather than just being reflected on a page. For Server-Side Request Forgery (SSRF), it looks for a specific HTTP callback from the target server to a fresh token. If the verifier cannot prove the bug, the finding is flagged for a human to review manually.
Model performance and constraints
Xalgorix is flexible in its architecture because it works with seven different LLM providers. This includes the ability to run local models through Ollama or use more powerful cloud-based models. Kumar noted that Claude Opus 5.5 has provided the best results so far because it handles long chains of tool calls more reliably than weaker models.
Weaker models can sometimes produce malformed tool calls or lose track of the state as the testing context grows. While Xalgorix has mechanisms to recover from these errors, local models currently require more human supervision during long scans. This highlights the ongoing challenge of using large language models for complex, multi-step technical tasks that require high precision.
To keep the process efficient, each check by the verifier is capped at eight turns and three minutes. If a bug requires a second account or occurs outside of the verifier's specific view, the system does not automatically discard it. Instead, it places the finding into a manual review pile, ensuring that complex vulnerabilities are not missed by the automated system.
Testing and safety measures
The developers have implemented several safeguards to ensure the tool behaves predictably. A scope guard is included to block any tool calls to hosts that are not part of the configured targets or their subdomains. This prevents the AI from wandering into unauthorized parts of a network during a test.
The team has also conducted internal benchmarks to measure the tool's accuracy. One test involved pairing small vulnerable applications with secure versions of the same features to see if the tool correctly ignored the secure builds. Another test involved running real CVEs in containers next to their patched releases, such as specific versions of Grafana, to ensure the tool could identify the flaw and leave the patched version clean.
While these tests are being conducted, the team has not yet planned to publish the full results. They have also begun work on the XBOW validation benchmarks but have not completed all 104 tests. For now, the tool is available for free on GitHub for those who want to test its capabilities in their own controlled environments.
What to watch
- Whether the team will eventually release their internal benchmark results.
- How the tool performs as more local models become capable of handling long chains of tool calls.
Try it
If you have a local environment, you can find Xalgorix on GitHub to see how it handles a 22-phase test plan.
Sources and links
- Codegithub.com/xalgorix/xalgorix github.com
- ReportingHelpnetsecurity: the article we sourced
Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.