Overview
Specify multiple targets by using the--target (or -t) flag multiple times:
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:- 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:- 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:- Cross-service authentication issues
- Service-to-service communication vulnerabilities
- Privilege escalation across microservices
- API gateway bypass techniques
Frontend + Backend + Infrastructure
Comprehensive full-stack assessment:- 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:- 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:- 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: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 appLess 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 quickfor 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
Empty Instruction File
Both Instruction Methods
Next Steps
Advanced Testing
Learn about grey-box testing and complex scenarios
CI/CD Integration
Integrate multi-target scans into your pipeline