Introduction
What is Pensar Apex?
Pensar Apex is an AI-powered penetration testing CLI tool that enables you to use an AI agent to perform comprehensive black box security testing. Built with a powerful terminal user interface, Apex brings autonomous penetration testing capabilities directly to your command line.
How It Works
Install Apex
Install Apex globally using your preferred package manager:
macOS/Linux
Homebrew
Windows
npm
Configure AI Provider
Use the /providers command to connect your AI provider (Anthropic, OpenAI, OpenRouter, or AWS Bedrock) and configure your API key.
Key Features
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, OpenRouter, and AWS Bedrock. Anthropic models provide the best performance.
Sessions are automatically saved to continue work across multiple runs.
Automated reconnaissance, vulnerability detection, and exploitation testing in a single workflow.
Optional Kali Linux container with pre-configured security tools for maximum compatibility.
Getting Started
To begin testing with Apex, you’ll typically follow this workflow:
The /init command guides you through a wizard to configure your target URL,
optional authentication credentials, scope constraints, and custom headers
before starting the penetration test.
AI Provider Support
Apex supports multiple AI providers to give you flexibility in your testing setup:
- Anthropic (Recommended) - Best performance and results
- OpenAI - GPT-4 and other OpenAI models
- OpenRouter - Access multiple models through one API
- AWS Bedrock - Enterprise-grade AI through AWS
Anthropic models are recommended for optimal penetration testing performance and accuracy.
Responsible Use
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:
- Only test systems you own or have written authorization to test
- Comply with all applicable laws and regulations
- Use the tool ethically and responsibly
- Not use the tool for malicious purposes
Ready to Get Started?
Head over to the Getting Started guide to install Apex and run your first penetration test.