Coverage and concrete signals
For cross-site scripting (XSS), inspect the concrete scope below instead of relying on a category label. Trace the value into an HTML sink, confirm the rendering context, and compare the escaping or text-rendering fix with the unsafe example.
- Focus: Detect untrusted data reaching HTML sinks and the safer text-rendering alternative.
- Workflow: Rule ID: RADAR-SEC-XSS
- Coverage and concrete signals: RADAR-SEC-XSS, unsafe pattern, safer pattern, Source security
FocusExact file location, rule context, severity, confidence, and remediation guidance.Boundary
Detect untrusted data reaching HTML sinks and the safer text-rendering alternative.Trace the value into an HTML sink, confirm the rendering context, and compare the escaping or text-rendering fix with the unsafe example.False positives are possible when a trusted sanitizer or framework encoder is proven at the sink; verify that boundary, then test the browser behavior after replacing the sink.