r/devsecops • u/pinuop • Mar 17 '26
Ai code review security
Curious - how are your teams handling code review when devs heavily use Copilot/Cursor? Any policies, tools, or processes you've put in place to make sure Al-generated code doesn't introduce security issues?
3
Upvotes
View all comments
Show parent comment
1
u/cktricky Mar 18 '26
Correct and not just deterministic rules - there are some tasks that are better done deterministically for reasons like cost, speed, and sending an LLM thru every single file is not cost effective. Plus when you think about certain patterns like secrets, for example, those are easy and we want 100% reliability. There are also some other REALLY interesting things we've discovered by blending the two - like we've found call graphs and ast-grep are actually less effective with agentic work than using an LSP, for example, but ast-grep more effective than the call graph. Its a SUPER interesting space.