Skip to content
Access control Write-up Advanced

MPC Doesn’t Save You From Your Private API

A partner's transaction-crafting API was compromised, allowing attackers to change stake withdraw authorities on Solana stake accounts days before draining roughly 193k SOL from SwissBorg's SOL Earn wallets. The MPC signing keys themselves were not broken; the off-chain service that decides what to sign was subverted.

medium.com

Published on medium.com

MPC removes single‑key risk, but it doesn’t remove the need to tell signers what to sign and when. Most custodial stacks route those decisions through off‑chain services: transaction builders, policy engines, withdrawal whitelists, “earn” strategy managers, and internal dashboards.

OKcontract Chainwall, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

About 192.6–193k SOL (roughly $41–42M) was drained from wallets tied to the SOL Earn program, affecting under 1% of users and about 2% of total assets.

What the attacker needed

Compromise of a partner's private API; ability to submit signing requests

The fix

The text does not state a specific fix for the API compromise; it recommends moving policy and transaction control on-chain with timelocks, scoped roles and independent alerting.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

MPC (multi-party computation) is a way to split a crypto signing key between several machines so no single one can sign alone. Here the maths held up, but the private web service that builds and approves transactions was taken over, so the signers were asked to sign harmful transactions that looked normal. The result was a large theft of Solana tokens.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.