Pensar Apex is an AI-powered penetration testing CLI tool that enables you to use an AI agent to perform comprehensive blackbox and whitebox security testing. Built with a powerful terminal user interface, Apex brings autonomous penetration testing capabilities directly to your command line.
Leverage state-of-the-art AI models to perform autonomous penetration testing with minimal human intervention.
Beautiful, responsive terminal UI built with React for an optimal command-line experience.
Support for Anthropic, OpenAI, Google, OpenRouter, AWS Bedrock, and Pensar Console. Anthropic models provide the best performance.
Sessions are automatically saved and can be browsed with /sessions.
Automated reconnaissance, vulnerability detection, and exploitation testing in a single workflow.
Optional Kali Linux container with pre-configured security tools for maximum compatibility.
To begin testing with Apex, you’ll typically follow this workflow:
The /pentest command guides you through a wizard to configure your target
URL, optional authentication credentials, scope constraints, and custom
headers before starting the penetration test.
Apex supports multiple AI providers to give you flexibility in your testing setup:
Anthropic models are recommended for optimal penetration testing performance and accuracy.
This tool is intended for authorized security testing only. You must have explicit permission to test any systems. Unauthorized testing is illegal and unethical.
By using Apex, you agree to:
Head over to the Getting Started guide to install Apex and run your first penetration test.