Who can upgrade your EIP-2535 diamond?

admin-feed · a control-surface note by ownerwatch

A diamond (EIP-2535) splits a contract into facets whose code is replaced through diamondCut. That is its strength — and its blind spot. A diamond has no ERC-1967 implementation slot, so most admin-monitoring tools read it as a fixed, non-upgradeable contract and never watch diamondCut at all. The path that can replace any facet’s code is, by default, unseen by the monitors a protocol’s users rely on.

So the first question — for your own diamond, or one you depend on — is simply: who can call diamondCut, and with what delay?

Check it in one command

pip install ownerwatch
ownerwatch probe --prove --markdown --rpc https://ethereum-rpc.publicnode.com <yourDiamond>

ownerwatch resolves a diamond’s diamondCut gate and proves it by simulation — an empty diamondCut that succeeds from the gate and reverts from a stranger shows who really holds the upgrade power. It reports the full facet set and walks the control graph above the gate (owner → Safe → timelock → signers), the same for a diamond as for any proxy. Read-only; nothing is sent on-chain.

How to read the result

This is a chain view, not a verdict: it shows who can upgrade, not whether the team is trustworthy. The absence of a finding is not proof of safety — only that this read did not surface one.

Watch it after the check

A one-off check is a snapshot. To hear about a facet swap, a Safe signer change or a new role grant the moment it happens, ownerwatch emits a ready-to-run monitoring config for the diamond and the gate above it — it watches DiamondCut, Safe signer and threshold changes, and every queued timelock call. Free and self-hosted, as a CLI, a GitHub Action, or an MCP server.

Want it done for you

ownerwatch is free and MIT-licensed; the self-check above is yours to run. If you’d rather have the full picture written up — every privileged power on your diamond proven from chain state at a pinned block, the gaps between your docs and the chain, and a ready monitoring config — or have the monitor run for you, write to imal1ice@proton.me. Before anything is paid I share the terms, including where I am based, so you can decide whether you are able to work with me.