Skip to content
KitploitKITPLOIT
工具博客
Log in
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
apex — AI-powered offensive security testing using autonomous agents, directly in your terminal. | Kitploit
工具/GitHubGitHub/pensarai/apex
ReconnaissanceVulnerability ScannersExploit FrameworksInformation GatheringWeb SecurityPenetration TestingCloud SecurityDevSecOpsRed TeamingAI Security
GitHubpensarai/apex
29956376天前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

apex

AI-powered offensive security testing using autonomous agents, directly in your terminal.

查看仓库网站
内容在请求的语言中不可用。显示英文版本。

Pensar Apex

AI-powered penetration testing using autonomous agents — directly in your terminal. Run blackbox and whitebox pentests that explore, reason, and surface real vulnerabilities.

Want to run from the cloud or integrate it with your CI/CD? See Pensar Console.

npm version npm prerelease version Apache 2.0 License Documentation Discord

Use Cases

Developers

  • Run /pentest before merging a PR — catch vulnerabilities as naturally as running tests
  • Get actionable findings with severity scores, evidence, and suggested fixes — no security background needed
  • Integrate into CI/CD via headless CLI commands or Pensar Console

Security Engineers

  • Deploy agent-driven swarm testing across large attack surfaces
  • Use /operator mode for manual investigation, exploit chaining, and validation
  • Automate repetitive testing workflows with persistent memory that accumulates across engagements
  • Scale across teams and projects through Pensar Console

Installation

MethodCommand
Quick Install (macOS/Linux)curl -fsSL https://pensarai.com/install.sh | bash
Homebrewbrew tap pensarai/tap && brew install apex
npmnpm install -g @pensar/apex
Windows (PowerShell)irm https://www.pensarai.com/apex.ps1 | iex

Usage

Open the Apex TUI:

pensar

Headless CLI

Run pentests without the TUI for scripting, CI, or evalgate integration:

# Basic pentest
pensar pentest --target https://example.com

# With extended thinking and task-driven mode
pensar pentest --target https://example.com --extended-thinking --task-driven

# Whitebox (with source code access)
pensar pentest --target https://example.com --cwd ./my-app

# Targeted pentest with specific objectives
pensar targeted-pentest --target https://example.com --objective "Test authentication bypass"
FlagCommandDescription
--target <url>pentest, targeted-pentestTarget URL (required)
--cwd <path>pentestSource code path for whitebox mode
--mode <mode>pentestexfil for pivoting and flag extraction
--model <model>pentest, targeted-pentestAI model (default: auto-selected)
--extended-thinkingpentestEnable extended thinking for supported models
--task-drivenpentestEnable task-driven architecture (experimental)
--prompt <text|@file>pentestCustom guidance for the agent
--threat-model <text|@file>pentestThreat model to guide testing
--objective <text>targeted-pentestTesting objective (repeatable)

Custom inference endpoints

Bring an OpenAI-compatible endpoint and bearer token through customProviders configuration or the APEX_CUSTOM_PROVIDERS worker environment variable. Select it with --model-provider <id> --model <model>, or choose its declared models in the operator's /models picker. See custom inference setup for GLM settings, headless job configuration, and a live connection test.

Logging

Apex routes diagnostic/operational logging through a centralized structured logger (src/core/logger). It writes one-line JSON to stderr when output is not a TTY — keeping it separate from the program's stdout and easy to ship to a log pipeline (e.g. CloudWatch) — and pretty, colorized output in an interactive terminal. User-facing CLI/TUI output stays on stdout.

Set the level (most → least verbose: debug < info < warn < error, default info):

pensar pentest --target https://example.com --log-level debug   # or --verbose / --quiet
PENSAR_LOG_LEVEL=debug pensar ...                                # via environment
PENSAR_DEBUG=1 pensar ...                                        # back-compat alias for debug

Resolution order: CLI flag → PENSAR_LOG_LEVEL → PENSAR_DEBUG → default info. PENSAR_LOG_FORMAT=json|pretty forces the output format. When Apex runs as a managed agent, PENSAR_LOG_LEVEL is supplied by the host environment.

W&B Weave Tracing

Stream step-level agent traces to Weights & Biases Weave for analysis and fine-tuning:

export WANDB_API_KEY=your-key
export WANDB_ENTITY=your-entity
# WANDB_PROJECT defaults to "apex-traces"
pensar pentest --target https://example.com

Traces include reasoning steps, tool calls, token usage, and state checkpoints. When credentials are not set, tracing is silently disabled.

OpenTelemetry (Observability)

Apex emits OpenTelemetry spans for agent runs, LLM calls, and tool executions through @opentelemetry/api. Spans are no-ops unless your process registers an OpenTelemetry SDK as the global tracer provider; Apex ships no SDK.

Register an SDK before importing Apex code:

  • Sentry: install @sentry/node ≥ 9.27 and add Sentry.vercelAIIntegration() to your Sentry.init integrations.
  • Any OTel backend (Honeycomb, Tempo, Datadog, etc.): register @opentelemetry/sdk-node with an OTLP exporter.

Spans follow OTel GenAI semantic conventions. Only span shape (model, token counts, latency, tool names) is captured by default; set AI_TRACE_RECORD_PAYLOADS=true to also record prompts, tool I/O, and outputs.

Kali Linux Container (Optional)

For best performance, run Apex in the included Kali Linux container with preconfigured pentest tools:

cd container
cp env.example .env  # add your API keys
docker compose up --build -d
docker compose exec kali-apex bash

Inside the container, run:

pensar

⚠️ Responsible Use

This repository contains tools for authorized security testing only. Before use, please read and agree to the Responsible Use Disclosure.

下载工具