Repository navigation
Proposal #120 (Quorint): Independent Security Review for the Bridge Relaunch, plus Attack Registry, Economic Attack Simulator and Upgrade Audits #2322
quorint
started this conversation in
Protocol Improvements
Replies: 2 comments
|
The pre-proposal is now on gonka.vote: https://gonka.vote/proposal/dyel8w (open until 8 December). It is a condensed version of this post; this post and the repository remain the full reference. Questions are welcome in either place. |
0 replies
|
Proposal #120 is now on-chain. Host voting is open until Thursday 26 November 2026, 14:01 UTC, on gonka.vote. The on-chain text is the same as this Discussion apart from the status line, and is pinned at tag |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Update, 24 November: this proposal is now on-chain as Proposal #120. Host voting is open until Thursday 26 November 2026, 14:01 UTC, and hosts can vote on gonka.vote.
Quorint (https://quorint.xyz) proposes an independent security review for the Gonka bridge relaunch, followed by an executable attack registry, an economic attack simulator and audits of the next high-risk upgrades. The engagement runs 24 weeks and is paid with 1,600,000 GNK from the Community Pool through a new instance of the
code_id 107milestone escrow from Proposal #82, with a public report before every unlock and a one-vote clawback.The full proposal is below. The version-controlled copy, the submitted
proposal.jsonand a script that re-derives the escrow address are at https://github.com/quorint/gonka-security-proposal. The on-chain metadata links to the README at tagv1.0(commitdec028b), which later pushes cannot change.Questions and objections are welcome here and on gonka.vote during the vote. We would especially value input from MillCreek R&D, the Product Committee and the Governance Support Committee on the open questions in Section 13.
Author: Quorint, registered in the Netherlands · https://quorint.xyz · contact@quorint.xyz
Category: Protocol Improvements
Roadmap: Track 6, Project 3 (contract security and cross-chain interop) · Track 5, Project 1 (attack registry and regression checks) · Track 5, Project 2 (economic and incentive attack simulator)
Duration: 24 weeks, four 6-week milestones
Request: 1,600,000 GNK from the Community Pool (≈1.38% of the pool), held in the existing
code_id 107milestone escrow approved in Proposal #82 and released in six tranches. Hosts can claw back everything still in the escrow with one governance vote. No USDT is requested.Status: On-chain as Proposal #120, with host voting open until 26 November 2026, 14:01 UTC. The submitted text is tag
v1.0. Questions are welcome on GitHub Discussion #2322 and on gonka.vote during the vote.1. Summary
On 18 November 2026 an attacker manipulated the key-generation ceremony on the Gonka chain, registered a new epoch key on the Ethereum bridge, and within 72 seconds withdrew the bridge's entire stablecoin reserve (884,150.87 USDT and 647.74 USDC) and minted 22,000,000 unbacked WGNK. After a fast response by core contributors, MillCreek R&D and analytics partners, the attacker returned the assets the next day, and consensus and inference were never affected. The bridge remains disabled, the Ethereum contract cannot be paused, and the community has just started discussing compensation and re-backing (Discussion #2306).
Relaunching the bridge will require a fixed key-generation path, a new bridge contract and key ceremony, and re-backing transactions, and hosts will be asked to approve each of them. Proposal #118 puts incident response and bridge security in MillCreek's scope. Quorint proposes to be the independent second pair of eyes, because no team should be the only reviewer of its own security fix.
The first 6 weeks (Milestone 1) are a bridge relaunch security gate. The remaining 18 weeks deliver two roadmap projects that have no funded owner yet, an executable attack registry (Track 5, Project 1) and an economic attack simulator (Track 5, Project 2), plus independent audits of the next high-risk upgrades. These include per-escrow DKG (#1748), which brings the same class of key-generation ceremony into every escrow.
x/blskey-generation audit, bridge v2 contract review, re-backing transaction review,gonka-bridge-sentineland invariant suitesgonka-attack-registryv1 (≥20 attack classes)gonka-econ-simv1 and a quantitative parameter risk report2. Motivation
2.1 What a safe bridge relaunch requires
According to the preliminary statement of 19 November ("WGNK bridge incident: statement on the first 24 hours"), the attacker "obtained the ability to produce valid threshold signatures for the bridge's newest signing epoch by manipulating the key-generation ceremony on the Gonka chain", and "no signing requests for these operations were ever created on the Gonka chain". On Ethereum, the sequence was:
0x972a7A92D92796a98801A8818bcF91f1648f2F68submitGroupKeyinstalls the attacker's epoch keyThree lessons follow from the public record alone, without speculating about the root cause:
We do not speculate about the root cause in public. Gonka has not published a post-mortem yet, and parts of the key-generation code may still be in use. Any root-cause analysis we do goes privately to MillCreek first.
2.2 Key generation and bridge key rotation keep producing findings
Public reports about this surface predate the incident: weak dealer approval (#823), a group-key validation fallback to self-validation (#848, fixed), dealer consensus counted against slot weights (#849), unverified dealer commitments and unproven verification votes (#1079), stale epoch keys that can still authorize withdrawals (#1080, open), and exposed partial signatures (PR #2302, open). We are not implying that any of these caused the incident. The point is that the same areas keep producing findings, which is exactly what Track 5, Project 1 is meant to stop: once an attack class is known, it should become an automated regression check.
2.3 Beyond the bridge: a fast-moving codebase
validation_sample_size(x/inference: validation_sample_size is not bounded; values above 500 make honest PoC validation fail #2210), and mis-wired or unused slashing parameters (x/inference: failed confirmation PoC is slashed by slash_fraction_downtime; confirmation_poc_params.slash_fraction is never read #2208, x/inference: CollateralParams.DowntimeMissedPercentageThreshold is governance-settable but read by nothing, and SlashForDowntime's comment describes a check it does not perform #1726).The most recent public vendor findings we could find are CertiK's (Ethereum bridge preliminary report in February 2026, GEB-series issues through April 2026). Trail of Bits and HackerOne were engaged through Bitfury and reimbursed in Proposal #117 (607,250 USDT). Point-in-time audits are valuable, but they don't leave regression tests behind while the code keeps changing.
2.4 Three roadmap projects without a funded owner
To our knowledge, none of these has a funded proposal today.
3. Who we are
Quorint is an independent security research and audit firm registered in the Netherlands. We work on L1 nodes and consensus (Rust, Go, C++), zero-knowledge circuits and applied cryptography, and smart contracts (EVM/Solidity, SVM, CosmWasm). Every engagement is principal-led: line-by-line manual review combined with custom stateful fuzzing, differential testing and reproducible proofs of concept. Researcher profiles are listed at https://quorint.xyz.
Prior work on Gonka. In July 2026 Quorint's research team disclosed a Critical consensus-liveness vulnerability in Gonka, awarded a $20,000 bug bounty; the full write-up was published after remediation (Decimal-Exponent Bomb in Gonka). An unbounded
int32exponent in Gonka's customDecimaltype madeMsgValidation.ValidateBasic()materialize10^|exponent|before gas metering or signature checks. Wrapped inauthz.MsgExec, a transaction from an attacker with no participant key and noauthzgrant passedCheckTxand crashed every validator inFinalizeBlock, before the grant check was reached.Other L1 and cryptography work.
Team for this engagement. A principal researcher leads all manual and cryptographic review and proof-of-concept work for the full 24 weeks. A senior engineer builds the fuzzing suites, the multi-node harness and the simulator.
4. Scope and deliverables
Workstream A — Bridge relaunch security gate (Track 6, Project 3) — Milestone 1
x/blskey generation and group-key validation. Dealing and commitment verification (valid, subgroup-checked G2 points), complaint and dispute resolution, slot-weight accounting, epoch transitions, the signing-request lifecycle, exposed partial signatures (fix: retain bridge escrow after partial signature exposure #2302) and stale epoch keys (Bridge: Stale epoch keys can authorize withdrawals up to 365 epochs after rotation #1080).BRIDGE_PENDINGhandling, escrow refunds (Bridge: auto-refund does not run when BLS signing expires (EXPIRED) #1352) and deposit deduplication.gonka-bridge-sentinelv1: a self-hosted monitor (Prometheus metrics and alert rules, no SaaS). It alerts when an Ethereum-sidesubmitGroupKey,withdrawormintWithSignaturehas no matching Gonka signing request, when caps are approached, when the wrapped supply drifts from the Ethereum reserve, and when an IBC light client nears expiry (IBC withdrawal blocked: Neutron client 07-tendermint-3 is expired #1667). Its acceptance test replays the 18 November sequence on a fork.gonka-bridge-security: Foundry invariant suites for the bridge v2 contract, pluscw-multi-testandproptestsuites for the wrapped-token contract.The bridge v2 code is written by MillCreek. If it is not ready by week 6, the remaining relaunch review continues into Milestone 2 with priority, and the Milestone 2 scope shifts accordingly, agreed publicly with MillCreek and the Product Committee.
Workstream B — L1, P2P and devshard audit plus attack registry (Track 5, Project 1) — Milestone 2
gonka-ai/cosmos-sdkfork: unmeteredValidateBasic()work before the ante handler (the class of our earlier finding),authz.MsgExecandfeegrantwrapper asymmetries, and the network-duty fee bypass (Hardening: network-duty fee-bypass admits zero-fee txs from non-participants (no signer authorization at the ante layer) #1539).community-saleandliquidity-poolCosmWasm contracts.gonka-attack-registryv1. At least 20 attack classes encoded as deterministic regression checks, with a Byzantine-peer and malicious-executor harness that runs intestermintCI and on the Community DevNet. First entries include the 18 November attack class (published only after the fix ships), the public key-generation and bridge classes above, pre-ante resource bombs,authzwrapper bypasses, stream truncation (devshard: stream chunks signature and empty stream detection #1841, devshardctl: winner_served_without_finish records a not_finished host strike at stream end although the nonce finishes seconds later #2104) and cPoC segment edge cases ([BUG] Short segment is treated as PASSED (challenger pays a target that did nothing) #2013, [BUG] cPoC rotation can shrink the final challenge segment below the punishable minimum #2015).This complements
@vitaly-andr's in-process Cosmos SDK simulation work (#982, #1228) rather than duplicating it: the registry runs out-of-process, multi-node scenarios. It also plugs into the External Test Lab and Community DevNet (Proposal #82) instead of building parallel infrastructure.Workstream C — Economic and validation attack simulator (Track 5, Project 2) — Milestone 3
gonka-econ-simv1 is a reproducible discrete-event and Monte Carlo simulator with rational, colluding and griefing hosts, gateways, challengers and consumers. Planned models:It ships with CLI scenarios, parameter-sweep notebooks and a parameter risk report generator, so the Product Committee and MillCreek can stress-test a
MsgUpdateParamsproposal before hosts vote on it.Workstream D — Pre-mainnet upgrade audits — Milestone 4
report_databinding.If any of these slips past week 24, the hours move to whichever release candidate or roadmap security item carries the highest risk at the time, agreed publicly with MillCreek and the Product Committee.
5. Milestones and payment gates
Each milestone ends with public artifacts and a time and spending report. The report is published 5 days before the next tranche unlocks, which leaves hosts more than one 48-hour voting period to claw back.
x/blsreport (published once fixes ship); relaunch sign-off;gonka-bridge-sentinelv1 on Community DevNet;gonka-bridge-securitysuites in CIgonka-attack-registryv1 (≥20 classes); CI integration PRs and an External Test Lab runbookgonka-econ-simv1; quantitative economic and validation report with parameter recommendationsgonka-econ-simv1.2; handoff package and live walkthroughT1 (day 0) funds mobilization so Milestone 1 can start immediately.
6. KPIs and how to verify them
x/blschanges reviewed; sign-off or blocking-issues list at least 5 days before the relaunch votegonka-bridge-securityCI runsgonka-attack-registryCI and DevNet logsgonka-econ-simrepo and report7. Disclosure and coordination
testerminttargets with runbooks so External Test Lab can run every suite ongonka-devnet-communitybefore upgrade votes.8. Budget and funding structure
8.1 Amount and pricing
8.2 Why GNK only
The only stablecoin balance the community controls on-chain in size is the bridged USDT held by
community-sale(276,751 of the CW20 token labelled "Bridged Token ethereum:0xdac17f…"). That token's total supply on Gonka is 884,150.86, essentially the reserve drained on 18 November, and the IBC USDT balance is $1,425. We will not draw on bridged USDT while the community decides on re-backing. If hosts or the Gonka Foundation later prefer to convert the remaining tranches to USDT, that would be a separate proposal.8.3 Selling GNK
GNK trades thinly. On 24 November the only active market for native GNK listed by CoinGecko and CoinMarketCap was SafeTrade, with a 30-day median volume of about $1,500 a day, and the WGNK pairs on Ethereum will not be usable until the bridge relaunches. To avoid adding sell pressure, Quorint commits to the following:
8.4 Cost breakdown (24 weeks)
8.5 Reference points
This proposal asks for ≈ $208–266K in value over six months, depending on the GNK price, fully escrowed and subject to clawback, and leaves four open-source repositories behind.
9. Escrow and host protection
Funds go into a new instance of the milestone escrow contract that hosts already approved for Proposal #82 (98.2% Yes), so there is no new contract code to review.
code_id 107, checksum94b141625b7641e6ad57266420b18a4af72eac49b8110cb92719755590b463bd, source https://github.com/paranjko/testlab-devnet-escrow/tree/1b2e529876141816b5c2130840d04fb93694bf72quorint-gonka-security-2026):gonka1m5gr4pkemg7fyml3jlkecpvxzprrkglfu05jfe8kmm38780ajp5s9qznhg. The same derivation reproduces the Proposal #82 escrow address (gonka1g57f45qjvn0529vpgj8x8mzt8r5k4audchm3pp9pezywxwf4rexqlj8ayw), so anyone can check it with the script in https://github.com/quorint/gonka-security-proposal/tree/main/verify.gonka1ggt0d4jqmztnmh86na3m99c9d3q7s6h2dkd2qv. Every transfer out of this address is reported under Section 8.3.gonka-econ-simv1 published by day 13010. Terms
ReturnFundsfunction.11. Sustainability and exit
gonka-bridge-sentinel,gonka-bridge-security,gonka-attack-registry,gonka-econ-sim, threat models, PoC tests and reports.makeor Docker workflows.12. Risks and mitigations
13. Open questions
testermintsuites or as standalone Docker Compose jobs?14. Decision requested
Approve a 24-week engagement with Quorint covering an independent security review for the bridge relaunch (Roadmap Track 6, Project 3), an executable attack registry (Track 5, Project 1), an economic attack simulator (Track 5, Project 2) and pre-mainnet upgrade audits. It is funded with 1,600,000 GNK from the Community Pool through a new instance of the
code_id 107milestone escrow, released in six tranches and subject to a one-vote governance clawback.Links
All reactions