Security context

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

coze-dev/coze-loop
main @ 8485ee8
11
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
backend/modules/evaluation/application/experiment_app.go: most-fixed (2 issues). Treat as high-risk during review.
8 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: Workspace isolation and explicit permissions validation were missing, allowing unauthorized cross-workspace execution of evaluator versions. Developers must ensure that all experiment operations explicitly validate workspace boundaries of referenced resources.
Auth Bypass: Incorrect action mapping or missing verification steps allowed unauthorized deletion and execution behaviors. API handlers must map explicit actions to user permissions and validate them.
Denial of Service: Unbounded template execution can lead to application hangs and out-of-memory errors. The template engine must enforce timeouts, strict string repetition bounds, and limited writers on all rendering operations.