DeadEnd-CLI: Open-Source AI Penetration Testing Tool Achieves 81% Pass Rate on Black-Box Benchmark

Open-source AI penetration testing tool DeadEnd-CLI achieves 81% pass rate on black-box benchmark testing.
DeadEnd-CLI is an open-source AI agentic penetration testing tool that uses an Agentic architecture enabling AI to autonomously reason and dynamically adjust attack strategies like a human security engineer. It achieves multi-model compatibility through LiteLLM, supports fully self-hosted deployment for data security, and reached an 81% full black-box pass rate on the XBOW benchmark using the KIMI K2.5 model, representing a paradigm shift in security automation from "pattern matching" to "semantic understanding."
Overview
In the AI security tools space, an open-source project called DeadEnd-CLI is attracting widespread attention. This autonomous agentic penetration testing tool achieved an 81% pass rate on the XBOW benchmark in full black-box testing mode using the KIMI K2.5 model, with support for fully self-hosted deployment. After launching on GitHub, the project quickly garnered 235 stars, demonstrating strong community demand for AI-driven security testing tools.
What is DeadEnd-CLI?
Core Positioning: An AI Agentic Penetration Testing Tool
DeadEnd-CLI is a Python-based command-line penetration testing tool whose core philosophy is leveraging the reasoning capabilities of large language models (LLMs) to automate penetration testing tasks. Unlike traditional automated scanning tools, DeadEnd-CLI employs an "Agentic" architecture — the AI doesn't merely execute preset scanning rules but can dynamically adjust attack strategies and reason through exploitation paths based on target environment feedback, much like a human penetration tester would.
The Agentic architecture is one of the core paradigms in current AI application development. Unlike the traditional "prompt-response" pattern, this architecture endows AI systems with capabilities for autonomous planning, tool invocation, environment interaction, and iterative feedback. In penetration testing scenarios, this means the AI agent first conducts reconnaissance on the target, formulates an attack plan based on returned information, selects appropriate tools to execute attacks, analyzes results, and then decides on the next action — the entire process forming a closed-loop reasoning-action cycle (ReAct Loop). This closely mirrors the workflow of human penetration testers and is the fundamental distinction between DeadEnd-CLI and traditional scanning tools like Nessus or Burp Suite.
Full Black-Box Testing Capability
The project particularly emphasizes its "full black-box" testing capability. In the security testing field, black-box testing means the tester has zero knowledge of the target system's internal structure and launches tests entirely from an external perspective. This is the testing approach closest to real attack scenarios and the mode that places the highest demands on AI reasoning capabilities.
More specifically, security testing is typically classified into three categories based on the tester's level of knowledge about the target system: white-box testing (with full information including source code and architecture documentation), gray-box testing (with partial information such as API documentation or low-privilege accounts), and black-box testing (knowing only the target entry point with no knowledge of internal implementation). Black-box testing most closely mirrors the perspective of a real attacker and is therefore considered the gold standard for evaluating actual system security, but it also places the highest demands on the testing tool's autonomous probing and reasoning capabilities. DeadEnd-CLI achieving an 81% pass rate under these stringent conditions demonstrates that its AI agent possesses considerable environmental awareness and strategy generation capabilities.
DeadEnd-CLI Technical Architecture Highlights
Multi-Model Compatibility: Flexible Integration via LiteLLM
A major technical highlight of DeadEnd-CLI is its compatible support for multiple large language models through LiteLLM integration. LiteLLM is an open-source unified LLM API proxy layer that wraps the APIs of dozens of model providers — including OpenAI, Anthropic, Google, Cohere, and local Ollama — into an OpenAI-compatible format. Developers only need to write one set of code and can switch underlying models by modifying configuration parameters. This design is known in engineering as a "Model-Agnostic Architecture," which not only reduces vendor lock-in risk but also allows users to flexibly choose the most cost-effective model for different task scenarios or quickly switch to backup options when a particular API service experiences outages.
Users can choose different model backends based on their needs:
- Ollama: Supports locally deployed open-source models, ideal for scenarios with strict data privacy requirements
- Anthropic (Claude series): Suitable for complex penetration tasks requiring strong reasoning capabilities
- OpenAI (GPT series): A widely used commercial model option
- Other LiteLLM-supported models: Covering virtually all mainstream LLM providers on the market
This design prevents users from being locked into any single model vendor while making it easy to compare the actual performance of different models in security testing scenarios.
Fully Self-Hosted for Data Security
In the security tools domain, data sovereignty and privacy protection are paramount. DeadEnd-CLI supports fully self-hosted deployment, meaning all test data, target information, and test results can remain within the user's own infrastructure without needing to send sensitive security testing data to third-party cloud services.
Combined with local model deployment solutions like Ollama, it's even possible to build a completely offline AI penetration testing environment. Ollama is an open-source local large model runtime framework that allows users to deploy and run open-source models like Llama, Mistral, and Qwen on personal computers or private servers with one click. Through optimized model quantization and inference engines, it enables consumer-grade GPUs or even CPU-only environments to run medium-scale language models. In security testing scenarios, Ollama's value is particularly prominent — penetration testing often involves highly sensitive information such as target system IP addresses, vulnerability details, and internal network topologies, and using Ollama for fully local inference fundamentally eliminates data leakage risks.
What Does an 81% Pass Rate on the XBOW Benchmark Mean?
XBOW is a benchmark testing platform in the security field used to evaluate the capabilities of automated penetration testing tools. It includes various common web application vulnerability scenarios covering attack types such as SQL injection, XSS, SSRF, and authentication bypass. The platform constructs a series of carefully designed target environments, each containing one or more known vulnerabilities covering the major attack types in the OWASP Top 10. Testing tools must autonomously discover and successfully exploit these vulnerabilities without human intervention to pass a given test case. XBOW's evaluation dimensions include not only vulnerability discovery rates but also attack chain completeness — whether the tool can progress from initial reconnaissance all the way to final Proof of Exploitation.
DeadEnd-CLI achieved an 81% pass rate using the KIMI K2.5 model, a result that places it at a considerably leading position among open-source penetration testing tools. Notably, KIMI K2.5 was developed by Moonshot AI, founded in 2023 by a team with Tsinghua University backgrounds, known for its long-context processing capabilities — its early product Kimi Chat was among the first to support 200,000-character ultra-long context windows. As their latest generation model, K2.5 excels in code generation, logical reasoning, and tool invocation. DeadEnd-CLI's selection of K2.5 as its benchmark testing model and achievement of an 81% pass rate indicates that the model is competitive with top international models in complex tasks requiring multi-step reasoning and tool orchestration, while also demonstrating the competitiveness of Chinese-developed AI models in specific professional domains.
Of course, 81% also means that approximately one-fifth of test scenarios were not passed. This reminds us that AI penetration testing tools are currently still assistive tools for human security experts rather than complete replacements.
Impact of AI Penetration Testing Tools on the Security Industry
Lowering the Barrier to Penetration Testing
Traditional penetration testing is highly dependent on experienced security engineers, with talent being scarce and costs being high. The emergence of AI agent tools like DeadEnd-CLI has the potential to enable small and medium-sized enterprises to conduct basic security assessments at lower costs.
The Double-Edged Sword Effect of Open-Source Security Tools
Like all security tools, AI penetration testing tools carry the risk of misuse. The open-source and easy-to-deploy characteristics that lower the barrier for defenders may also be exploited by malicious actors. When promoting such tools, the community needs to simultaneously strengthen usage guidelines and ethical constraints.
Driving a Paradigm Shift in Security Automation
From rule-driven vulnerability scanners to AI agentic autonomous penetration testing, security automation is undergoing fundamental transformation. Looking back at the evolution of security automation, three distinct phases are clearly visible: the first phase consisted of signature-matching vulnerability scanners (such as Nessus and OpenVAS) that identified issues by comparing against known vulnerability signature databases — fast but unable to discover unknown vulnerabilities; the second phase comprised rule-engine-based dynamic testing tools (such as Burp Suite and OWASP ZAP) capable of fuzz testing web applications through predefined attack patterns but lacking contextual understanding; the third and current phase features AI agentic tools, represented by DeadEnd-CLI, that leverage LLMs' semantic understanding and reasoning capabilities to achieve adaptive attacks — understanding application logic, constructing context-relevant attack payloads, and dynamically adjusting strategies based on responses. This evolution is essentially a paradigm leap from "pattern matching" to "semantic understanding."
DeadEnd-CLI represents the latest advancement in this trend. In the future, we may see more security AI agents that integrate multimodal perception, long-term memory, and complex reasoning capabilities.
Conclusion
As an open-source AI agentic penetration testing tool, DeadEnd-CLI has carved out a noteworthy direction in the security tools space with its 81% black-box benchmark performance, multi-model compatibility, and fully self-hosted characteristics. While still in its early stages, the technical approach and practical results it demonstrates suggest that AI applications in cybersecurity are rapidly maturing. For security professionals, DeadEnd-CLI serves both as an efficiency tool worth trying and as an excellent window for understanding the boundaries of AI security capabilities.
Related articles
Tech FrontiersA Rare Quiet Day in AI: Recursive Self-Improvement Stirs Beneath the Surface
A rare quiet day in AI sees multiple sources go silent simultaneously. Behind the calm, Recursive Self-Improvement (RSI) research continues. What this means for the industry.
Tech FrontiersReve 2 vs. Ideogram 4: A Deep Dive into Layout Control in AI Image Generation
A deep comparison of Reve 2 and Ideogram 4's layout control capabilities, covering technical approaches, real-world use cases, and industry trends for designers and creators.
Tech FrontiersIn the Weights: Check Your Influence Score in the AI World
In the Weights is an AI influence search engine that quantifies your presence in the AI world with a score. Explore how it evaluates practitioners and what it means for digital identity.