HyBind: Structural Analysis of PQ/T Hybrid Cryptographic Usage
Proposes HyBind, a Python static-analysis tool that checks whether PQ/T hybrid crypto outputs (keys, signature acceptance) actually depend on both component algorithms, not just their presence.
Schemes: ML-KEM, X25519, ML-DSA, Ed25519, HyBind
Findings (quotes checked against the source text)
-
Presence of both PQ and traditional algorithms does not establish that their outputs jointly determine a key or verification decision; HyBind traces secrets to returned keys to check this.
During migration, the presence of both post-quantum and traditional (PQ/T) algorithms does not establish that their outputs jointly determine a key or verification decision.
-
Presence-based heuristics cannot distinguish joint from omitted secret contribution, or AND from OR verification; HyBind does distinguish them.
Two internal presence-based heuristics give identical decisions for joint versus omitted secret contribution and AND versus OR verification, while HyBind distinguishes these structures.
-
Relaxing return or effect requirements admits traditional-only key results as hybrid findings in the evaluated cases.
Relaxing return or effect requirements admits traditional-only key results as hybrid findings in the evaluated cases.
-
All 50 controlled fixtures match their specified outputs with the annotation assumption enabled.
All 50 controlled fixtures match their specified outputs with the annotation assumption enabled.
Numbers (as extracted, not quote-checked)
- Controlled fixtures matching specified outputs: 50
- Separate test suite programs: 33 (15 using native cryptographic APIs)
For builders
When auditing a PQ/T hybrid implementation, verify that both the ML-KEM and X25519 (or ML-DSA and Ed25519) outputs actually feed the final key or the AND-verification, not just that both calls exist.
Limits
Intraprocedural Python-only analysis using registered API contracts; evaluated on small controlled and 33-program suites; full text not read, only the abstract.
Topics: hybrid-schemes implementation-sidechannel standards-policy