Benchmarks.
How Marlowe CI performs on real code — and where its limits are.
Four plain questions guide every number below: do we wrongly block normal PRs, do we catch real vulnerabilities, do our fixes stop live attacks, and do our built-in rules regress? Every metric links straight to checked-in raw JSON so you can verify our wins and misses yourself.
Four Questions. Recorded Answers.
Choose a question tab or click any bar, CVE card, or table row below to inspect the exact recorded verdict and limitation notes. Direct links: #precision, #recall, #attack, #suite.
225 PRs total) across 15 production libraries in JS, TypeScript, Python, Go, and Rust. Unseen (Blind Held-Out) repos (6 repos, 90 PRs) were tested after locking rules with zero tuning; Calibration repos (9 repos, 135 PRs) were inspected first to eliminate noisy rules. Note the 1 residual full-repo false positive left in fastapi/security/http.py:42.
| Repository (Pinned SHA) | Language | Files | PR Diff Replay (15 commits) | Full-Repo Sweep | Median PR Speed |
|---|
86 executable vulnerabilities across 3 OWASP training apps (NodeGoat, Juice Shop, PyGoat) after excluding HTML tutorial prose. Right: replaying 4 complex real-world CVEs shows our intentional boundary — fast pre-merge rules flagged 1/4 at the file level and missed 3 deep semantic/AST logic bugs, which require full AST scanning via --scanners auto (semgrep, gitleaks, trivy).
| Cohort · Target (Pinned SHA) | Language | Scope | Diff Replay Verdict | Full / Pre-Patch Verdict | Speed / Gap |
|---|
--scanners auto:
Marlowe CI is a ~12ms zero-dependency pre-merge guardrail for secrets, Trojan Source, MCP/lifecycle hooks, ARTEX edge checks, Shirudo eBPF/TPM configs, and 2-hop sinks — not a replacement for full-program AST taint analysis. Excluding .html tutorial prose keeps OWASP counts grounded in executable code (3 in NodeGoat, 65 in juice-shop, 18 in pygoat). On historical CVEs, heuristic rules flagged CVE-2021-21315 for file-level review (27 CAN'T TELL items) while missing deep flag/regex/loader bypasses in CVE-2022-25912, CVE-2021-23337, and CVE-2020-14343 — showing cleanly when to add --scanners auto (semgrep, gitleaks, trivy).
127.0.0.1 server rotating 10 X-Forwarded-For IPs with standard Chrome headers every 22ms (0 obvious scanner User-Agents). Applying Marlowe’s pre-merge ARTEX remediations cut compromises from 4/4 to 0/4, while ARTEX-BEHAV-001 caught the stealth burst at high confidence and triggered 0 false alarms across normal human browsing (artex-purple-team-results.json) and rapid 200 OK SPA polling (test/artex-defense.test.cjs).
40 self-contained Git test fixtures (benchmarks/results.json), hitting 40/40 exact 3-state verdicts and 0/10 false alarms on clean diffs. Unlike Tabs 1 and 2, these fixtures are written by us to prevent regressions across all 7 defense engines — including Agent Guard (blocks hidden Unicode & AI config poisoning), Shirudo (verifies eBPF & TPM rules), and ARTEX Edge (catches exposed source maps, open admin APIs, and leaky CORS).
AppSec & Cross-File Reachability
Cross-file taint tracing, sink reachability, and command/SQL injection diff checks. Cross-file import resolution puts p95 tail at 41.04ms while median audits stay at 23.78ms.
| Rule Engine & What It Protects | Passed | Accuracy | Median Speed | 95th-Percentile |
|---|
Run every benchmark yourself.
Every chart on this page is backed by checked-in JSON outputs from runnable scripts inside
zerotheory-labs/marlowe-ci. Clone once and inspect or re-run any cohort directly.
git clone https://github.com/zerotheory-labs/marlowe-ci.git cd marlowe-ci npm run bench
npm run bench:corpus
npm run bench:artex
-
Calibration vs. Blind Held-Out Split
9 calibration repos were used to inspect noisy patterns; 6 unseen multi-language repos (
axios,trpc,click,requests,fiber,axum) were run strictly after locking rules, yielding0/90PR FAILS. -
Code-Only OWASP Recall
.htmltutorial and remediation prose is excluded from server rules so the86OWASP findings reflect executable routes, keys, SQL sinks, deserializers, and edge exposures rather than tutorial snippets. -
Honest Scope vs. Full-AST SAST
Replaying 4 historical CVEs (
1/4file-levelCAN'T TELL,3/4missed) shows where a~12mszero-dep pre-merge guardrail ends and where pairing--scanners auto(semgrep,gitleaks,trivy) takes over.
Test Marlowe CI. live in your browser or terminal.
Paste any snippet, Shirudo eBPF rule, or trojan diff into the interactive verdict playground, or install @zerotheory-labs/marlowe-ci@0.6.0 in seconds.