Take a pull request on a client project. A junior developer pushes a SQL query that concatenates user input straight into the WHERE clause. Classic injection. Two senior engineers approve it. Nobody catches it.
Code review catches logic bugs, style violations, missing tests. It is not great at catching security patterns. Reviewers scan for intent and correctness: does this code do what it is supposed to do. They are not running OWASP categories through their head while reading a diff. AI-generated code adds to the problem. Copilot and Claude write code fast, so the volume goes up, the review time per line goes down, and the gap between “code that works” and “code that is safe” gets wider.
I built AIVory Guard as a JetBrains plugin that scans diffs in real time. Open a file, edit it, and the plugin highlights security issues inline, the way your IDE shows syntax errors. No context switch, no separate tool, no waiting for a CI pipeline. In the scenario above, the query gets flagged the moment the developer types it, before the commit and before the PR.
The plugin reads your local diff, sends the changed code to a model that is trained on vulnerability patterns, and gets back a list of issues with line numbers and explanations. The round trip takes a few seconds. It catches the OWASP Top 10 for LLM applications and web applications: injection, XSS, command injection, path traversal, hardcoded secrets, insecure deserialization.
What it does not catch
It is not a full security audit. It does not understand your business logic. It will not tell you that your authorization model has a gap or that your session handling is wrong in a way that only makes sense in context. It catches patterns, the low-hanging fruit.
It also has false positives. A string concatenation that looks like injection but is actually building a log message. A hardcoded string that looks like a secret but is a test fixture. We tuned the model to reduce these, but they happen. Better a false positive you dismiss than a real vulnerability you miss.
To try it, install the plugin from the JetBrains Marketplace and configure your API key. The free tier gives you 50 scans per week, which is enough to see if it catches things your team misses.