.hacktron/rules.md file to describe conventions that matter in your application.
Rules help Hacktron adapt reviews to your codebase and reduce false positives, without ignoring real vulnerabilities.
What to include
Use rules to explain:- Internal authentication and authorization patterns
- Trusted services, domains, and data sources
- Context outside of code that affect exploitability (e.g. firewalls, network configurations not in IaC, etc.)
- Files or types of vulnerabilities Hacktron should ignore
File location
Place the file at the root of the repository:.hacktron
rules.md
apps
packages
package.json
pnpm-lock.yaml
.hacktron/rules.md to the branch Hacktron reviews, such as your default branch.