Skip to content

Strix - AI Penetration Testing Agent Cheatsheet

Strix - AI Penetration Testing Agent Cheatsheet

Strix is an open-source AI penetration testing tool that operates like a security researcher rather than a static scanner. Instead of pattern-matching source code, it dynamically runs the target application, interacts with it, probes for vulnerabilities, and validates each finding with a proof-of-concept exploit. That validation step is the differentiator: findings come with evidence they are actually exploitable, which cuts the false-positive noise that makes traditional scanner output expensive to triage.

Authorized testing only. Strix actively attacks the target and generates working exploits. Run it exclusively against systems you own or have explicit written permission to test. Unauthorized use is illegal.

Installation

MethodCommand
pippip install strix-agent
Dockerdocker run -it strixagent/strix
From sourcegit clone https://github.com/usestrix/strix && pip install -e .
LLM keyexport OPENAI_API_KEY=... (or another provider)
Verifystrix --version

Core Usage

CommandDescription
strix --target ./repoTest a local codebase
strix --target https://staging.example.comTest a running application
strix --target ./repo --instruction "focus on auth"Steer the agent
strix --helpFull option list

How It Works

PhaseWhat the agent does
ReconMaps the app: routes, inputs, auth surfaces
HypothesisReasons about likely vulnerability classes
ExploitCrafts and sends real payloads
ValidateConfirms impact with a working PoC
ReportDocuments finding + reproduction steps

The validation phase is what separates Strix from a scanner: a finding only surfaces if the agent could actually trigger it.

Vulnerability Classes

ClassExamples
InjectionSQLi, command injection, SSTI
XSSReflected, stored, DOM-based
Access controlIDOR, privilege escalation, broken authz
SSRFInternal service access
Business logicWorkflow abuse a scanner cannot model
AuthSession handling, token flaws

Scope & Safety Controls

ControlPurpose
Explicit targetOnly the declared target is tested
Sandboxed runsExecute the agent in an isolated container
Read-only modesLimit destructive actions where supported
Rate limitingAvoid overwhelming the target
Review PoCsAlways inspect generated exploits before reuse

Run Strix against staging, not production, and confine network egress from the container.

Common Workflows

# Assess a staging deployment you own
strix --target https://staging.internal.example.com

# Focused review of an authentication module
strix --target ./app --instruction "audit the login and session handling"

# Run inside a container for isolation
docker run --rm -it -e OPENAI_API_KEY strixagent/strix \
  --target https://staging.example.com

Reading the Output

FieldMeaning
FindingThe vulnerability class and location
PoCThe concrete request/payload that triggered it
ImpactWhat an attacker gains
ReproductionSteps to confirm manually

Because each finding ships with a PoC, triage becomes verification rather than investigation.

Strix vs Traditional Tooling

AspectStrixSAST (Semgrep)DAST (ZAP)
MethodAI agent, dynamic + validatedStatic pattern matchCrawl + attack
False positivesLow (PoC-validated)HigherMedium
Business logicYes (reasons about intent)NoLimited
SpeedSlower (agentic)FastMedium
Best forDeep validated assessmentBroad code coverageApp-wide DAST

Complements rather than replaces: use Semgrep for breadth, ZAP for crawling DAST, and Strix for validated depth.

Resources