Security context

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

op7418/codepilot
main @ aeb1e44
5
Fixes
0
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Authorization Bypass: 2 prior fixes. Scrutinize any change in this area.
src/app/api/chat/permission/route.ts: 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.

Command Injection: 1 historical fix(es) link src/lib/tools/grep.ts, src/lib/tools/glob.ts, src/app/api/skills/marketplace/install/route.ts, src/app/api/skills/marketplace/remove/route.ts to Command Injection.
Authorization Bypass: 1 historical fix(es) link src/app/api/chat/permission/route.ts to Authorization Bypass.
Authorization Bypass: 1 historical fix(es) link src/lib/channels/feishu/index.ts to Authorization Bypass.