Skip to main content
This page demonstrates common usage patterns and workflows for the Strix CLI.

Basic Usage

Scan a Web Application

This launches an interactive TUI session and performs a deep penetration test of the web application.

Scan a GitHub Repository

Strix clones the repository and performs static code analysis to find vulnerabilities.

Scan Local Code

Analyze local source code for security issues.

Multi-Target Scanning

White-Box Web Application Testing

Combine source code analysis with live application testing:
This provides comprehensive coverage by analyzing both code and runtime behavior.

Multiple Environments

Test staging and production simultaneously:

Custom Instructions

Inline Instructions

Focus on specific vulnerability types:
Provide test credentials:

Instructions from File

Create a file instructions.txt:
Then run:

Scan Modes

Quick Scan (CI/CD)

Fast scan for continuous integration:

Standard Scan

Balanced depth and speed:

Deep Scan (Default)

Thorough pre-release security audit:

Non-Interactive Mode

CI/CD Integration

Run in headless mode suitable for automation:
This prints vulnerabilities to stdout and exits with code 2 if issues are found.

Save Output to File

Check Exit Code

Advanced Workflows

Comprehensive Pre-Release Audit

Quick PR Security Check

Domain Reconnaissance

Test a domain (not just a specific URL) to discover and test all services.

Internal Network Testing

Test an internal IP address or host.

Using Custom Configuration

Create Configuration Profile

Create prod-config.json:

Use Configuration

Real-World Scenarios

Scenario 1: New Feature Security Review

You’ve just developed a new authentication feature:

Scenario 2: Pre-Production Checklist

Before deploying to production:

Scenario 3: API Security Testing

Test a REST API:

Scenario 4: GitHub Repository Audit

Audit an open-source project:

Scenario 5: Localhost Development Testing

Test your local development environment:
Strix automatically rewrites localhost URLs to work correctly inside Docker containers.

CI/CD Pipeline Examples

GitHub Actions

GitLab CI

Jenkins

Troubleshooting

Check Version

Test Environment

Verify environment variables are set:

Verbose Output

For debugging, you can examine the output directory:

See Also