100% free AI setup guides — no credit card needed
← GitHub Projects
ADVANCEDFeatured1,873 views

Strix

Open-source AI penetration testing tool - autonomous AI hackers that run your code dynamically, find vulnerabilities, and validate them through actual proofs-of-concept.

PythonDockerLLM AgentsOWASPCI/CD

What is this?

Strix is an open-source AI pentesting tool. Instead of a scanner that flags suspicious code and leaves you to figure out if it's real, Strix actually runs your app, attacks it, and shows you a working exploit. 65k stars, Apache-2.0, built for developers who'd rather find out what's actually broken before someone else does.

What problem does it solve?

Here's the thing about security tools: most of them lie. SAST scanners give you 3,000 findings and 90% are noise. Manual pentests cost $10k and take three weeks. By the time the report lands, you've already shipped two more deploys.

Strix sits in a different spot. It doesn't guess — it validates. Every finding comes with a proof-of-concept that actually works, which means when Strix says you have an SQL injection, you believe it immediately. That difference sounds small until you've wasted a week chasing false positives.

How does it work?

You point Strix at something — a local directory, a GitHub repo, a live URL, an OpenAPI spec — and it spins up a team of AI agents that work the way a real red team does:

target: ./my-app (or a URL, or a repo)
        │
        ▼
   orchestrator plans the engagement
        │
   ┌────┼─────────────┐
   ▼    ▼             ▼
 recon  exploit    post-exploit
 agent  agents     agents
   └────┬─────────────┘
        ▼
   findings get chained together
   (one vuln leads to the next)
        ▼
   each one validated with a working PoC
        ▼
   report + CVSS score + fix guidance

The recon agent maps the attack surface. Exploit agents go after what it finds. Post-exploit agents see how far a breach actually goes. They share everything through a findings graph, so vulnerabilities chain together the way they would in a real attack — not as a flat list.

Repository Structure

usestrix/strix/
├── strix/
│   ├── agents/         # agent definitions, prompts
│   ├── config/         # configuration
│   ├── core/           # the engine itself
│   └── interface/      # CLI, TUI, cloud API, viewer
├── skills/             # 9 agent skills (pentest, fix, CI, OWASP)
├── containers/         # sandbox Docker images
├── benchmarks/         # performance numbers
├── docs/               # documentation
└── scripts/            # utilities

Key Features

  • Real exploit validation — every finding ships with a working PoC. No more arguing with a scanner about whether something is actually exploitable.
  • Multi-agent orchestration — recon, exploitation, and post-exploitation agents that share discoveries and chain attacks together.
  • Broad vulnerability coverage — OWASP Top 10 and well beyond: injection, XSS, SSRF, XXE, RCE, broken access control, business logic flaws, API security, cloud misconfigurations.
  • Full pentesting toolkit — HTTP interception proxy (Caido), browser exploitation, interactive shell, Python exploit runtime, recon/OSINT, SAST + DAST.
  • Auto-fix — AI-generated patches as pull requests you can review and merge.
  • CI/CD integration — GitHub Actions workflow that scans every PR and blocks insecure code before it merges.
  • Agent-ready — 9 SKILL.md-compatible skills for Claude Code, Cursor, Codex. npx skills add usestrix/strix and your coding agent can run pentests.
  • Local viewer — strix view opens a dashboard with findings, a live map of the agent team, and past runs. Nothing leaves your machine.

What You'll Learn

  • How AI agents actually conduct a penetration test — recon through exploitation to validation
  • Why validated findings matter more than scanner output
  • How to wire security testing into CI/CD so vulnerabilities get caught before production
  • How to run pentests from your coding agent using skills
  • How to read CVSS-scored, OWASP-classified findings and act on them
securitypentestingai-agentsopen-sourcepythoncicdowaspred-teamingdevsecops

See it in action

# install
curl -sSL https://strix.ai/install | bash

# point it at your LLM provider
export STRIX_LLM="openrouter/z-ai/glm-5.3"
export LLM_API_KEY="your-api-key"

# scan a local codebase
strix --target ./app-directory

Other ways to run it:

# a GitHub repo
strix --target https://github.com/org/repo

# a live web app
strix --target https://your-app.com

# an API spec paired with its base URL
strix --target ./openapi.yaml --target https://api.your-app.com

# headless, for CI — exits non-zero when it finds something
strix -n --target https://your-app.com

Then strix view to open the results in a local dashboard. If you'd rather not self-host, Strix Cloud runs the same engine with one-click autofix and PR reviews. Full CLI reference is at docs.strix.ai.

View Demo

Quick check

Strix security quiz — test what you just learned

1.What key architectural distinction sets Strix apart from traditional Static Application Security Testing (SAST) scanners?

2.In Strix's multi-agent orchestration model, which specific agent is tasked with mapping the target's attack surface?

3.Which command-line invocation configures Strix to run in headless mode for CI pipelines and exit non-zero upon discovering vulnerabilities?

4.How can a developer perform white-box security testing by supplying both a source code repository and a live target URL in a single Strix execution?

5.Which pair of environment variables is required to set the default LLM model and access key for Strix?

6.How does Strix ensure that an automatically generated security patch effectively resolves a detected vulnerability?

7.How do Strix agents structure and share information about discovered flaws during an active pentest?

8.What local system dependency must be running on the host before executing Strix scans?

9.How does Strix maintain source code confidentiality and compliance when connecting to enterprise LLM providers?

10.Which CLI command opens the local web dashboard to view findings, agent maps, and historical scan runs?

PartnerStrix Cloud

Skip the setup — run your first pentest in minutes

Strix Cloud runs the same agentic engine with zero setup: validated findings with working PoCs, one-click autofix PRs, and continuous scanning that keeps pace with your deploys.

Run a free pentest

Disclosure: some links on this page are partner links. If you sign up through them, we may earn a commission at no extra cost to you.

RecommendedOpenRouter

One API key for every model Strix supports

Point Strix at OpenRouter and switch between OpenAI, Anthropic, Google and open-weight models without juggling keys. Pay-as-you-go, no subscription.

Get an OpenRouter key

Disclosure: some links on this page are partner links. If you sign up through them, we may earn a commission at no extra cost to you.

Want to learn more about this project?

Have questions or want to understand this technology more deeply? Send me a message.

Related Projects

Discussion

Leave a Comment

Loading comments...