← Lab /Software

Static scanner discovers 370 crypto assets and 6 CVE bugs in 57 k files

The authors claim their classification-driven static scanner can reliably discover cryptographic assets and annotate related weaknesses.

Software arXiv 5 Aug 2026 Measurement Prototype evidence

Published as “Hidden Ciphers and Where to Find Them: Static Discovery and Assessment of Cryptographic Assets in Software”

Why it matters

The tool gives organizations a practical way to inventory cryptographic assets and prioritize post-quantum migration, but its current language coverage and detection limits mean it should be complemented with additional analysis for full assurance.

Summary

Crypsy achieves an overall F1 score of 0.75 (Precision = 0.87, Recall = 0.66) on a synthetic benchmark of 197 ground-truth cryptographic assets and discovers 370 assets across ten real-world services in under six minutes, identifying six CVE-linked vulnerabilities and 52 post-quantum migration candidates. Assessment recall is 0.91 with an assessment F1 of 0.74. Compared to the prior tool CBOMkit-hyperion, Crypsy attains a higher F1 of 0.92 versus 0.66 on the Go-invocation subset. The evidence is limited to Ruby and Go ecosystems and relies on a partial manual ground truth for the real-world scan.

What they found 5

  1. Overall discovery F1 on the synthetic benchmark is 0.75 (Precision = 0.87, Recall = 0.66).

    “Overall, Crypsy achieves an F1 score of 0.75 (Precision = 0.87, Recall = 0.66) across all 197 ground-truth occurrences.”

  2. Assessment recall is 0.91 and assessment F1 is 0.74 for expected CWE/CVE identifiers.

    “Of the 104 discovered components, 21 out of 23 expected identifiers are correctly annotated, yielding an assessment recall of 0.91 and an assessment F1 of 0.74.”

  3. In a real-world scan of ten services (57,610 files) Crypsy discovers 370 cryptographic components in under six minutes.

    “Across ten services and 57 610 files, Crypsy discovered 370 cryptographic components in under six minutes.”

  4. All manually identified assets in the real-world infrastructure were detected, yielding a partial recall of 100%.

    “All assets identified during manual inspection were detected, yielding a partial recall of 100%.”

  5. The CBOM output flags 52 components as post-quantum migration candidates.

    “A review of the CBOM output identifies 52 components as post-quantum migration candidates”

Caveats 8

  • Ruby invocation discovery is weak, with F1 only 0.51 due to limited rule coverage.
  • Overall discovery recall is modest at 0.66, indicating many false negatives (67 false negatives, 24 true detection gaps).
  • Assessment precision is limited; actionable-weakness precision is roughly 0.3, meaning many weak-hash/PRNG findings are non-actionable.
  • Real-world recall is measured against a partial manual ground truth, not an exhaustive inventory.
  • The coverage and correctness of the scanner depend directly on the quality and completeness of Crypistry, which requires ongoing maintenance as cryptographic libraries and usage patterns evolve.
  • Without dataflow analysis, assessment rules such as weak.hash.password.weak fire on all matching invocations regardless of usage context, as the scanner cannot trace how the result is used, requiring manual triage to distinguish actionable from non-actionable findings.
  • PQC functionality is not yet uniformly available across relevant Ruby cryptographic libraries, so concrete PQC-related function calls cannot yet be covered systematically.
  • Support is currently focused on Ruby and Go as the primary language ecosystems, with proprietary and vendor-specific configuration formats not yet covered.

What’s new here 4

  • Introduces a unified classification of cryptographic assets covering material, artifacts, and invocations.
  • Provides an extensible rule repository (Crypistry) that separates detection/assessment logic from the scanner.
  • Implements a static rule-based scanner (Crypsy) that outputs CycloneDX-conformant software-bill-of-materials.
  • Evaluates the approach on a synthetic benchmark with known ground truth and on a real-world multi-service deployment.