Overview
You can provide custom instructions in two ways:Inline Instructions
Use the--instruction flag for short, focused guidance:
When to Use Inline Instructions
- Short, focused testing objectives
- Single-line guidance
- Quick testing adjustments
- Simple scope definitions
Examples
Instruction Files
For complex, multi-line instructions, use the--instruction-file flag:
When to Use Instruction Files
- Complex testing scenarios
- Multiple test credentials
- Detailed scope and exclusions
- Rules of engagement
- Compliance requirements
- Reusable testing templates
Instruction files can be in any text format (.txt, .md, etc.). Strix reads the entire file content as instructions.
Example: Basic Instruction File
Createinstructions.txt:
Example: Detailed Security Assessment
Createdetailed_instructions.md:
Common Use Cases
Authenticated Testing
Provide credentials for testing protected areas:Vulnerability-Focused Testing
Target specific vulnerability classes:Business Logic Testing
Focus on application-specific logic:API Security Assessment
Target API-specific vulnerabilities:Compliance-Driven Testing
Align testing with compliance requirements:Best Practices
1
Be specific
Provide clear, actionable guidance:Good: “Focus on IDOR vulnerabilities in the /api/users endpoint”Bad: “Test the API”
2
Include credentials
Provide test accounts when testing authenticated features:
3
Define scope
Clearly specify what’s in and out of scope:
4
Prioritize
Indicate what matters most:
Instruction File Templates
General Web Application
API Assessment
Penetration Test
Example: Complete Workflow
1
Create instruction file
Create
webapp-test.md with your testing requirements:2
Run Strix with instructions
3
Review results
Strix follows your instructions and focuses on the specified areas:
Tips and Tricks
Reusable Templates
Create reusable instruction files for common scenarios:Combining with Other Flags
Instructions work with all Strix features:Validation
Strix validates instruction files before starting:Next Steps
Multi-Target Testing
Combine custom instructions with multi-target scans
Advanced Testing
Learn about grey-box and white-box testing strategies