Skip to main content
Multi-target testing allows you to assess multiple targets in a single Strix scan. This is especially powerful for white-box and grey-box testing where you want to analyze both source code and deployed applications together.

Overview

Specify multiple targets by using the --target (or -t) flag multiple times:
Each target can be any supported type: local code, repository, web application, domain, or IP address.
Strix processes all targets in parallel, using specialized agents to coordinate findings across different target types.

Why Multi-Target Testing?

Multi-target testing enables powerful security assessment scenarios:

White-Box Testing

Analyze both source code and deployed application:
Strix correlates findings between source and runtime, identifying:
  • Vulnerabilities visible in code that manifest in deployment
  • Configuration issues not apparent from code alone
  • Security gaps between development and production

Multi-Environment Testing

Test staging and production simultaneously:
Identify environment-specific issues:
  • Configuration differences
  • Environment-dependent vulnerabilities
  • Deployment inconsistencies

Comprehensive Coverage

Test local code with multiple deployment targets:

Basic Examples

Source Code + Deployed App

Classic white-box testing scenario:

Multiple Deployments

Test different environments:

Mixed Target Types

Combine different target types:

Advanced Use Cases

Microservices Architecture

Test multiple services together:
Strix identifies:
  • Cross-service authentication issues
  • Service-to-service communication vulnerabilities
  • Privilege escalation across microservices
  • API gateway bypass techniques
Terminal output:

Frontend + Backend + Infrastructure

Comprehensive full-stack assessment:
Covers:
  • Client-side vulnerabilities in frontend code
  • Server-side vulnerabilities in backend code
  • Runtime issues in deployed frontend
  • API security in deployed backend

Repository + Multiple Environments

White-box testing across deployment pipeline:
Identifies:
  • Code-level vulnerabilities
  • Development environment issues
  • Staging-specific configurations
  • Production security gaps
When testing localhost, Strix automatically rewrites the target to be accessible from within Docker containers.

Multiple Repositories

Analyze related codebases:
Finds:
  • Shared vulnerability patterns
  • Cross-repository security issues
  • Common dependency vulnerabilities
  • Inconsistent security implementations

Combining with Custom Instructions

Multi-target testing works seamlessly with custom instructions:
multi-env-test.txt:

Target Organization

Strix organizes multi-target results in structured output:

Example Workflows

Workflow 1: White-Box Web Application Test

1

Prepare targets

Identify your source code and deployment:
  • Source: https://github.com/myorg/webapp
  • Deployment: https://app.example.com
2

Create instructions

Create webapp-whitebox.txt:
3

Run multi-target scan

4

Review correlated findings

Strix reports findings with cross-target correlation:

Workflow 2: Microservices Security Review

1

List all services

2

Run comprehensive scan

3

Analyze cross-service vulnerabilities

Strix identifies vulnerabilities spanning multiple services:

Workflow 3: Full Development Pipeline Test

1

Define all environments

2

Review environment differences

Strix highlights configuration differences:

Best Practices

1

Group related targets

Test targets that share security context together:Good: Source + deployment of same app
Less useful: Unrelated applications
2

Use descriptive instructions

Guide Strix on how to correlate targets:
3

Consider scan mode

Multi-target scans take longer - choose appropriate mode:
  • Quick: 2-3 targets, CI/CD
  • Standard: 3-5 targets, development testing
  • Deep: 1-3 targets, comprehensive review
4

Organize results

Use meaningful run names by testing related targets:Strix auto-generates names like:
  • multi-target-20260301-123456 (multiple targets)
  • myapp-staging-prod-20260301-123456 (specific targets)

Limitations and Considerations

Performance

Multi-target scans take longer than single-target scans:
  • Each additional target adds time
  • Complex correlation requires more analysis
  • Use --scan-mode quick for faster results

Network Access

Ensure all targets are accessible:

Docker Networking

When testing localhost targets, Strix automatically handles Docker networking:
Strix automatically converts localhost to host.docker.internal (or appropriate host gateway) for Docker container access.

CI/CD Integration

Multi-target testing in GitHub Actions:

Troubleshooting

Target Not Accessible

Solution: Ensure all targets are accessible from your machine.

Empty Instruction File

Solution: Add content to your instruction file or remove the flag.

Both Instruction Methods

Solution: Choose one instruction method.

Next Steps

Advanced Testing

Learn about grey-box testing and complex scenarios

CI/CD Integration

Integrate multi-target scans into your pipeline