How we measure
How the figures on the performance page were made: the cases, the rules every tool is judged by, how each tool was run, and what the run did.
Results of Dec 3, 2026 The performance page Full results and settings (JSON)
The rules
- A case is a known flaw: the code from before its fix, and the code after it. Every tool is measured on the same cases.
- Detected and located: on the code before the fix, a tool's alert sits in a file the fix changed, and that alert is gone on the fixed code.
- Every alert a tool raises on the fixed code is counted, per 1,000 lines, so a tool that alerts everywhere shows it.
- A case a tool crashed on, timed out on or could not read is a miss, and every count of detections is out of all of a benchmark's cases.
Best
- Best marks the best figure in each row among the columns shown, whichever tool has it.
- Higher is better on detected and located; lower is better on still flagged after the fix, alerts on fixed code, could not run and median time.
- Detected, any alert has no Best, since an alert anywhere in the code can be noise.
- On could not run and median time, only the tools started on every case are compared.
- A tool that could not run has no figure in a row, so it takes no mark there.
- Ties are all marked; none is marked where fewer than two figures compare, where they are all equal, or on detected and located when no tool shown located a case.
- BlackHart-1 by version compares its versions with each other, not with the other tools, and marks no Best.
Partial runs
- Some tools were started on only part of a benchmark, such as the cases in a language they read; their column says on how many.
- A partial run's detections still count out of all of the benchmark's cases, so a case it was not started on is a miss.
- Its could not run counts out of the cases it was started on.
- Still flagged after the fix is out of its cases with any alert; alerts on fixed code and median time are over the cases it ran.
Seen and unseen
- Written against these cases: BlackHart-1's rules were written against them, so its figures there show how well the rules fit, not how it does on new code.
- Developed with these cases: the version the chip is for was run on them while it was being changed, so for it they are not unseen.
- Unseen cases: no BlackHart-1 rule was written against them, and the version the chip is for was not developed with them.
- v7.0.0 and the development builds of its engine were run on the 40 open-source fixes three times while being changed; v5.3.0 had not seen them.
- 6 of the 10 smart-contract advisories BlackHart has never been run on come from one repository in its open-source index; no tool located any of those 6.
The loose count
- Detected, any alert, the loose count, counts a case where a tool raised an alert of a related kind anywhere in the code before the fix.
- On the smart-contract advisories BlackHart has never been run on, it covers the 8 cases with a known weakness class, for every BlackHart-1 engine and Semgrep.
The run behind these results
- Times were taken on a shared machine under load, so they do not compare with times on a quiet one.
- One rule, written before any tool ran, was changed: scans were to start only below a one-minute load average of 12; none could, so the limit became 32.
- Every scan ran under a time limit, and a case whose scan ran past it counts as one the tool could not run.
- Two did: the development build at commit 80e9f33 on one open-source fix, and 4naly3er on one past web3 hack.
- Semgrep also stops a rule that runs past its time limit on a file; that happened on 4 open-source fixes, so some of its alerts there may be missing.
Development builds
- 6 development builds of BlackHart-1, never released, were measured too; the performance page leaves them out.
- Their figures, and every other figure of the run, are in the full results file.
How each tool was run
| Tool | Version | Settings |
|---|---|---|
| BlackHart-1 | v7.0.0 | The Version 7 engine binary, run on the whole repository with the settings the scoring side used. |
| BlackHart-1 development builds | commits 80e9f33, 824f599, 45ab185, 8016daf, 3e12856 and e44cfba | Each development build's engine binary, run on the whole repository with the settings the scoring side used. |
| BlackHart-1 | v5.3.0 | The production Builder image, run offline as the Builder runner calls it, on the code before and after each fix. |
| Slither | 0.11.6 | All default detectors on the compiled project; High, Medium and Low results counted. |
| Aderyn | 0.6.8 | Default settings on the project, built from the last release's source because its maker has retired the tool. |
| Semgrep | 1.187.0 | The public registry pack p/smart-contracts for smart contracts and p/default for open source, security rules counted. |
| Mythril | 0.24.8 | Symbolic execution of each contract file the fix changed, 120 seconds per file and 20 minutes per version. |
| 4naly3er | commit 8a9d1eb | Default report on every project contract; high, medium and low issues counted, gas and style notes not. |
| CodeQL | 2.27.5 | The default code-scanning query suite, without a build, on projects under an open-source licence. |
| Bandit | 1.9.4 | Default profile on the whole Python project, every severity counted. |
| gosec | 2.30.0 | Default rules on every Go module of the project, every severity counted. |
Where the cases come from
- Past web3 hacks with a public fix 6 cases
- BlackHart's web3 hack corpus (74 code-bug hacks); code before and after each fix from the public repositories.
- Open-source fixes from 2025 and 2026 40 cases
- BlackHart's 2025-2026 list of 40 fixes kept aside for testing (GitHub security advisories); code before and after each fix from the public repositories.
- Smart-contract advisories BlackHart has never been run on 10 cases
- GitHub Advisory Database (reviewed advisories), selected by a rule written before any case was seen.