Trust boundary violation detected.
- Rule ID: java_lang_trust_boundary_violation
- Languages: java
- Source: trust_boundary_violation.yml
Mixing trusted and untrusted data inside the same data structure can lead to untrusted data being mistakenly treated as being trusted.
✅ Avoid adding trusted data to data structures containing untrusted data
OWASP Top 10
To skip this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --skip-rule=java_lang_trust_boundary_violation
To run only this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --only-rule=java_lang_trust_boundary_violation
Ready to take the next step? Learn more about Bearer Cloud.