Most teams ship code every day. Many still run a pen test once or twice a year.
That gap was easier to live with when people wrote all the code and attackers worked mostly by hand. It's harder now. AI tools write code faster than teams can review it, and attackers point the same models at that code to find flaws.
Cycode, an application security company, thinks the answer isn't more findings. It's proof. Its new product, Cycode Red, uses AI agents to attack a running application, show which code findings an attacker can actually exploit, and then attack again after the fix. Cycode Red is in private preview.
I asked Cycode where it fits in a team's workflow, how it keeps live attacks from doing damage, and how teams should test claims like these, Cycode's included.
A pen test that reads the code first
Cycode Red runs inside the Cycode platform, next to the scanners a team already uses. It isn't a separate engagement that ends in a PDF. A team can run it three ways: a full pen test of an application, a targeted run that proves or rules out a single code finding, or a retest after a fix.
It's a white-box test. The agents read the code to pick targets, then attack the running app to confirm what they found. That's the difference from DAST, which attacks every app and API from the outside with no view of the code. The two run independently, so a team can use either or both.
The white-box side earns its keep on the questions that take an attacker's reasoning, such as whether one customer organization can reach another's data.
"A team that ships every day can't wait a year to learn whether last week's change opened an access control flaw," said Devin Maguire, Product Marketing Manager at Cycode.
Attacking a live app without breaking it
The agents sign in as real users and send real attacks. That can be against production, staging, or development. Teams choose the targets, and private apps are reached through the Cycode Broker without exposing them to the internet.
The attacks use harmless payloads, enough to prove an exploit works without causing harm. Several other controls sit between the agents and real data:
- Public domains need proof of ownership before anything is tested.
- Each target has scope and speed limits, including paths to exclude.
- A pre-flight check confirms every test login works before any attack goes out.
- Every change an agent makes is reverted, then read back to confirm the revert.
- Every request is tagged with the finding and step it belongs to, so a security operations team can spot the traffic in its logs and tie it to a run.
I liked that Cycode didn't oversell this part. "Testing a live system carries some risk. These controls reduce it," Maguire said. "They don't replace agreeing on scope with the people who run the app."
One missing check, six exploits
The best example from Cycode's testing shows what a white-box agent can find that a scanner usually won't.
The tested application can send alerts through six services: Slack, Discord, Telegram, email, Gotify, and Resend. Each service has its own update route. Each route took two IDs from the caller: the notification ID and the ID of the provider settings behind it.
The routes checked that the caller could edit the notification. They didn't check that the provider settings belonged to that notification, or to the caller's organization. So a member of one organization could pair their own notification ID with another organization's Discord settings ID and overwrite its webhook. From then on, the victim's alerts would go to an address the attacker controls.
Here's a simplified sketch of the pattern. It's my illustration, not code from the tested app.
// Vulnerable: trusts the provider ID sent in the request
const notification = await getNotificationForUser(req.params.notificationId, session.user);
const provider = await Provider.findById(req.body.providerId);
await provider.update({ webhookUrl: req.body.webhookUrl });
// Fixed: load the provider through the authorized notification
const notification = await getNotificationForUser(req.params.notificationId, session.user);
const provider = await Provider.findById(notification.providerId);
if (provider.orgId !== session.orgId) throw new ForbiddenError();
await provider.update({ webhookUrl: req.body.webhookUrl });
To prove it, the agent signed in as members of two organizations and set up an object in each. As the first member, it sent one request to change the second organization's webhook. The second member then read its own settings and saw the change. The agent restored the original value and checked that the restore held.
It proved all six routes separately, then grouped them, because they share one cause. "The team fixes the cause once instead of closing six tickets one by one," Maguire said.
This is a cross-tenant authorization flaw, the kind deterministic scanners tend to miss because the code isn't wrong on its own. It's wrong about who owns what.
That app was one of three open-source projects Cycode pointed Cycode Red at. Across the three, Cycode says the agents found 61 previously unknown vulnerabilities, including two remote code execution flaws.
From proof to pull request
Finding a flaw is half the job. Someone still has to fix it.
Cycode ties each finding to its code, repository, and history through its Context Intelligence Graph. Ownership comes from signals such as code owner files, commit history, and team mappings. Because Cycode Red starts from code findings, that mapping exists before the attack runs.
When a verdict comes back exploitable, it can kick off a remediation agent that writes a fix and opens a pull request for the owner. The PR includes the code change, the proven attack with a curl command to reproduce it, and the agent's reasoning for the fix.
How often do engineers merge those PRs as written? Cycode says it's too early to give a number.
That's where Cycode puts its main contrast with human pen testers. A skilled tester can find these bugs too, the company says, but might test an app once a year and hand back a static report that someone has to map to owners and turn into tickets.
Why a fix has to survive two attacks
A finding closes only after the attack fails twice in a row. One failure isn't enough evidence. An attack can fail because a deploy is in progress, a cache is stale, a rate limit kicked in, or a session expired.
So the retest makes two attempts. The first is an exact replay of the attack that proved the finding, with the same roles. The login check runs first, so a failure means the attack stopped working, not that the agent couldn't sign in. The second attempt can change approach, such as a different route or parameter, so a fix that only blocks the original request doesn't count.
If either attempt succeeds, the finding goes back to remediation. The failed attempts stay on the record as proof of the fix.
Cycode is clear about the limits. "Two failed attempts show that the known attack and its close variants stopped working," Maguire said. "They don't prove every possible variant is closed, and we don't claim they do."
Test the vendor, Cycode included
I asked which claims about AI-driven security testing teams should doubt. The answer: anything measured in finding volume.
"Finding vulnerabilities is cheap now, for defenders and attackers alike," Maguire said. What matters is how many verdicts are right, how many real exploits the tool missed, and what happens after a finding is proven.
Cycode suggests four tests for any vendor, its own product included. Run the tool against an app where you already know the answers, such as one with recent pen test results or a deliberately vulnerable app, and score both misses and wrong calls. Pick five "exploitable" verdicts at random and reproduce them from the evidence. Check five "not exploitable" verdicts and make sure each comes with a reason you can verify. And ask what happens after proof: who gets the finding, how long until a fix, how the fix is verified, and whether you can see every request the tool sent and proof that every change was put back.
My take
AI finding bugs isn't news anymore. What's worth watching here is the loop: read the code, prove the exploit, route the fix to the right person, then try to break the fix.
There are still open questions. Cycode didn't say who checked the lab results or how they compare with a human tester or a DAST scan in numbers, and the merge rate on its PRs isn't known yet. That's fine for a private preview. It's also why the four tests above matter. If you evaluate Cycode Red, hold it to them.