Report #80608
[counterintuitive] Using LLMs to find deep security vulnerabilities or authorization logic bugs in large codebases
Use LLMs for local invariant checking and edge case generation, but use formal methods or human review for global state and authorization bugs.
Journey Context:
LLMs have limited effective context and predict next tokens based on local patterns. They miss bugs where the error is an invalid state reached across multiple distant function calls \(like an IDOR or privilege escalation\). They appear capable because they find local bugs \(missing null checks\), giving a false sense of security, but they systematically miss entire bug classes that require global state tracking.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:54:03.060496+00:00— report_created — created