Continuous Testing
Your Code Stopped Changing.
The AI Didn't.
A single scan explores one set of reasoning paths. Some vulnerabilities were found in only 8 of 100 runs. Continuous Testing keeps exploring, learns from earlier runs, and builds coverage over time.
Why One Scan Isn't Enough
AI security analysis is non-deterministic. The same model on the same code explores different reasoning paths each time, and some paths lead to bugs that others miss entirely.
1 Scan
8%Chance of at least one detection in the 8%-per-run example.
10 Scans
57%Chance of at least one detection in the 8%-per-run example.
40 Scans
96%Chance of at least one detection in the 8%-per-run example.
The research
The Math of Repeated Runs
In 2025, security researcher Sean Heelan used o3 to find CVE-2025-37899, a remote zero-day in the Linux kernel's SMB implementation. In a separate benchmark of a Kerberos authentication bug, repeated runs produced very different outcomes.
“o3 finds the kerberos authentication vulnerability in the benchmark in 8 of the 100 runs.”Sean Heelan, May 2025
Same vulnerability. Same code. Different models, different odds. Repeated testing gives a system more opportunities to find what it missed.
Explore repeated runs
p = 0.08chance of at least one detection
across 40 independent runs
Illustrative model: 1 − (1 − 0.08)n. Assumes independent runs with a fixed detection probability; actual results depend on the code, models, and techniques.
Continuous Fuzzing, But for AI Security
The security industry already learned this lesson with fuzzing. The same principle applies to AI-driven vulnerability research.
Fuzzing
Random inputs eventually hit edge cases
Fuzzers don't find every bug on the first run. Over time they explore code paths that trigger crashes. That's why you run them for days, not minutes.
Run 1: no crash
Run 1,000: no crash
Run 14,392: buffer overflow foundAI Security Analysis
Different reasoning paths find different bugs
Each run explores different paths. One follows data flow, another constraint logic, another the interaction between components. Some paths lead to vulnerabilities the others miss entirely.
Run 1: no finding
Run 12: no finding
Run 37: invalid state transition foundHow Continuous Testing Works
Continuous Testing is a scan type built to be left running. Connect once, turn it on, and we handle the rest.
Runs every day by default
Turn it on for a branch and the first run starts right away. Each run is cheap. The coverage builds up over many.
Rotates its techniques
Each run takes the next technique in turn: formal models, adversarial tests, a panel of independent models, dependency analysis, and open-ended research.
Remembers where it stopped
Every technique keeps its own memory of the repository. Models get extended, tests carry forward, and audit questions develop as the code and evidence change.
Never the same bug twice
New findings are deduplicated against everything zkao already reported, then surfaced as they are found, even months after the first scan.
Pair it with the scans that watch everything else:
Diff Scan
Audits each change from CI with the zkao GitHub Action, building on what earlier scans learned about the repository.
Dependency Watch
Checks your dependencies every month for reachable vulnerabilities, missed security fixes, and updates that look backdoored.
Regression Check
Confirms the fixes for resolved findings still hold, so a bug that comes back is caught.
“But My Code Isn’t Ready”
The worst time to set up continuous testing is after you needed it. The best time is now, even if your code is a mess.
Mid-refactor?
Set it up now and ignore early results. When your clean code lands, testing picks it up. No need to remember to come back.
Too messy to triage?
Use early findings as a regression checklist. A Regression Check later confirms each one is actually fixed in the new code.
Refactors introduce bugs
The riskiest time for a codebase is right after a major rewrite. With testing already running, you catch those bugs right away, not months later.
Think of it like setting up CI before your tests are green. You don't wait for perfect code to set up the pipeline. You set up the pipeline so you know when the code is ready.
One-Shot vs. Continuous
| Capability | One-Shot Scan | Continuous Testing |
|---|---|---|
| Hard-to-find bugs | One set of reasoning paths | More paths over repeated runs |
| New model capabilities | Requires a new scan | Automatic |
| New techniques and patterns | Requires a new scan | In the next run |
| Memory of the repository | A snapshot | Grows every run |
| Effort after setup | Manual re-runs | None |
A product by zkSecurity
Set It and Forget It
Connect your repository once. We'll keep finding bugs for as long as you want us to.