Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

roboflow/supervision
develop @ 14f6f24
6
Fixes
4
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
src/supervision/annotators/core.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Resolving and loading images from dataset annotation directories can allow directory traversal outside the expected repository boundary if path canonicalization is missing.
XML External Entity (XXE): Standard XML parsers like ElementTree are susceptible to XXE attacks when parsing untrusted dataset markup; switching to defusedxml is necessary to mitigate this.
Denial of Service: Geometric approximation logic can hang indefinitely in unbounded loops if the approximation step value (epsilon) is too small or validation fails.