Skip to content
PATCH

Single-key program upgrade authority

Learned from Step Finance · Crypto · 2026-01-31 · Source

In plain words

If one person's key can replace a program, stealing that one key is enough to take everything the program holds.

Spec

SIG 0x69CB4EAB-01
antibody
Single-key program upgrade authority
learned
Step Finance · executives' devices compromised · 2026-01-31 · halborn.com
weakness
One key can replace the program's code.
reads
Program account → ProgramData address; ProgramData.upgrade_authority (RPC getAccountInfo, jsonParsed)
match
upgrade_authority is a plain keypair: an Ed25519 point on the curve, so a single private key controls it
not a hit
immutable program (authority = None) · authority is a program-derived address (off-curve), e.g. a Squads multisig vault or a governance program
severity
HIGH if the program holds user funds (lending, AMM, staking, perps), else MEDIUM
fix
Create a multisig (for example Squads) with several independent signers.

01

The attack it came from

Step Finance · executives' devices compromised, 2026-01-31, about ~$30M lost. About $30M was taken after executives' devices were compromised. It was an off-chain compromise, not a smart-contract bug.

Open in the attack feed →

02

For engineers

Reads: Program account → ProgramData address; ProgramData.upgrade_authority (RPC getAccountInfo, jsonParsed).

Match: upgrade_authority is a plain keypair: an Ed25519 point on the curve, so a single private key controls it.

Not a hit: immutable program (authority = None) · authority is a program-derived address (off-curve), e.g. a Squads multisig vault or a governance program.

Severity: HIGH if the program holds user funds (lending, AMM, staking, perps), else MEDIUM.

Passive and read-only. Runs in the public census.

03

Known false positives

An off-curve authority is never flagged. A team may hold the key in a hardware wallet or MPC setup we cannot see from chain data: it is still one key on-chain, so it is flagged, but the report says so.

04

Census result

3 of 37 checked targets matched.

critical 0high 3medium 0low 0

Source: census_runs (latest finished run), census of 2026-11-27. Totals only: projects are never named.

05

What a team should do

  1. 01Create a multisig (for example Squads) with several independent signers.
  2. 02Add a time lock to upgrades so the community can react before a change goes live.
  3. 03Move the upgrade authority to the multisig vault: solana program set-upgrade-authority <PROGRAM_ID> --new-upgrade-authority <VAULT>
  4. 04If the program no longer needs upgrades, make it immutable: solana program set-upgrade-authority <PROGRAM_ID> --final

PATCH recommends the fix. The team applies it. Nothing is changed for them.

06

What this antibody can't detect

Who holds the key, how it is stored, or whether a multisig's signers are independent. It does not read program code.