#3070·slither

Feature request: detector for quantum-vulnerable signature schemes (ecrecover / ECDSA.recover)

Author: peakyvinCreated Aug 5, 2026Updated Sep 5, 2026
Labelsenhancement

Describe the desired feature

Desired feature

A detector that flags contracts relying on ecrecover() or OpenZeppelin's ECDSA.recover() for signature verification, informational-severity, noting that secp256k1/ECDSA-based signatures are not resistant to a cryptographically-relevant quantum computer (CRQC).

Motivation

The Ethereum Foundation formed a dedicated Post-Quantum Security team in January 2026 (pq.ethereum.org), and NIST's PQC standards (ML-DSA, ML-KEM) are now finalized. As migration tooling starts to matter for the ecosystem, static analysis for "which contracts even rely on quantum-vulnerable signature verification" seems like a useful, currently-missing capability I couldn't find an existing detector or open proposal covering this (searched issues for "quantum" and "post-quantum": no results).

Distinct from #1950

This is a different concern from #1950 ("Improper usage of ecrecover"), which is about correctness of ecrecover usage (malleability, missing zero-address checks, yellow-paper compliance). This proposal is about cryptographic-scheme readiness flagging that a contract uses ECDSA at all, regardless of whether it's used correctly, since even a "correct" ecrecover call is still quantum-forgeable in the long run. Different severity model (informational/awareness, not a bug), different audience (protocol teams doing PQ migration planning, not auditors looking for exploitable bugs).

Proposed scope (v1)

  • Detect calls to ecrecover() and ECDSA.recover() (OpenZeppelin)
  • Classification: Informational
  • Output message references NIST PQC standards and links to pq.ethereum.org for migration context
  • No changes to detection of ecrecover misuse that stays in #1950's scope

Happy to build this if the maintainers think it's a good fit let me know if you'd want it scoped differently before I put together a PR.