PandaWard

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.

EngineAverage, coveredCoveredcmdicryptohashldapipathtraversecurecookiesqlitrustboundweakrandxpathixss
Built-in heuristics0.0006 of 110.000-0.000--0.000-0.002-0.000-0.000
Semgrep 1.182.0+0.52811 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.81811 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.00011 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.34911 of 11+0.0570.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.40711 of 11+0.2000.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.00011 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).

EnginePrecisionRecallF1FP per KLOCTimePeak memory
Built-in heuristics0.5390.1340.2140.7313.6 s375 MiB
Semgrep0.7240.9430.8191.8126.9 s449 MiB
Opengrep0.8721.0000.9320.7430.3 s502 MiB
Built-in taint engine1.0001.0001.0000.002.4 s375 MiB
Semgrep default rules0.6690.7900.7251.9670.1 s659 MiB
Opengrep default rules0.6910.8090.7461.82114.0 s1180 MiB
PandaWard1.0001.0001.0000.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.

EngineAverage, coveredCoveredcmdicodeinjdeserializationhashldapipathtraverredirectsecurecookiesqlitrustboundweakrandxpathixssxxe
Built-in heuristics+0.0268 of 14-0.4620.000+0.6670.000---0.0000.000-0.000-0.000-
Semgrep 1.182.0+0.60814 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.73514 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.00014 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.06914 of 14-0.4620.000+0.6670.0000.000+0.011+0.0290.000+1.0000.0000.0000.000-0.2760.000
Opengrep default rules 1.33.1+0.10214 of 140.0000.000+0.6670.0000.000+0.011+0.0290.000+1.0000.0000.0000.000-0.2760.000
CodeQL default queries CodeQL 2.27.5+0.13214 of 14+0.560+0.115+0.5560.0000.000+0.061+0.2450.0000.0000.0000.000+0.076-0.121+0.350
PandaWard built-in + taint + opengrep+1.00014 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).

EnginePrecisionRecallF1FP per KLOCTimePeak memory
Built-in heuristics0.4640.0720.1250.673.0 s103 MiB
Semgrep0.7710.7990.7851.377.2 s220 MiB
Opengrep0.8350.8540.8450.9711.0 s286 MiB
Built-in taint engine1.0001.0001.0000.000.4 s103 MiB
Semgrep default rules0.4720.1700.2501.1035.4 s392 MiB
Opengrep default rules0.4620.2010.2801.3696.9 s652 MiB
CodeQL default queries0.4320.2520.3181.9255.9 s1994 MiB
PandaWard1.0001.0001.0000.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.

EngineDetectedRateCWE matchFix recognizedStill flagged after fixScan time per CVE
PandaWard built-in + taint + opengrep130 of 21959.4%78913932.5 s
Built-in heuristics45 of 21920.5%1928172.2 s
Semgrep 1.182.088 of 21940.2%64543422.5 s
Opengrep 1.33.188 of 21940.2%64543429.3 s
Built-in taint engine102 of 21946.6%5870321.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 onJavaPythonJS/TS CVEs
pandawardbuiltintaintsemgrepopengrepsemgrep-defaultopengrep-defaultpandawardbuiltintaintsemgrepopengrepsemgrep-defaultopengrep-defaultpandawardbuiltintaintsemgrepopengrep
main e03daaa
2026-11-30
+1.0000.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/21945/219102/21988/21988/219
0.2.18
2026-11-21
+1.0000.000+1.000+0.528+0.818-- +1.000+0.026+1.000+0.608+0.735-- 125/21945/21996/21988/21988/219
main e1ce77e
2026-11-18
+1.0000.000+1.000+0.528+0.818-- +1.000+0.026+1.000+0.608+0.735-- 125/21945/21996/21988/21988/219
0.2.17
2026-11-17
+1.0000.000+1.000+0.528+0.818-- +1.000+0.026+1.000+0.608+0.735-- 124/21945/21973/21988/21987/219
0.2.16
2026-11-17
+1.0000.000+1.000+0.528+0.818-- +1.000+0.026+1.000+0.540+0.637-- 124/21945/21973/21988/21987/219
main 5c7fab3
2026-11-15
+0.8180.000-+0.528+0.818-- +0.761+0.026+0.642+0.540+0.637-- 124/21945/21973/21988/21987/219
main 6c3989c
2026-11-15
+0.8180.000-+0.528+0.818-- +0.637+0.026-+0.540+0.637-- 124/21945/21973/21988/21987/219
main 20ee2a8
2026-11-14
-0.000-+0.467+0.723-- -+0.026-+0.433+0.530-- 117/21945/21959/21988/21987/219
0.2.15
2026-11-11
-0.000-+0.467+0.723-- -+0.026-+0.433+0.530-- 116/21945/219-88/21987/219
main
2026-11-09
-0.000-0.0000.000-- -+0.026-+0.039+0.059-- -23/219-13/21913/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