Raydium (AMM v4, CLMM, CPMM) · authority readings

Can one person move the money in Raydium (AMM v4, CLMM, CPMM) on Solana? The authority score is 14 / 100 (critical): one key or a tiny group.

Page added to this site on 2026-10-11. If a reading on this page is wrong, dispute it on GitHub with the on-chain evidence.

In short. The three programs share one 3-of-4 Squads v4 upgrade multisig with no delay. A separate hardcoded admin key resolves to an older 2-of-3 Squads v3 multisig that still sets fees and pool status.

Exposure, not intent. The score counts what the keys could do, not what their holders will do, and says nothing about the odds of a loss. Re-read it yourself with a public RPC and curl: how.

Try a fix: drag the sliders Open the live dashboard re-read from the chain at each Watch run (scheduled every 6 hours, started late by GitHub by a variable amount); this page is the snapshot of the build

The five readings

admin key20
multisig20
timelock0
price feed100
shared control100

Composite = 40% admin key + 30% multisig + 30% timelock, rounded. Price feed and shared control are read and shown, not folded in.

To move the money: 3 keys, 0 h to react, about $262M behind one key.

Why this score

The three programs share one 3-of-4 Squads v4 upgrade multisig with no delay. A separate hardcoded admin key resolves to an older 2-of-3 Squads v3 multisig that still sets fees and pool status.

config admin weaker than the upgrade path

The upgrade authority is one Squads v4 vault, 3-of-4, no time lock, shared by AMM v4, CLMM and CPMM and re-checked per program each run. The admin key is a constant compiled into all three programs, read live from CLMM's on-chain IDL. It can set fee rates, reassign fee owners, pause pools and, on CLMM, transfer reward ownership. It resolves to the Squads v3 multisig that held the upgrade authority until a 2026-04-22 rotation, retired for code upgrades but never rotated for this role. LaunchLab was not re-checked. DefiLlama listed over $1.0B for raydium-amm on 2026-09-17, split by program not verified.

1 of 5 applicable requirements met, 1 does not apply

Exit window: none: a change applies at once, the time a user has to leave after a harmful change is queued.

If a market used the example policy today (src/ExampleConsumer.sol: revert when stale, 0 under 60, 50% to 80% above): collateral factor 0 (score 14 is under MIN_SAFE_SCORE 60). Cheapest path to weak (20): admin key from 20 to 34, that is a stronger admin setup (admin power spread beyond one key, or checked by others), every other axis unchanged. This is the smallest step into the next band, not a fix for the weakness: the first requirement not met is Admin power is not a bare key (one key, or a tiny group, can change it).

Show this score in your README
[![authority risk: Raydium (AMM v4, CLMM, CPMM)](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FRealSpap%2Fauthority-risk-oracle-showcase%2Fwatch-data%2Fbadge%2Fsolana-devnet%2FCAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.json)](https://realspap.github.io/oracle/p/solana-CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.html)

A live badge: the score is read from the published watch files every time the page that shows it loads. Change nothing but your own repository.

Money behind it: $785M (DefiLlama), of which $675M sits exposed to this setup (TVL × (100 − score) / 100, a weight, not a prediction).

Program or account: CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK on the explorer ↗. Score pushed on-chain on 2026-11-18; stale on the oracle when older than 9 days (the watch re-reads it anyway). Read the score yourself: it lives in the account 8GuwiT…mG7S on Solana Devnet (PDA, seeds ["score", target], program 5Vhi…Yh4W): byte 45 is the composite, bytes 46 to 53 the last update; stale once last_updated + Registry.max_staleness_seconds has passed. The target itself lives on mainnet. The score takes the weakest of every full-power authority path (program upgrade authority, config-account admins, reward or fee authorities); a Squads whose threshold is 1 counts as one key, so a site that reads only the upgrade multisig can show a higher number for the same protocol.

This page was built from the Watch run listed as Last signed run on the Provenance page of the same build. A later run may read this contract differently until the page is rebuilt; the current record is latest.json on the watch-data branch.

Read on 2026-11-22 13:04 UTC, methodology 0x35be9749403c5579…. The score reads the authority path (keys, multisigs, timelocks, roles, price feeds); it does not audit the code for bugs, and it measures exposure, not the chance of being hit (see the backtest in the repository). Dispute this score with evidence, or read this page as JSON.

Read live: admin: Squads 3-of-4 of 4 plain keys; delay: none.
Independent read of the admin: a Squads v4 multisig 3-of-4 FytDrVzDyb…eZQK via program -> ProgramData HzD2cC… -> upgrade authority (a program-derived address, off the curve: a Squads vault or a protocol PDA, no key can sign for it directly) -> Squads v4 vault 0 of multisig tr8rgazUrZzgdkfc6Q622nVJHMMzh29trdBE2uBHb4u, consistent with the published admin-key score. Unchanged since 2026-10-10. 4 of 4 members can vote (4 can initiate, 4 can execute). The attacker's question: 3 keys move this contract, no delay to react, $262M behind each key (the protocol's TVL, not this contract's balance). 3 keys collude to act; 2 keys lost and nobody can act. Signers: 4 plain keys. Program last deployed at slot 459932378 on 2026-10-22 (ProgramData; an upgrade moves this slot and the watch says so). No verified build matching the deployed binary (OtterSec: a repository is registered, https://github.com/raydium-io/raydium-clmm/tree/119ed36bf9f33). (scripts/second_opinion.py: a reader that shares nothing with the scorer, re-run at each Watch run)

Follow this contract: Atom feed of its score moves, alerts and queued operations (nothing else).

Reproduce the independent read yourself (3 public RPC calls, no key)

This reads the program that holds the account, then its ProgramData, then the Squads v4 committee that is the upgrade authority. Each call is a plain JSON-RPC request to a public Solana RPC; the last step, when there is one, is a short Python 3 program with no library.

# 1. The program: its ProgramData account is the one that holds the upgrade authority (value.data.parsed.info.programData)
curl -s -X POST https://api.mainnet-beta.solana.com -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"getAccountInfo","params":["CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",{"encoding":"jsonParsed"}]}'

# 2. The ProgramData: the upgrade authority (value.data.parsed.info.authority)
curl -s -X POST https://api.mainnet-beta.solana.com -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"getAccountInfo","params":["HzD2cCXXT3UQNjMMY6kDv9w6gZ9qquSdfoGXrLL3LXx",{"encoding":"jsonParsed"}]}'

# 3. The Squads v4 committee: threshold, time lock and number of members
curl -s -X POST https://api.mainnet-beta.solana.com -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"getAccountInfo","params":["tr8rgazUrZzgdkfc6Q622nVJHMMzh29trdBE2uBHb4u",{"encoding":"base64"}]}' | python3 -c 'import base64,json,struct,sys;d=base64.b64decode(json.load(sys.stdin)["result"]["value"]["data"][0]);t,l=struct.unpack_from("<HI",d,72);o=94;o+=1+32*d[o];o+=1;print("threshold",t,"time_lock_s",l,"members",struct.unpack_from("<I",d,o)[0])'

# 4. Is the upgrade authority the vault 0 of that committee? Derive the vault address offline (Squads v4 program SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf)
python3 - <<'PY'
import hashlib as H
A = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; P = 2**255 - 19; D = -121665 * pow(121666, P - 2, P) % P
dec = lambda s: int(sum(A.index(c) * 58**i for i, c in enumerate(reversed(s)))).to_bytes(32, "big")
def enc(b):
    n = int.from_bytes(b, "big"); s = ""
    while n: n, r = divmod(n, 58); s = A[r] + s
    return "1" * (len(b) - len(b.lstrip(b"\0"))) + s
def on_curve(b):
    y = int.from_bytes(b, "little") & ((1 << 255) - 1)
    if y >= P: return False
    x2 = (y * y - 1) * pow(D * y * y + 1, P - 2, P) % P
    return x2 == 0 or pow(x2, (P - 1) // 2, P) == 1
for bump in range(255, -1, -1):
    h = H.sha256(b"multisig" + dec("tr8rgazUrZzgdkfc6Q622nVJHMMzh29trdBE2uBHb4u") + b"vault" + bytes([0]) + bytes([bump]) + dec("SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf") + b"ProgramDerivedAddress").digest()
    if not on_curve(h): print("vault 0 of the multisig =", enc(h)); break
PY

Expected: the ProgramData is HzD2cCXXT3UQNjMMY6kDv9w6gZ9qquSdfoGXrLL3LXx; the upgrade authority is FytDrVzDybM1TwFQPGb8qaxZR7dBCzNeqT3vtQsceZQK; the committee tr8rgazUrZzgdkfc6Q622nVJHMMzh29trdBE2uBHb4u prints threshold 3 time_lock_s 0 members 4; the derived vault 0 equals the authority.