We manage your security to weather the AI storm →

← Resource Hub

Smart Contract Upgrade Bugs: What 49 Update Reviews Found

By Owen Thurm Updated 6 min read

Smart Contract Upgrade Bugs: What 49 Update Reviews Found

Quick answer. In Guardian's published portfolio, 29 of 49 update reviews (59%) found a Critical or High, and 11 (22%) a Critical. Full audits run higher (80% and 52%), but updates are less than half the size.

Watch: Smart Contract Upgrade Bugs: What 49 Update Reviews Found 1:28
Video transcript

After launch, every change ships into a system that already holds deposits. Guardian's published audit portfolio shows how often those changes still carry Critical bugs.

Twenty nine of forty nine update reviews, 59 percent, found a Critical or High. Together they held 21 Criticals and 83 Highs.

Full audits find more, with 80 percent holding a Critical or High. But updates are less than half the size, and updates with more than twelve findings come close, at 76 percent.

Twenty update reviews had twelve or fewer findings. Seven of them still had a Critical or High.

Most were logic errors. Changed units double counted shares. A new feature could block liquidations. A deposit check accepted the wrong token. And a check existed but was never applied.

Fixes are changes too. Remediation rounds in 125 reports surfaced 18 Criticals and 119 Highs.

Review every change that touches value flow. Diff against the audited commit. Recheck units and decimals. Test liquidation and gas limits, and rerun the invariant suite.

Guardian's Vanguard audit includes six months of update review after production, at the same standard as the audit.

Read the full report, or talk to Guardian about keeping every update covered at guardian.security.

Smart contract upgrade bugs are easy to overlook. Yet after launch, every change ships into a system that already holds deposits.

This report measures what reviews of those changes found. It compares update reviews in Guardian's public audit portfolio with first audits and with fix reviews.

It is the second of three reports on the same data, after What 360 Critical Bugs Taught Us. The third covers offchain pentest findings.

Update Reviews in the Sample

The dataset is Guardian's published reports as of November 4, 2026: 337 reports and 10,086 findings. We compared the 332 reports the portfolio files as onchain work (9,894 findings).

We grouped them by what each report's title says:

  • Update reviews (49): the title contains Update, Updates or Upgrade. Three such reports only checked a configuration or deployment, so they count as Other.
  • Fix and follow-up reviews (5): the title names a fix, mitigation, remediation or follow-up.
  • Full audits (71): the client's first published onchain report, if in neither group above, with 750+ nSLOC in scope or a review of a week or more.
  • Short first reviews (27): other first reports, reviewed in under a week or with no recorded size.
  • Other reports (180): everything else, such as new modules, later rounds and deployment reviews.

48 of the 49 update reviews follow an earlier published report for the same client. They cover 21 clients, led by GMX (14) and Magna (6).

Limitations. The portfolio does not record whether code was live when it was reviewed, or which lines changed. So titles are a proxy.

Some update reviews may cover changes made before a launch, and some reports in the Other group are really updates under another name.

Only 29 of the 98 first reports record nSLOC, so a review of a week or more stands in for size where it is missing.

We cannot tell whether each finding sat in the changed lines or in code the change touched. And these are published reports only.

Critical and High Rate per Review

GroupReportsCritical / HighWith a CriticalWith a Critical or HighCritical or High share of findingsMedian findings
Update reviews4921 / 8322.4%59.2%9.8%15
Fix and follow-up reviews50 / 160%20.0%9.6%9
Full audits71153 / 36852.1%80.3%15.0%36
Short first reviews279 / 2111.1%22.2%7.5%11
Other reports180177 / 39325.6%52.8%11.9%19
All onchain reports332360 / 88129.2%56.6%12.5%21

Together, the 49 update reviews held 21 Criticals and 83 Highs.

Most update reviews, 59%, found a Critical or High. That is above the rate for onchain reports overall (56.6%).

Full audits find more: 80% contain a Critical or High, and 52% a Critical. An update review is less than half as likely to find a Critical.

Size explains most of the gap. Updates have a median of 15 findings against 36.

Updates with more than 12 findings found a Critical or High 76% of the time (22 of 29).

Per finding, 9.8% of update findings are Critical or High, about two thirds of the full-audit share (15.0%).

The pattern holds without GMX, which has the most update reviews.

Excluding it, 6 of 35 update reviews (17.1%) contain a Critical and 22 (62.9%) a Critical or High, against 51.4% and 80.0% for full audits.

Small changes, big bugs

The size of a diff is a poor guide to its risk.

20 of the 49 update reviews reported 12 or fewer findings, and seven of those still contained a Critical or High.

The single finding in GMX's June 2024 Part 3 review is a Critical. Magna's Hook Updates review had eight findings, one of them a Critical.

Fixes Produce Findings Too

125 onchain reports record at least one remediation round, in which Guardian reviews the team's fixes.

1,424 findings were first reported during those rounds, including 18 Criticals and 119 Highs.

41 of the 125 reports (32.8%) gained a Critical or High during a remediation round, and 10 gained a Critical.

Some are fixes that did not close the original issue. Others are new problems in the changed code.

In Synthetix's Update Reviews, for example, the withdrawal request function no longer had access control.

Since a user can have only one withdrawal at a time, anyone could open a 1 wei withdrawal for any user and block them indefinitely.

Bug Types in Updates

By label, update Criticals and Highs look like those in full audits, only more concentrated in logic. Logical Error is 62.5% (full audits 49.9%) and DoS 15.4% (15.0%).

The descriptions show the usual pattern: an assumption the original code made, quietly broken by the change.

The units changed

In Bracket's Contract Updates (C-02), a token's internal transfer function was updated to convert amounts to shares.

The vault already passed share amounts, so mints and burns were converted twice.

A new feature reached the liquidation path

In GMX's Synthetics Updates, June 2024, Part 1 (C-02), a new auto-cancel feature cleared a position's stop-loss and take-profit orders when it closed. A liquidation always closes it.

With up to 10 such orders, each with callback gas, a liquidation could need more than 31 million gas. That is above Avalanche's block gas limit.

A deposit check accepted the wrong token

In Orderly's Solana Vault, Sol-CC and EVM Updates (C-01), the SOL deposit path checked that a token was allowed, but not that it was SOL.

A deposit of 1 SOL under USDC's hash was credited as 1,000 USDC, since SOL has 9 decimals and USDC 6. Per the report, that was an instant profit of about 5x.

A check existed but was not applied

In Magna's Hook Updates (C-01), the contract kept a whitelist of post-claim handlers but never checked it on withdrawal.

Anyone could set their own handler and claim directly when direct claims were meant to be blocked.

Building an Update Review Cadence

What the data suggests for teams that ship after launch:

  1. Review every change that touches value flow, permissions, pricing or liquidation, whatever its size.
  2. Diff against the audited commit, not the last release, and read the code around the change.
  3. Hunt for removed or unused checks. Both produced Criticals above.
  4. Re-check units and decimals at every changed boundary: shares against assets, 6 against 9 or 18 decimals.
  5. Test new features against liquidation, withdrawal and gas limits.
  6. Re-run the invariant suite on every change, and add invariants for what it introduces.
  7. Review the fixes too. A fix is a change like any other.
  8. Watch what ships. Pair reviews with monitoring of deployments and admin actions.

How Guardian Reviews Updates

Vanguard, Guardian's flagship audit, includes six months of update review after production. Every change to the audited scope is reviewed at the same standard as the audit.

That covers up to 2,500 smart contract SLOC or 10,000 SLOC for offchain codebases, split however the team ships. Small diffs count too, which matters given the seven small reviews above that held a Critical or High.

The invariant suite from the audit stays with the team, so step 6 of the cadence runs against the same properties on every change.

Outside Vanguard, Guardian's institutional work reviews parameter changes, governance actions and hot fixes "against the deployed state, not only against the diff."

Frequently Asked Questions

Are small smart contract updates safe to ship without review?

The data says no. Of the 20 update reviews with 12 or fewer findings, 7 still had a Critical or High.

Do fixes for audit findings introduce new bugs?

Sometimes: remediation rounds in 125 published onchain reports surfaced 1,424 new findings, including 18 Criticals and 119 Highs. Some are incomplete fixes; others are new problems in the changed code.

What kinds of bugs do upgrades introduce?

In update reviews, 62.5% of Criticals and Highs are labeled Logical Error and 15.4% DoS. Examples include double-converted shares, a feature that could block liquidations, a deposit check that accepted the wrong token and an unchecked whitelist.

Sources

Keep every update covered

Vanguard reviews every change to your audited scope for six months after production, at the same standard as the audit.