CRYPTAGION — Post-Quantum Security
Evidence · Comparison · CycloneDX 1.6

CBOMkit vs CRYPTAGION: two tools, two real repositories, every CBOM published

· Updated 12 October 2026 (Keycloak re-run on CRYPTAGION scanner 13de736) · 11 min read · By Ali Korsi Comparison pages usually rest on feature tables. This one rests on CBOMs from two real repositories — a Java application and a Python library — published in full, so you can check every number, including the ones that do not flatter us.

In short

Test 1: a Java application — Keycloak 26.8.0

Keycloak is an open-source identity and access management server (Apache-2.0) with heavy, real-world use of cryptography: token signing, key providers, SAML, TLS clients, FIPS and non-FIPS crypto modules. It is also the example CBOMkit’s own documentation uses, which makes it a fair test of its strengths. We pinned tag 26.8.0 (commit 4246609, 8,546 tracked Java files) and ran each tool twice.

CBOMkit 2.3.0CRYPTAGION first run (scanner 4c9ee2e)CRYPTAGION re-run (scanner 13de736)
Files scanned6,440 files in 96 project modules (768,354 lines)8,489 Java files, tests and examples included and tagged8,546 Java files (every tracked one), tests and examples included and tagged
Scan timeAbout 4–6 minutesAbout 25 minutesAbout 35 minutes (the repeat run took about 2 hours on a machine shared with other work)
Output59 components (30 algorithms, 28 related keys, 1 protocol); 124 occurrences on 87 lines63 findings: 23 in production code, 40 in tests190 findings: 99 in production code, 91 in tests
Production lines7823 — all also found by CBOMkit99 — 74 also found by CBOMkit
Production lines found by one tool only55 against the first run; 4 against the re-run025
Test lines found by one tool only8 against the first run; 0 against the re-run3982
CycloneDX 1.6 schemaValid, 0 errorsValid, 0 errorsValid, 0 errors
Repeat runIdentical after normalising random IDsIdentical findings and risk scoresIdentical findings and risk scores

Production lines by algorithm family (key-material components excluded; a line naming two algorithms, such as SHA256withRSA, counts in both):

FamilyCBOMkitCRYPTAGION first runCRYPTAGION re-run
SHA-2211113
EC / ECDSA / ECDH14619
AES13217
RSA12021
TLS808
HMAC5011
SHA-1422
DSA303
EdDSA202
MD5222
Other (KDF, MGF1, raw keys)301

What CRYPTAGION missed in the first run, and why it matters

The 55 production lines only CBOMkit found follow clear patterns: key factories (KeyFactory.getInstance("RSA" | "EC" | "EdDSA" | "dsa")), TLS contexts (SSLContext.getInstance("TLS")), symmetric and HMAC keys built with SecretKeySpec, AES key wrapping (Cipher.getInstance("AESWrap_128")), RSA-PSS signatures, the SHA-1 DSA and RSA signatures in Keycloak’s SAML code, algorithm names returned as strings ("SHA256withRSA", "HMACSHA256"), and BouncyCastle’s lightweight API (AESWrapEngine, ConcatKDF). Some of these are exactly what a post-quantum programme needs to find — RSA and DSA key handling, SHA-1 signatures. In this run, CRYPTAGION reported no RSA usage in Keycloak’s production code at all; all its RSA findings were in tests. That was a real gap in our Java coverage at that version.

The re-run after the fix

We added Java rules for each of these patterns and re-ran the same pinned commit with the same procedure. Only the scanner commit in the reproduction script changed, to 13de736. The re-run finds 51 of the 55 lines. The 4 lines still missed need values passed from one method to another:

CRYPTAGION also reports 25 production lines that CBOMkit does not:

The re-run also scans the 57 test files under a Java package named dist, which the first run had skipped as vendored code.

Two points in fairness to both sides. CBOMkit fills in default parameters where the code does not state them — for example RSA-2048 for a bare KeyFactory.getInstance("RSA"), or AES-128 for a SecretKeySpec — so some of its key sizes are inferences rather than observations. And our scan skipped 57 Keycloak test files because they sit in a directory named dist, which our vendored-code rule treats as third-party; that did not affect production results.

Test 2: a Python library — pyca/cryptography

The first test used pyca/cryptography at commit d45b793, the same commit as our pyca CBOM example. This is a cryptographic library, which gives call-resolving tools less to work with.

CBOMkit 2.3.0CRYPTAGION (10 October 2026 run)
Files scanned131: 124 Python files outside tests/, 2 in vectors/, 1 Java and 4 Go helper scripts243 Python files, including 117 test files; no Java or Go
Output17 components, 25 occurrences1,804 detections (46 production, 1,746 test, 12 docs)
Library source4 lines in 2 files46 detections in 11 files
Lines found by both1
Schema and repeat runValid; identicalValid; identical

In ssh.py, the one library file both reported on, CBOMkit caught the RSA key objects built from SSH data (lines 317, 336, 337) that CRYPTAGION missed, while CRYPTAGION reported the ECDSA curves, ECDSA signing, PKCS#1 v1.5 padding and SHA selections that CBOMkit did not. CBOMkit also covered the Java and Go helper scripts, which our Python-only run did not scan. Each tool labelled DSA as Diffie-Hellman once.

What the two tests say

When to use which

For a Java codebase, CBOMkit is a sensible free first pass, in CI or through its SonarQube plugin, if you have people who can interpret and maintain it. In our Keycloak re-run the two tools cover nearly the same production lines. CBOMkit still follows algorithm names passed from one method to another, which CRYPTAGION does not yet.

CRYPTAGION is built for regulated organisations that need the decision layer — scope separation, certificates and endpoints alongside code, risk and HNDL scoring, roadmap and regulatory reporting, with support — and it reads CycloneDX, so a CBOMkit CBOM can sit next to its own. As long as the gaps above exist, we would rather tell you here than have you discover them in an audit.

For the broader picture see CRYPTAGION vs open-source CBOM tools, and to run the same test on any vendor, our CBOM tool evaluation checklist.

Method and evidence

CBOMkit 2.3.0 ran as a service with default settings and no build, the path its quickstart describes, with its API bound to localhost; each target commit was pinned through a local read-only mirror, and every CBOMkit CBOM records the commit it scanned. CRYPTAGION ran at the scanner commit used for the published pyca bundle, in Evaluation mode, with an isolated database and no rule changes for this comparison. The Keycloak re-run used CRYPTAGION scanner commit 13de736 (main after PR #47). It ran on the same pinned target, with the same reproduction script; only the scanner commit in the script changed. Its Java rules were written after, and because of, the first run. Everything is published:

Limits of this comparison

Sources

Independent comparison by CRYPTAGION. CBOMkit, PQCA, Keycloak and the pyca project have not reviewed or endorsed it. Last verified 12 October 2026 against CBOMkit 2.3.0 and CRYPTAGION scanner commits 4c9ee2e (first run) and 13de736 (Keycloak re-run).

Test us on code like yours

In a 30-minute demo we run CRYPTAGION live on a public repository that matches your stack — bring a CBOMkit output of the same repository and we will compare them with you. No access to your code needed.

Request a free demo →