Security context

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

sunmh207/ai-codereview-gitlab
main @ ad45e87
3
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
biz/agent/agentic_reviewer.py: most-fixed (1 issue). Treat as high-risk during review.
3 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: The agentic tools are designed to read local files, creating a direct path to sensitive host files (such as keys or environment variables) if the paths are not strictly canonicalized and prefixed against a safe sandbox directory.
Command Injection: The agentic reviewer utilizes command execution tools, which can result in arbitrary host command injection if configured allowlists/blocklists are not properly propagated to and enforced by the underlying tool runners.