You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve critical issues in reviewer, CWE matching, diff handling, and performance
- Fix go.mod version (1.25 → 1.23)
- Accumulate LLM errors instead of swallowing in reviewer
- Add regex field length validation (2000 char cap)
- Add git path traversal prevention with filepath.Rel()
- CWE matching with word boundaries instead of naive substring
- O(1) line lookup in comment mapping (pre-built map)
- Move regex compilation to package level (out of hot loops)
- Include concern in dedup key, skip empty paths, normalize with filepath.Clean()
- Add reflection output size validation
- Fix parseInt with strconv.Atoi and range validation
- Add binary file detection and line number bounds in diff parser
0 commit comments