Most engineering leaders I talk to are stuck on the same question. So Checkmarx does two jobs at once. It still reviews code, and it now brings security intelligence directly into the workflows of the AI agents writing it.”
Kobi Sivilya faces a harder version of that question than most. He's CIO and CISO at Checkmarx, an application security company. His developers build security software, and they use AI coding agents to do it. If any team should have this worked out, it's one whose product is finding vulnerabilities.
His answer is simple. "AI changes how code is produced, but it doesn't change who is responsible for its security."
That idea runs through everything Sivilya shared. Agents are fast, and they're useful. But "an AI agent cannot assume responsibility for the code it produces." The developer stays accountable for understanding what the agent wrote. Engineering leadership stays accountable for making sure the code works as intended and doesn't add unnecessary risk.
So Checkmarx does two jobs at once. It still reviews code, and it now manages the agents that write it.
Context first, then checks
The work starts before the agent writes a line. Checkmarx gives its coding agents the company's security guidelines, development practices, tools, and infrastructure requirements up front, so they know how to generate code that fits.
Next comes checking code as it's written. Checkmarx uses its own product, Developer Assist, inside the coding environment. It reviews code from both developers and agents, flags exposed secrets, vulnerabilities, and risky third-party libraries, helps fix them, and then rescans to confirm the original issue is gone. The tool runs in AI-native IDEs like Cursor and Windsurf, as well as VS Code and JetBrains. The goal is to catch problems before they reach the repository.
Then there's a final gate before production that looks for the same three categories of risk.
What I liked here is that Sivilya doesn't pretend the tools are perfect. Security scanners produce false positives. So authorized engineering leaders can override certain findings after reviewing them. The security team keeps visibility into every exception to prevent abuse. That's a practical answer to a real problem. Developers stop fighting the gate, and nobody gets to quietly route around it.
Why context matters so much
Sivilya offered a hypothetical that any developer will recognize. An agent implements authentication for a service. The code looks technically correct. But it doesn't match how authentication is handled across the rest of the environment. That mismatch can open security gaps or cause unexpected behavior.
The function works. The system doesn't.
That's why Sivilya puts so much weight on giving agents context about existing architecture and security requirements. And it's why human review still matters. Developers, he said, must verify that generated code "integrates securely with the broader environment rather than simply checking whether the individual function works."
The shadow AI gap
Inside the company, the risk isn't only what approved agents do. It's what unapproved ones can reach. Employees can add coding agents, models, and Model Context Protocol (MCP) tools to their workflows without fully understanding what those tools can access.
Sivilya said governance policies alone don't solve this. Teams need technical controls that continuously monitor agent activity, limit access to what's necessary, and block dangerous actions in real time.
"The biggest concern is the gap between knowing which AI tools are being used and understanding what those tools can actually do within your environment," he said.
An inventory of agents is a start. Knowing their blast radius is the real job.
The rule that's hardest to enforce
Checkmarx's rule on credentials is clear. Secrets don't live on developer endpoints. They're managed through secure vaults, with access restricted to what's needed. And if an agent or LLM touches a secret, treat it as exposed and rotate it.
Sivilya was candid that this is also one of the hardest controls to enforce. Developers across the industry sometimes paste tokens directly into their work while testing or troubleshooting instead of pulling them from a vault. "Even organizations with mature security practices struggle to eliminate these exceptions entirely," he said.
I appreciate that honesty. Convenience is the enemy of every credential policy, and agents make the cost of a shortcut much higher.
Medium-severity findings aren't low priority anymore
For years, security teams focused on critical and high-severity findings because developer time was limited. Sivilya said AI is changing that math. Attackers can more easily find and chain several lower-severity issues into a serious exposure.
"A combination of medium-severity findings can sometimes represent greater risk than an isolated critical vulnerability," he said.
That doesn't mean fixing everything at once. It means evaluating findings in context, spotting dangerous combinations, and fixing whatever creates the most real exposure first.
Two numbers for the board
Sivilya's take on measurement is refreshingly simple. Boards should watch two trends: whether the existing vulnerability backlog is shrinking, and how many new vulnerabilities are being introduced into the software.
The first shows progress on old risk. The second shows whether the controls in the development lifecycle are working. If new vulnerabilities keep reaching production, that may point to weak development practices, ineffective security gates, or too much bypassing of controls to hit delivery dates. Both lines should be heading down.
That second metric connects back to the override process. Exceptions are fine. A rising count of new vulnerabilities in production tells you when exceptions have become the norm.
Be skeptical of "AI writes safer code"
I asked Sivilya what claim engineering teams should doubt right now. He pointed to the idea that AI-generated code is inherently better or more secure because models have access to more knowledge.
Volume isn't quality. The output still depends on the context, instructions, and infrastructure behind the agent. His advice for testing any vendor, his own included, is to check whether generated code actually follows your security requirements and fits your systems, and whether your controls catch vulnerabilities in it. Don't assume the agent prevented them.
"Organizations shouldn't confuse increased development speed with improved security," he said.
Where a smaller team should start
Not every team has a CISO's budget. For a mid-size engineering team, Sivilya would do two things next week.
First, write clear security instructions for your coding agents. Spell out what they can and can't do, including rules on secrets, sensitive data, and code generation. It costs almost nothing. He's clear that instructions aren't enforced controls, but they're a real starting point.
Second, put automated code scanning in front of production. Ideally that combines traditional application security testing with AI-powered tools. But even basic static analysis is worth having.
The takeaway
What stands out to me is how little of this depends on any one tool. Give agents context. Check code as it's written. Gate it before production. Keep humans accountable and make exceptions visible. Measure whether new risk is going down, not just how much you spend.
That lines up with what I hear from engineering leaders across the industry. The teams doing this well aren't treating agents as a replacement for responsibility. Whoever builds and runs the agent owns what it does, and so does the company behind them. Speed is the benefit. Accountability is the price of admission.