{
  "generated": "2026-12-03",
  "benchmarks": [
    {
      "id": "web3-hacks-74",
      "name": "Past web3 hacks with a public fix",
      "what": "Past web3 hacks from BlackHart's own hack list whose record names a public fix commit that changes contract code (6 of the 74 code-bug hacks).",
      "cases": 6,
      "seen": "development",
      "catch_rule": "Located: on the code before the fix, the tool raises an alert in a file the fix changed, and that alert is gone on the fixed code.",
      "source": "BlackHart's web3 hack corpus (74 code-bug hacks); code before and after each fix from the public repositories."
    },
    {
      "id": "oss-holdout-40",
      "name": "Open-source fixes from 2025 and 2026",
      "what": "Forty published security fixes in open-source projects from 2025 and 2026, across ten package ecosystems.",
      "cases": 40,
      "seen": "unseen",
      "catch_rule": "Located: on the code before the fix, the tool raises an alert in a file the fix changed, and that alert is gone on the fixed code.",
      "source": "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."
    },
    {
      "id": "web3-fresh",
      "name": "Smart-contract advisories BlackHart has never been run on",
      "what": "Every high or critical smart-contract advisory in GitHub's reviewed advisory database with a public fix commit, from repositories on none of BlackHart's hack, fix or calibration lists; 6 of the 10 are from one in its open-source index.",
      "cases": 10,
      "seen": "unseen",
      "catch_rule": "Located: on the code before the fix, the tool raises an alert in a file the fix changed, and that alert is gone on the fixed code.",
      "source": "GitHub Advisory Database (reviewed advisories), selected by a rule written before any case was seen."
    }
  ],
  "tools": [
    {
      "id": "blackhart-1-production",
      "name": "BlackHart-1 v5.3.0 (what Builder runs today)",
      "kind": "blackhart",
      "version": "v5.3.0",
      "released": "2026-11-19",
      "how_run": "The production Builder image, run offline as the Builder runner calls it, on the code before and after each fix."
    },
    {
      "id": "blackhart-1-version-7",
      "name": "BlackHart-1 Version 7",
      "kind": "blackhart",
      "version": "v7.0.0",
      "released": "2026-12-02",
      "how_run": "The Version 7 engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-80e9f33",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit 80e9f33",
      "released": "2026-12-01",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-824f599",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit 824f599",
      "released": "2026-11-29",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-45ab185",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit 45ab185",
      "released": "2026-11-29",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-8016daf",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit 8016daf",
      "released": "2026-11-29",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-3e12856",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit 3e12856",
      "released": "2026-11-29",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "blackhart-1-build-e44cfba",
      "name": "BlackHart-1 development build",
      "kind": "blackhart",
      "version": "commit e44cfba",
      "released": "2026-11-29",
      "how_run": "This development build's engine binary, run on the whole repository with the settings the scoring side used."
    },
    {
      "id": "slither",
      "name": "Slither",
      "kind": "other",
      "version": "0.11.6",
      "released": "2026-07-28",
      "how_run": "All default detectors on the compiled project; High, Medium and Low results counted.",
      "homepage": "https://github.com/crytic/slither"
    },
    {
      "id": "aderyn",
      "name": "Aderyn",
      "kind": "other",
      "version": "0.6.8",
      "released": "2026-01-22",
      "how_run": "Default settings on the project, built from the last release's source because its maker has retired the tool.",
      "homepage": "https://github.com/Cyfrin/aderyn"
    },
    {
      "id": "semgrep",
      "name": "Semgrep",
      "kind": "other",
      "version": "1.187.0",
      "released": "2026-11-24",
      "how_run": "The public registry pack p/smart-contracts for smart contracts and p/default for open source, security rules counted.",
      "homepage": "https://semgrep.dev"
    },
    {
      "id": "mythril",
      "name": "Mythril",
      "kind": "other",
      "version": "0.24.8",
      "released": "2024-03-27",
      "how_run": "Symbolic execution of each contract file the fix changed, 120 seconds per file and 20 minutes per version.",
      "homepage": "https://github.com/Consensys/mythril"
    },
    {
      "id": "4naly3er",
      "name": "4naly3er",
      "kind": "other",
      "version": "commit 8a9d1eb",
      "released": "2024-02-16",
      "how_run": "Default report on every project contract; high, medium and low issues counted, gas and style notes not.",
      "homepage": "https://github.com/Picodes/4naly3er"
    },
    {
      "id": "codeql",
      "name": "CodeQL",
      "kind": "other",
      "version": "2.27.5",
      "released": "2026-11-19",
      "how_run": "The default code-scanning query suite, without a build, on projects under an open-source licence.",
      "homepage": "https://codeql.github.com"
    },
    {
      "id": "bandit",
      "name": "Bandit",
      "kind": "other",
      "version": "1.9.4",
      "released": "2026-02-25",
      "how_run": "Default profile on the whole Python project, every severity counted.",
      "homepage": "https://github.com/PyCQA/bandit"
    },
    {
      "id": "gosec",
      "name": "gosec",
      "kind": "other",
      "version": "2.30.0",
      "released": "2026-10-23",
      "how_run": "Default rules on every Go module of the project, every severity counted.",
      "homepage": "https://github.com/securego/gosec"
    }
  ],
  "results": [
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-production",
      "cases_run": 6,
      "located": 0,
      "located_function": null,
      "any_alert": 3,
      "still_flagged_after_fix": 3,
      "alerts_on_fixed_per_kloc": 0.5925,
      "errors": 0,
      "median_seconds": 17.38,
      "notes": "Reports files, not lines, so there is no function-level count."
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-version-7",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.3822,
      "errors": 0,
      "median_seconds": 1.73,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-80e9f33",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.5303,
      "errors": 0,
      "median_seconds": 1.61,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-824f599",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.123,
      "errors": 0,
      "median_seconds": 2.11,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-45ab185",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.123,
      "errors": 0,
      "median_seconds": 0.53,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-8016daf",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.123,
      "errors": 0,
      "median_seconds": 0.99,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-3e12856",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 2.4192,
      "errors": 0,
      "median_seconds": 0.4,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "blackhart-1-build-e44cfba",
      "cases_run": 6,
      "located": 0,
      "located_function": 0,
      "any_alert": 3,
      "still_flagged_after_fix": 3,
      "alerts_on_fixed_per_kloc": 1.296,
      "errors": 0,
      "median_seconds": 0.57,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "slither",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 1,
      "still_flagged_after_fix": 1,
      "alerts_on_fixed_per_kloc": 38.7302,
      "errors": 3,
      "median_seconds": 63.36,
      "notes": "3 of 4 cases could not be run; rates are over the other 1."
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "aderyn",
      "cases_run": 4,
      "located": 1,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 84.1558,
      "errors": 3,
      "median_seconds": 3.92,
      "notes": "3 of 4 cases could not be run; rates are over the other 1."
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "semgrep",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 2,
      "still_flagged_after_fix": 2,
      "alerts_on_fixed_per_kloc": 0.1932,
      "errors": 0,
      "median_seconds": 6.54,
      "notes": ""
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "mythril",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 0,
      "errors": 4,
      "median_seconds": 0,
      "notes": "4 of 4 cases could not be run; rates are over the other 0. Pointed at the files the fix changed (it cannot finish whole projects), which helps its located count; its noise covers those files only. No scan finished, so there is no time."
    },
    {
      "benchmark": "web3-hacks-74",
      "tool": "4naly3er",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 0,
      "errors": 4,
      "median_seconds": 0,
      "notes": "4 of 4 cases could not be run (1 hit the time limit); rates are over the other 0. No scan finished, so there is no time."
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-production",
      "cases_run": 8,
      "located": 0,
      "located_function": null,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 0.1993,
      "errors": 0,
      "median_seconds": 7.9,
      "notes": "Reports files, not lines, so there is no function-level count."
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-version-7",
      "cases_run": 40,
      "located": 2,
      "located_function": 0,
      "any_alert": 16,
      "still_flagged_after_fix": 16,
      "alerts_on_fixed_per_kloc": 0.1844,
      "errors": 0,
      "median_seconds": 8.27,
      "notes": "Version 7 was run on these 40 three times while it was being changed, so for Version 7 this set counts as development, not unseen."
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-80e9f33",
      "cases_run": 40,
      "located": 2,
      "located_function": 0,
      "any_alert": 21,
      "still_flagged_after_fix": 21,
      "alerts_on_fixed_per_kloc": 1.439,
      "errors": 1,
      "median_seconds": 4.17,
      "notes": "1 of 40 cases could not be run (1 hit the time limit); rates are over the other 39."
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-824f599",
      "cases_run": 40,
      "located": 1,
      "located_function": 0,
      "any_alert": 14,
      "still_flagged_after_fix": 14,
      "alerts_on_fixed_per_kloc": 0.1045,
      "errors": 0,
      "median_seconds": 2.22,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-45ab185",
      "cases_run": 40,
      "located": 1,
      "located_function": 0,
      "any_alert": 14,
      "still_flagged_after_fix": 14,
      "alerts_on_fixed_per_kloc": 0.1042,
      "errors": 0,
      "median_seconds": 1.69,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-8016daf",
      "cases_run": 40,
      "located": 1,
      "located_function": 0,
      "any_alert": 13,
      "still_flagged_after_fix": 13,
      "alerts_on_fixed_per_kloc": 0.0973,
      "errors": 0,
      "median_seconds": 1,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-3e12856",
      "cases_run": 40,
      "located": 2,
      "located_function": 0,
      "any_alert": 13,
      "still_flagged_after_fix": 13,
      "alerts_on_fixed_per_kloc": 0.1843,
      "errors": 0,
      "median_seconds": 1.08,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "blackhart-1-build-e44cfba",
      "cases_run": 40,
      "located": 0,
      "located_function": 0,
      "any_alert": 10,
      "still_flagged_after_fix": 10,
      "alerts_on_fixed_per_kloc": 0.0863,
      "errors": 0,
      "median_seconds": 1.53,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "semgrep",
      "cases_run": 40,
      "located": 1,
      "located_function": 0,
      "any_alert": 8,
      "still_flagged_after_fix": 8,
      "alerts_on_fixed_per_kloc": 0.1034,
      "errors": 0,
      "median_seconds": 32.63,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "codeql",
      "cases_run": 19,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.1597,
      "errors": 3,
      "median_seconds": 79.78,
      "notes": "3 of 19 cases could not be run; rates are over the other 16. Run only on projects under an open-source licence and not on Go (needs a build), PHP or shell (no support)."
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "bandit",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 1,
      "still_flagged_after_fix": 1,
      "alerts_on_fixed_per_kloc": 5.8912,
      "errors": 0,
      "median_seconds": 7.97,
      "notes": ""
    },
    {
      "benchmark": "oss-holdout-40",
      "tool": "gosec",
      "cases_run": 4,
      "located": 0,
      "located_function": 0,
      "any_alert": 3,
      "still_flagged_after_fix": 3,
      "alerts_on_fixed_per_kloc": 6.5072,
      "errors": 0,
      "median_seconds": 42.68,
      "notes": ""
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-production",
      "cases_run": 10,
      "located": 1,
      "located_function": null,
      "any_alert": 5,
      "still_flagged_after_fix": 4,
      "alerts_on_fixed_per_kloc": 0.3326,
      "errors": 0,
      "median_seconds": 20.7,
      "notes": "Reports files, not lines, so there is no function-level count. The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-version-7",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 1.0347,
      "errors": 0,
      "median_seconds": 1.52,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-80e9f33",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.9608,
      "errors": 0,
      "median_seconds": 0.77,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-824f599",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.8961,
      "errors": 0,
      "median_seconds": 1.02,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-45ab185",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.8961,
      "errors": 0,
      "median_seconds": 0.3,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-8016daf",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.8961,
      "errors": 0,
      "median_seconds": 0.43,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-3e12856",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.9978,
      "errors": 0,
      "median_seconds": 0.35,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "blackhart-1-build-e44cfba",
      "cases_run": 10,
      "located": 0,
      "located_function": 0,
      "any_alert": 5,
      "still_flagged_after_fix": 5,
      "alerts_on_fixed_per_kloc": 0.6282,
      "errors": 0,
      "median_seconds": 0.26,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "slither",
      "cases_run": 9,
      "located": 0,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 1.5806,
      "errors": 5,
      "median_seconds": 38.05,
      "notes": "5 of 9 cases could not be run; rates are over the other 4."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "aderyn",
      "cases_run": 9,
      "located": 0,
      "located_function": 0,
      "any_alert": 3,
      "still_flagged_after_fix": 3,
      "alerts_on_fixed_per_kloc": 30.3042,
      "errors": 5,
      "median_seconds": 2.58,
      "notes": "5 of 9 cases could not be run; rates are over the other 4."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "semgrep",
      "cases_run": 9,
      "located": 0,
      "located_function": 0,
      "any_alert": 1,
      "still_flagged_after_fix": 1,
      "alerts_on_fixed_per_kloc": 0.1946,
      "errors": 0,
      "median_seconds": 5.03,
      "notes": "The loose count covers the 8 cases with a known weakness class."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "mythril",
      "cases_run": 9,
      "located": 0,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 0,
      "errors": 9,
      "median_seconds": 0,
      "notes": "9 of 9 cases could not be run; rates are over the other 0. Pointed at the files the fix changed (it cannot finish whole projects), which helps its located count; its noise covers those files only. No scan finished, so there is no time."
    },
    {
      "benchmark": "web3-fresh",
      "tool": "4naly3er",
      "cases_run": 9,
      "located": 0,
      "located_function": 0,
      "any_alert": 0,
      "still_flagged_after_fix": 0,
      "alerts_on_fixed_per_kloc": 0,
      "errors": 9,
      "median_seconds": 0,
      "notes": "9 of 9 cases could not be run; rates are over the other 0. No scan finished, so there is no time."
    }
  ]
}
