Benchmarks
What PandaWard finds on public, labelled test suites it did not write, measured the same way for every release. These are baselines, not claims: the method and interpretation say what each number measures and where PandaWard is still weak, such as the single-line heuristics, which score near zero on Java and Python where the taint engine does the work, and the JavaScript CVEs it still misses. No other product is compared here, because none was run with the same suites, versions and configuration.
Latest: main e03daaa, 2026-11-30 (source). Score = true positive rate minus false positive rate per category (Youden's index): 0 is no better than not running the tool, 1 is perfect.
OWASP Benchmark for Java
Benchmark commit f40c618c5a. Semgrep and Opengrep run PandaWard's bundled rules. PandaWard is the built-in rules plus Opengrep, as a scan runs them when Opengrep is installed. "-" means no rule of that engine covers the category.
| Engine | Average, covered | Covered | cmdi | crypto | hash | ldapi | pathtraver | securecookie | sqli | trustbound | weakrand | xpathi | xss |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Built-in heuristics | 0.000 | 6 of 11 | 0.000 | - | 0.000 | - | - | 0.000 | -0.002 | - | 0.000 | - | 0.000 |
| Semgrep 1.182.0 | +0.528 | 11 of 11 | +0.194 | +1.000 | +1.000 | +0.275 | +0.199 | +1.000 | +0.263 | +0.313 | +1.000 | +0.200 | +0.358 |
| Opengrep 1.33.1 | +0.818 | 11 of 11 | +0.736 | +1.000 | +1.000 | +0.750 | +0.644 | +1.000 | +0.728 | +0.535 | +1.000 | +0.750 | +0.852 |
| Built-in taint engine | +1.000 | 11 of 11 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 |
| Semgrep default rules 1.182.0 | +0.349 | 11 of 11 | +0.057 | 0.000 | +0.690 | +0.088 | +0.117 | +1.000 | +0.197 | +0.099 | +1.000 | +0.283 | +0.304 |
| Opengrep default rules 1.33.1 | +0.407 | 11 of 11 | +0.200 | 0.000 | +0.690 | +0.156 | +0.199 | +1.000 | +0.246 | +0.170 | +1.000 | +0.433 | +0.383 |
| PandaWard built-in + taint + opengrep | +1.000 | 11 of 11 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 |
All categories together: precision, recall, F1, false positive test cases per thousand lines of test code, and the wall-clock time of the run. A blank time or memory means the figure was not recorded for that row. Memory is the peak resident set of a separate run of that engine (Linux).
| Engine | Precision | Recall | F1 | FP per KLOC | Time | Peak memory |
|---|---|---|---|---|---|---|
| Built-in heuristics | 0.539 | 0.134 | 0.214 | 0.73 | 13.6 s | 375 MiB |
| Semgrep | 0.724 | 0.943 | 0.819 | 1.81 | 26.9 s | 449 MiB |
| Opengrep | 0.872 | 1.000 | 0.932 | 0.74 | 30.3 s | 502 MiB |
| Built-in taint engine | 1.000 | 1.000 | 1.000 | 0.00 | 2.4 s | 375 MiB |
| Semgrep default rules | 0.669 | 0.790 | 0.725 | 1.96 | 70.1 s | 659 MiB |
| Opengrep default rules | 0.691 | 0.809 | 0.746 | 1.82 | 114.0 s | 1180 MiB |
| PandaWard | 1.000 | 1.000 | 1.000 | 0.00 |
OWASP Benchmark for Python
Benchmark commit f129148580. Semgrep and Opengrep run PandaWard's bundled rules. PandaWard is the built-in rules plus Opengrep, as a scan runs them when Opengrep is installed. "-" means no rule of that engine covers the category.
| Engine | Average, covered | Covered | cmdi | codeinj | deserialization | hash | ldapi | pathtraver | redirect | securecookie | sqli | trustbound | weakrand | xpathi | xss | xxe |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Built-in heuristics | +0.026 | 8 of 14 | -0.462 | 0.000 | +0.667 | 0.000 | - | - | - | 0.000 | 0.000 | - | 0.000 | - | 0.000 | - |
| Semgrep 1.182.0 | +0.608 | 14 of 14 | +0.769 | +0.638 | +0.667 | +1.000 | +0.534 | +0.357 | +0.502 | +1.000 | +0.600 | +0.298 | +1.000 | +0.241 | +0.305 | +0.600 |
| Opengrep 1.33.1 | +0.735 | 14 of 14 | +0.923 | +0.729 | +0.667 | +1.000 | +0.673 | +0.577 | +0.626 | +1.000 | +1.000 | +0.515 | +1.000 | +0.339 | +0.634 | +0.600 |
| Built-in taint engine | +1.000 | 14 of 14 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 |
| Semgrep default rules 1.182.0 | +0.069 | 14 of 14 | -0.462 | 0.000 | +0.667 | 0.000 | 0.000 | +0.011 | +0.029 | 0.000 | +1.000 | 0.000 | 0.000 | 0.000 | -0.276 | 0.000 |
| Opengrep default rules 1.33.1 | +0.102 | 14 of 14 | 0.000 | 0.000 | +0.667 | 0.000 | 0.000 | +0.011 | +0.029 | 0.000 | +1.000 | 0.000 | 0.000 | 0.000 | -0.276 | 0.000 |
| CodeQL default queries CodeQL 2.27.5 | +0.132 | 14 of 14 | +0.560 | +0.115 | +0.556 | 0.000 | 0.000 | +0.061 | +0.245 | 0.000 | 0.000 | 0.000 | 0.000 | +0.076 | -0.121 | +0.350 |
| PandaWard built-in + taint + opengrep | +1.000 | 14 of 14 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 | +1.000 |
All categories together: precision, recall, F1, false positive test cases per thousand lines of test code, and the wall-clock time of the run. A blank time or memory means the figure was not recorded for that row. Memory is the peak resident set of a separate run of that engine (Linux).
| Engine | Precision | Recall | F1 | FP per KLOC | Time | Peak memory |
|---|---|---|---|---|---|---|
| Built-in heuristics | 0.464 | 0.072 | 0.125 | 0.67 | 3.0 s | 103 MiB |
| Semgrep | 0.771 | 0.799 | 0.785 | 1.37 | 7.2 s | 220 MiB |
| Opengrep | 0.835 | 0.854 | 0.845 | 0.97 | 11.0 s | 286 MiB |
| Built-in taint engine | 1.000 | 1.000 | 1.000 | 0.00 | 0.4 s | 103 MiB |
| Semgrep default rules | 0.472 | 0.170 | 0.250 | 1.10 | 35.4 s | 392 MiB |
| Opengrep default rules | 0.462 | 0.201 | 0.280 | 1.36 | 96.9 s | 652 MiB |
| CodeQL default queries | 0.432 | 0.252 | 0.318 | 1.92 | 55.9 s | 1994 MiB |
| PandaWard | 1.000 | 1.000 | 1.000 | 0.00 |
OpenSSF CVE Benchmark (JavaScript and TypeScript)
219 real CVEs, each checked at the commit before and after its fix; 2 unavailable (repository gone). Detected: a finding on a labelled vulnerable line. Fix recognized: that rule reports fewer findings in the file after the fix. PandaWard counts a CVE once when the built-in rules, the built-in taint engine or the bundled rules on Opengrep (Semgrep when Opengrep is not installed) find it, as a scan runs all three. The taint engine follows untrusted data from a source to a sink within and across the files of a JavaScript or TypeScript project. Benchmark commit 91c59fd54b.
| Engine | Detected | Rate | CWE match | Fix recognized | Still flagged after fix | Scan time per CVE |
|---|---|---|---|---|---|---|
| PandaWard built-in + taint + opengrep | 130 of 219 | 59.4% | 78 | 91 | 39 | 32.5 s |
| Built-in heuristics | 45 of 219 | 20.5% | 19 | 28 | 17 | 2.2 s |
| Semgrep 1.182.0 | 88 of 219 | 40.2% | 64 | 54 | 34 | 22.5 s |
| Opengrep 1.33.1 | 88 of 219 | 40.2% | 64 | 54 | 34 | 29.3 s |
| Built-in taint engine | 102 of 219 | 46.6% | 58 | 70 | 32 | 1.0 s |
History
Average score over covered categories for the OWASP suites, CVEs detected for the CVE benchmark. Each row links to the release or commit it was measured on. A pull request that lowers any of these numbers fails CI.
| Measured on | Java | Python | JS/TS CVEs | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pandaward | builtin | taint | semgrep | opengrep | semgrep-default | opengrep-default | pandaward | builtin | taint | semgrep | opengrep | semgrep-default | opengrep-default | pandaward | builtin | taint | semgrep | opengrep | |
| main e03daaa 2026-11-30 |
+1.000 | 0.000 | +1.000 | +0.528 | +0.818 | +0.349 | +0.407 | +1.000 | +0.026 | +1.000 | +0.608 | +0.735 | +0.069 | +0.102 | 130/219 | 45/219 | 102/219 | 88/219 | 88/219 |
| 0.2.18 2026-11-21 |
+1.000 | 0.000 | +1.000 | +0.528 | +0.818 | - | - | +1.000 | +0.026 | +1.000 | +0.608 | +0.735 | - | - | 125/219 | 45/219 | 96/219 | 88/219 | 88/219 |
| main e1ce77e 2026-11-18 |
+1.000 | 0.000 | +1.000 | +0.528 | +0.818 | - | - | +1.000 | +0.026 | +1.000 | +0.608 | +0.735 | - | - | 125/219 | 45/219 | 96/219 | 88/219 | 88/219 |
| 0.2.17 2026-11-17 |
+1.000 | 0.000 | +1.000 | +0.528 | +0.818 | - | - | +1.000 | +0.026 | +1.000 | +0.608 | +0.735 | - | - | 124/219 | 45/219 | 73/219 | 88/219 | 87/219 |
| 0.2.16 2026-11-17 |
+1.000 | 0.000 | +1.000 | +0.528 | +0.818 | - | - | +1.000 | +0.026 | +1.000 | +0.540 | +0.637 | - | - | 124/219 | 45/219 | 73/219 | 88/219 | 87/219 |
| main 5c7fab3 2026-11-15 |
+0.818 | 0.000 | - | +0.528 | +0.818 | - | - | +0.761 | +0.026 | +0.642 | +0.540 | +0.637 | - | - | 124/219 | 45/219 | 73/219 | 88/219 | 87/219 |
| main 6c3989c 2026-11-15 |
+0.818 | 0.000 | - | +0.528 | +0.818 | - | - | +0.637 | +0.026 | - | +0.540 | +0.637 | - | - | 124/219 | 45/219 | 73/219 | 88/219 | 87/219 |
| main 20ee2a8 2026-11-14 |
- | 0.000 | - | +0.467 | +0.723 | - | - | - | +0.026 | - | +0.433 | +0.530 | - | - | 117/219 | 45/219 | 59/219 | 88/219 | 87/219 |
| 0.2.15 2026-11-11 |
- | 0.000 | - | +0.467 | +0.723 | - | - | - | +0.026 | - | +0.433 | +0.530 | - | - | 116/219 | 45/219 | - | 88/219 | 87/219 |
| main 2026-11-09 |
- | 0.000 | - | 0.000 | 0.000 | - | - | - | +0.026 | - | +0.039 | +0.059 | - | - | - | 23/219 | - | 13/219 | 13/219 |
Reproduce
From a clone of the repository at the release tag, with Go installed. Semgrep and Opengrep are optional; an engine that is not installed is reported as not run. Nothing from the benchmarks or the CVE projects is built or executed.
sh tools/owaspbench/run.sh --suite java --engine builtin,semgrep,opengrep sh tools/owaspbench/run.sh --suite python --engine builtin,semgrep,opengrep,taint sh tools/cvebench/run.sh --engine builtin,taint,semgrep,opengrep # hours; resumes if interrupted