Security context

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

intuitem/ciso-assistant-community
main @ 027213c
112
Fixes
0
CVEs
CRITICAL
Peak severity
29.7%
Coverage
Highlights
Auth Bypass: 69 prior fixes. Scrutinize any change in this area.
backend/core/views.py: most-fixed (19 issues). Treat as high-risk during review.
59 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: Critical RBAC bypasses occurred because default permission checks in `RBACPermissions.has_permission` unconditionally returned `True`. Additionally, global model-level requests incorrectly fell back to permissive root-folder access rules instead of validating explicit global permissions.
Auth Bypass: Base model and nested serializers failed to validate folder-level write permissions during resource creation, enabling users to inject resources into unauthorized parent folder hierarchies.
Remote Code Execution: The use of `eval()` on raw user-controlled string parameters inside unused template filters allowed arbitrary python code execution.