QQShield

DETECTION-ACCURACY BENCHMARK

Benchmark Results

10,898 self-generated + 528 third-party test cases across 13 modules, 37.9 minutes wall time. Generated 7/27/2026, 10:01:07 PM.

New here? See what QShield does and why this benchmark exists →

ACCURACY BY MODULE

Detection accuracy

ModuleCorpusClaim typeNPrecisionRecallF1Wall time
AWS DiscoverySelf-generatedclassification2,136100.0% (±0.0%)100.0% (±0.0%)1.00098.9sDetails →
CertificatesSelf-generatedclassification2,136100.0% (±0.0%)100.0% (±0.0%)1.000151.7sDetails →
Source CodeSelf-generatedclassification770100.0% (±0.0%)100.0% (±0.0%)1.0006.1sDetails →
DependenciesSelf-generatedenumeration770100.0% (±0.0%)3.2sDetails →
Network ServicesSelf-generatedclassification770100.0% (±0.0%)96.2% (±1.3%)0.98152.7sDetails →
ContainersSelf-generatedclassification44100.0% (±0.0%)100.0% (±0.0%)1.0001442.7sDetails →
External Corpus Validation (CodeQL)Third-partyclassification23100.0% (±0.0%)100.0% (±0.0%)1.0004.2sDetails →
External Corpus Validation (PyJWT)Third-partyclassification4100.0% (±0.0%)100.0% (±0.0%)1.0003.8sDetails →
Package SigningSelf-generatedclassification1,068100.0% (±0.0%)100.0% (±0.0%)1.00040.0sDetails →
VPN AppliancesSelf-generatedclassification1,068100.0% (±0.0%)100.0% (±0.0%)1.0001.6sDetails →
Backup SystemsSelf-generatedclassification1,068100.0% (±0.0%)100.0% (±0.0%)1.0000.0sDetails →
FirmwareSelf-generatedclassification1,068100.0% (±0.0%)100.0% (±0.0%)1.000464.3sDetails →
External Corpus Validation (OWASP Benchmark)Third-partyclassification5010.0% (±100.0%)0.0% (±100.0%)0.0004.6sDetails →

KNOWN CRYPTOGRAPHIC FINDINGS

Findings surfaced by this run

[
  {
    "module": "network_services",
    "kind": "false_negative",
    "count": 29,
    "affected_categories": [
      "DSA-2048"
    ],
    "examples": [
      {
        "case_id": "network_services:DSA-2048:00714",
        "outcome": "FN",
        "detail": {
          "family": "DSA-2048",
          "observed_status": "not_reported",
          "observed_tls_version": null,
          "observed_cipher_status": null
        }
      },
      {
        "case_id": "network_services:DSA-2048:00715",
        "outcome": "FN",
        "detail": {
          "family": "DSA-2048",
          "observed_status": "not_reported",
          "observed_tls_version": null,
          "observed_cipher_status": null
        }
      },
      {
        "case_id": "network_services:DSA-2048:00716",
        "outcome": "FN",
        "detail": {
          "family": "DSA-2048",
          "observed_status": "not_reported",
          "observed_tls_version": null,
          "observed_cipher_status": null
        }
      },
      {
        "case_id": "network_services:DSA-2048:00717",
        "outcome": "FN",
        "detail": {
          "family": "DSA-2048",
          "observed_status": "not_reported",
          "observed_tls_version": null,
          "observed_cipher_status": null
        }
      },
      {
        "case_id": "network_services:DSA-2048:00718",
        "outcome": "FN",
        "detail": {
          "family": "DSA-2048",
          "observed_status": "not_reported",
          "observed_tls_version": null,
          "observed_cipher_status": null
        }
      }
    ]
  }
]

COMPATIBILITY

Compatibility notes

TEST ENVIRONMENT

Environment & reproducibility

Python3.13.14
PlatformLinux-6.8.0-100-generic-aarch64-with-glibc2.41
Git commitunknown (not a git checkout in this container)
boto31.42.0
moto5.1.17
cryptography46.0.0
fastapi0.128.0
sqlalchemy2.0.50

Corpus composition (algorithm family counts, package lists, file templates) is fixed and versioned in benchmark/corpus/*.py. Underlying asymmetric key material (RSA/EC/DSA/Ed25519/Ed448) is freshly generated each run via the OS CSPRNG, not derived from a fixed seed -- practical deterministic keygen isn't offered by the cryptography library across backends/versions. This does not affect the statistical result, which depends on algorithm family, not exact key bytes.

make benchmark  # docker compose run --rm benchmark python -m benchmark.run_all