← Back to Home

Strix — Autonomous AI Penetration Testing for Your Applications

What is Strix?

Strix is an open-source AI penetration testing tool that uses autonomous agents to dynamically test your applications for security vulnerabilities. Unlike traditional SAST/DAST scanners that produce endless false positives, Strix agents behave like real hackers — they run your code, chain exploits, and validate every finding with a working proof-of-concept.

It is built for developers, security engineers, and DevOps teams who need fast, accurate security testing without the overhead of manual pentesting engagements.

Why It's Trending

Strix has exploded on GitHub with over 30,000 stars in under a year, landing as the #1 trending repository. Several factors drive this adoption:

  • Traditional scanners are noisy — SAST tools like SonarQube and Snyk produce high false-positive rates that desensitize teams
  • AI agents deliver real results — Strix agents dynamically interact with your app instead of pattern-matching against a ruleset
  • Developer-first CLI — a beautiful terminal UI and headless mode for CI/CD pipelines
  • Multi-agent orchestration — specialized agents for recon, exploitation, and post-exploitation that share discoveries
  • Self-hosted or cloud — install locally with Docker or use the managed platform at app.strix.ai

Prerequisites

Before you start, make sure you have:

  • Docker installed and running (the sandbox runs in a container)
  • An LLM API key — Strix supports many providers: OpenAI (GPT-5.4), Anthropic (Claude Sonnet 4.6), Google (Gemini 3 Pro), local models via Ollama
  • A target application to test — your own codebase, a deployed web app, or a GitHub repository you own

Architecture Overview

Strix Architecture

The diagram above shows Strix's internal architecture. The Strix CLI is your entry point — it accepts targets (local directories, GitHub repos, or live URLs) and dispatches work to the Agent Orchestrator, which manages a team of specialized AI agents.

Each agent has access to a Security Toolkit containing:

  • HTTP Proxy (Caido-based) — for request/response manipulation
  • Browser Automation (Playwright) — for XSS, CSRF, clickjacking testing
  • Terminal — for command execution and exploit development
  • Python Runtime — a sandboxed environment for writing and validating PoCs
  • Reconnaissance Module — for OSINT, subdomain enumeration, and fingerprinting

The Vulnerability Engine orchestrates the attack pipeline:

  • Recon Agent maps the attack surface
  • Exploitation Agent attempts to exploit discovered weaknesses
  • Validation Agent confirms each finding with a working PoC
  • Reporting Agent generates structured findings with CVSS scores, OWASP classification, and remediation guidance

Results flow to the Report Generator, which outputs a compliance-ready pentest report and can automatically create pull requests with security patches.

Installation

Installing Strix is a one-liner:

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

This downloads the CLI binary and sets up everything you need. Verify the installation:

strix --version

Configuration

Configure your LLM provider — Strix stores this in ~/.strix/cli-config.json so you only need to set it once:

export STRIX_LLM="anthropic/claude-sonnet-4-6"
export LLM_API_KEY="sk-ant-..."

Other optional configuration includes:

# Use a local model via Ollama
export LLM_API_BASE="http://localhost:11434"
export STRIX_LLM="ollama/llama-4"

# Enable search capabilities (improves recon)
export PERPLEXITY_API_KEY="pplx-..."

# Control reasoning effort
export STRIX_REASONING_EFFORT="high"

Basic Usage

Scan a Local Codebase

strix --target ./my-web-app

Strix launches an interactive TUI that shows real-time findings. The first run pulls the sandbox Docker image automatically.

Test a Deployed Web Application

strix --target https://staging.myapp.com

Scan a GitHub Repository

strix --target https://github.com/org/repo

Headless Mode (for CI/CD)

strix -n --target ./my-app --scan-mode quick

The -n flag disables the interactive UI. Strix exits with a non-zero code if vulnerabilities are found.

Authenticated Testing

strix --target https://myapp.com --instruction "Authenticated scan using credentials admin:password123"

CI/CD Integration

Add Strix to your GitHub Actions pipeline to automatically scan every pull request:

name: strix-pentest

on:
  pull_request:

jobs:
  security-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
        with:
          fetch-depth: 0

      - name: Install Strix
        run: curl -sSL https://strix.ai/install | bash

      - name: Run Strix
        env:
          STRIX_LLM: ${{ secrets.STRIX_LLM }}
          LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
        run: strix -n -t ./ --scan-mode quick

In CI mode, Strix automatically scopes its review to changed files only.

Advanced Scanning Modes

Strix supports several scan modes:

Mode Description Use Case
quick Fast scan focused on critical vulnerabilities CI/CD, PR reviews
standard Comprehensive scan of OWASP Top 10 Weekly security audits
deep Full exploitation with multi-agent coordination Pre-release pentesting

You can also target specific vulnerability categories:

strix --target api.myapp.com --instruction "Focus on SSRF, IDOR, and business logic flaws"

Verification Checklist

After deploying Strix:

  • CLI installedstrix --version returns a version number
  • Docker sandbox pulls — first scan downloads the sandbox image without errors
  • LLM provider configuredcat ~/.strix/cli-config.json shows your provider and key
  • Scan completes — a full scan of a small web app finishes without hanging
  • Findings are real — review the PoC in strix_runs/<run-name> to confirm valid results
  • CI/CD pipeline passes — GitHub Actions workflow runs and reports results

Resources

← Retour à l'Accueil

Strix — Tests de Pénétration Autonomes par IA pour vos Applications

Qu'est-ce que Strix ?

Strix est un outil open-source de test de pénétration par IA qui utilise des agents autonomes pour tester dynamiquement la sécurité de vos applications. Contrairement aux scanners SAST/DAST traditionnels qui produisent d'innombrables faux positifs, les agents Strix se comportent comme de vrais hackers — ils exécutent votre code, enchaînent les exploits et valident chaque découverte avec une preuve de concept fonctionnelle.

Il est conçu pour les développeurs, les ingénieurs sécurité et les équipes DevOps qui ont besoin de tests rapides et précis sans la lourdeur des audits de pénétration manuels.

Pourquoi Strix est Tendance

Strix a explosé sur GitHub avec plus de 30 000 étoiles en moins d'un an, devenant le dépôt tendance numéro 1. Plusieurs facteurs expliquent cette adoption :

  • Les scanners traditionnels sont bruyants — les outils SAST comme SonarQube produisent trop de faux positifs
  • Les agents IA donnent des résultats concrets — Strix interagit dynamiquement avec votre application
  • CLI orienté développeurs — interface TUI magnifique et mode headless pour CI/CD
  • Orchestration multi-agents — agents spécialisés pour la reconnaissance, l'exploitation et la post-exploitation
  • Auto-hébergé ou cloud — installation locale avec Docker ou plateforme managée sur app.strix.ai

Prérequis

Avant de commencer :

  • Docker installé et en fonctionnement (le sandbox tourne dans un conteneur)
  • Une clé API LLM — Strix supporte de nombreux fournisseurs : OpenAI (GPT-5.4), Anthropic (Claude Sonnet 4.6), Google (Gemini 3 Pro), modèles locaux via Ollama
  • Une application cible à tester — votre code, une application web déployée, ou un dépôt GitHub que vous possédez

Architecture

Architecture Strix

Le diagramme ci-dessus montre l'architecture interne de Strix. Le CLI Strix est votre point d'entrée — il accepte des cibles (répertoires locaux, dépôts GitHub ou URLs) et distribue le travail à l'Orchestrateur d'Agents, qui gère une équipe d'agents IA spécialisés.

Chaque agent a accès à une Boîte à Outils de Sécurité contenant :

  • Proxy HTTP (basé sur Caido) — pour la manipulation des requêtes/réponses
  • Automatisation Navigateur (Playwright) — pour les tests XSS, CSRF, clickjacking
  • Terminal — pour l'exécution de commandes et le développement d'exploits
  • Runtime Python — environnement sandboxé pour écrire et valider des PoCs
  • Module de Reconnaissance — pour l'OSINT, l'énumération de sous-domaines et l'empreinte numérique

Le Moteur de Vulnérabilités orchestre la pipeline d'attaque :

  • Agent Recon cartographie la surface d'attaque
  • Agent Exploitation tente d'exploiter les faiblesses découvertes
  • Agent Validation confirme chaque découverte avec un PoC fonctionnel
  • Agent Rapport génère des résultats structurés avec scores CVSS et classification OWASP

Les résultats sont envoyés au Générateur de Rapports, qui produit un rapport de test de pénétration conforme aux normes et peut créer automatiquement des pull requests avec des correctifs de sécurité.

Installation

Installer Strix se fait en une ligne :

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

Ceci télécharge le binaire CLI et configure tout le nécessaire. Vérifiez l'installation :

strix --version

Configuration

Configurez votre fournisseur LLM — Strix stocke la configuration dans ~/.strix/cli-config.json :

export STRIX_LLM="anthropic/claude-sonnet-4-6"
export LLM_API_KEY="sk-a..."

Configuration optionnelle :

# Utiliser un modèle local via Ollama
export LLM_API_BASE="http://localhost:11434"
export STRIX_LLM="ollama/llama-4"

# Activer les capacités de recherche
export PERPLEXITY_API_KEY="votre-clé"

# Contrôler l'effort de raisonnement
export STRIX_REASONING_EFFORT="high"

Utilisation de Base

Scanner un Code Local

strix --target ./mon-app-web

Strix lance une TUI interactive montrant les résultats en temps réel. Le premier téléchargement télécharge l'image Docker sandbox automatiquement.

Tester une Application Web Déployée

strix --target https://staging.monapp.com

Scanner un Dépôt GitHub

strix --target https://github.com/org/repo

Mode Headless (pour CI/CD)

strix -n --target ./mon-app --scan-mode quick

Le flag -n désactive l'interface interactive. Strix retourne un code non nul si des vulnérabilités sont trouvées.

Tests Authentifiés

strix --target https://monapp.com --instruction "Scan authentifié avec credentials admin:password123"

Intégration CI/CD

Ajoutez Strix à votre pipeline GitHub Actions :

name: strix-pentest

on:
  pull_request:

jobs:
  security-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
        with:
          fetch-depth: 0

      - name: Installer Strix
        run: curl -sSL https://strix.ai/install | bash

      - name: Lancer Strix
        env:
          STRIX_LLM: ${{ secrets.STRIX_LLM }}
          LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
        run: strix -n -t ./ --scan-mode quick

En mode CI, Strix limite automatiquement son analyse aux fichiers modifiés.

Modes de Scan Avancés

Mode Description Cas d'Usage
quick Scan rapide axé sur les vulnérabilités critiques CI/CD, revues de PR
standard Scan complet OWASP Top 10 Audits de sécurité hebdomadaires
deep Exploitation complète avec coordination multi-agents Tests de pénétration pré-lancement

Ciblage par catégorie :

strix --target api.monapp.com --instruction "Concentrer sur SSRF, IDOR et failles de logique métier"

Ressources