Skip to content
Security
← V3 known risks
V3-28InfoAcceptedOperations & integration

Auxiliary program records don't prove what a transaction did

The program manager and other companion programs keep informational records. The program manager doesn't enforce its check that an upgrade record matches the upgrade run.

Why this is a risk, not a vulnerability · Requires member consensus

Auxiliary programs are outside the bug bounty scope. Their records are informational and don't control what a multisig executes; marking a program manager record executed also requires the multisig's authority to sign, so it needs an approved transaction. What is a vulnerability
Program
Squads V3
Source
Public program behavior
Code
View at c95b767

The squads-mpl repository includes auxiliary programs alongside Squads V3: the program manager (SMPLKTQhrgo22hFCVq2VGX1KAktTWjeizkhrdB1eauK), transaction metadata (txmeta), and validator programs. They store records for display and organization. What a multisig does is decided only by the V3 transactions its members approve and execute.

One example: the program manager’s set_as_executed instruction is meant to confirm that the upgrade in a multisig transaction matches a saved upgrade record before marking that record executed. The account-by-account comparison passes its error to .ok(), which discards it, so only the number of accounts is enforced. An approved transaction can mark any pending upgrade record executed, whatever it actually ran. Transaction descriptions published through txmeta have the same limit; see V3-02.

What to do

  • Inspect the transaction itself before approving or executing it, including every instruction, account, and amount. Treat descriptions and auxiliary records as labels, not proof.
  • For upgrades, check the buffer and the program’s on-chain data, and verify the build; see V3-04.
  • Integrators: show the stored V3 instructions directly, not only auxiliary status or metadata.