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

1

Install Apex

Install Apex globally using your preferred package manager:

$curl -fsSL https://pensarai.com/install.sh | bash
2

Launch Apex

Start the interactive terminal interface by running pensar in your terminal.

3

Configure AI Provider

Use the /providers command to connect your AI provider (Anthropic, OpenAI, OpenRouter, or AWS Bedrock) and configure your API key.

4

Select Model

Use the /models command to select which AI model to use for testing.

5

Start Testing

Use the /init command to configure your target and launch an autonomous AI agent that will test your application.

6

Review Results

Watch in real-time as the AI agent discovers vulnerabilities, executes tests, and documents findings with proof-of-concepts.

Key Features

AI-Powered Testing

Leverage state-of-the-art AI models to perform autonomous penetration testing with minimal human intervention.

Terminal Interface

Beautiful, responsive terminal UI built with React for an optimal command-line experience.

Multiple AI Providers

Support for Anthropic, OpenAI, OpenRouter, and AWS Bedrock. Anthropic models provide the best performance.

Session Management

Sessions are automatically saved to continue work across multiple runs.

Comprehensive Testing

Automated reconnaissance, vulnerability detection, and exploitation testing in a single workflow.

Kali Container

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:

1

Configure Provider

Run /providers to set up your AI provider API key

2

Select Model

Run /models to choose your preferred AI model

3

Initialize Test

Run /init to configure target, authentication, scope, and start testing

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.