CounterProof performed a Bitcoin red-teaming review of Elements Core at a pinned commit: 087988adbd8707521733f9d7a5988c3d2b3fe627. The lead finding was important even though it later proved to be an independent rediscovery: a rangeproof-verification cache key omitted two pieces of context that determined whether a proof should validate—the asset generator and the output script.
CounterProof demonstrated the resulting warm/cold consensus divergence live against unmodified release binaries on regtest, including a token-free reissuance-inflation path limited to attacker-issued assets. No mainnet or Liquid-chain interaction was performed.
The challenge
A cached positive verification result is only sound when the cache key represents every input that affects validity. Because this defect touched consensus validation and asset issuance, the finding mattered even though Blockstream said the underlying issues were already known internally.
The review isolated the cache mechanism, tested positive and negative controls, documented impact limits, and distinguished live execution from source-level analysis.
The report was explicit about what remained unproven: production functionary cache state was not established, third-party assets and L-BTC were outside the demonstrated inflation scope, and the regtest result did not by itself prove production relay reachability.
What CounterProof delivered
- A pinned, source-cited report with per-finding evidence levels.
- Live regtest reproductions against unmodified release binaries.
- Two independently demonstrated cache-context omissions, with negative and differential controls.
- Explicit bounds on asset scope, production reachability, and durable impact.
- Private coordinated disclosure, with harness source and run logs offered to the maintainers.
Maintainer response: positive, prompt, and honest about rediscovery
Blockstream’s email response was prompt and constructive. Pending team review, Blockstream said the findings were likely duplicates of issues already being worked on internally. For the rangeproof issue, Blockstream said a provisional fix had already been deployed on Liquid and Liquid testnet, with public fixes and tests to follow.
CounterProof therefore treats this case as an independent rediscovery, not a first-discovery claim. The finding was still important: CounterProof independently identified the mechanism, proved it deterministically, bounded its impact, disclosed it through a private vulnerability-management process, and later verified the public remediation against the original attack constructions.
Public remediation identified after disclosure
CounterProof’s later source-diff review identified these public Elements Core commits:
c26d719c29a4: adds the asset commitment andscriptPubKeyto the rangeproof cache key.b0a275281ee5: moves to length-prefixed hashing of the proof, value commitment, asset commitment, andscriptPubKey, and adds related cache-key hardening.53167b1f452f: adds a-norangeproofcacheoption to bypass the cache.
CounterProof then built remediated origin/master at 2ac51cac13876bf14d3d709b07535b1868eee896 and reran both original attack constructions twice on regtest. The EL-49 prerequisite transaction and the EL-49b counterfeit replay were rejected on both store-enabled and cold verification paths. EL-49’s reissuance step was therefore unreachable and was not constructed; EL-49b’s genuine-proof control remained valid in mempool and in a block. This is regression evidence for the two original constructions, not a comprehensive audit or production-deployment certification.
Why this engagement matters
A finding does not need a first-discovery claim to demonstrate research value. This was Bitcoin red teaming through adversarial code review with the evidence left intact: prove the mechanism, state the limits, disclose privately, accept the rediscovery context, and use the public fix as another opportunity to verify rather than overstate.
That is the standard: prove the mechanism, state the limits, and let the evidence—not the headline—carry the claim.
Call to action: Need an independent reproduction or an evidence-graded review at a pinned commit? Start a confidential conversation at counterproof.io.