Security context

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

areal-project/areal
main @ be8d7cf
13
Fixes
0
CVEs
HIGH
Peak severity
23.1%
Coverage
Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
areal/core/workflow_executor.py: most-fixed (1 issue). Treat as high-risk during review.
5 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.

Auth Bypass: Services binding to public interfaces historically exposed the administrative API key, presenting a direct path to unauthorized infrastructure control. Default keys must be strictly validated or rejected outside of local loops.
Command Injection: Concatenated shell execution via Slurm scheduler tasks allowed arbitrary command injection. Multi-user orchestrators must strictly sanitize variables using shlex.quote or avoid shell=True execution patterns.
Denial of Service: Untrusted input evaluation within math grading code allowed unbounded execution times, hanging helper processes. Evaluation logic must be constrained by strict timeout contexts.