Detects when the code behind a clear-signing descriptor changes, and explains what changed
Argos monitors upgradeable smart contracts used in ERC-7730 clear signing and tells you when the code behind them changes.
Clear signing lets a wallet show a readable message like "Supply 100 USDC" instead of raw calldata. The wallet finds the right descriptor by contract address. For an upgradeable proxy, though, the address stays the same after an upgrade while the code behind it is replaced. The wallet keeps showing the same message even though different code is now running. We checked every mainnet contract in the Ethereum Foundation's ERC-7730 registry and found that 314 of 652 (48%) are upgradeable proxies, and the registry records which implementation it described for none of them.
Argos records each contract's implementation as a baseline and keeps checking it. A watcher reads proxy slots and upgrade events every 60 seconds across 30 mainnet proxies from 19 protocols, plus our Sepolia demo contracts. It supports EIP-1967, beacon, diamond and Safe proxies. A contract that is upgraded and then quietly switched back stays flagged, so a temporary swap can't hide.
When a change is detected, Argos also explains it. It reads the deployed bytecode of the old and new implementations, compares their function selectors, and asks a model on 0G Private Computer to describe the difference in a few plain sentences. This works on unverified contracts too, because it never needs source code or a block explorer. The explanation is descriptive by design: Argos never labels an upgrade safe or malicious.
We mirrored the entire ERC-7730 registry onto Arkiv, 771 descriptors and 2,678 deployments, so anyone can query it by chain, address, protocol or attestation status. The descriptor files themselves are stored on Swarm. Before showing a descriptor, the browser checks that its bytes match the hash published on Arkiv, and rejects it if they don't. The demo includes a toggle that corrupts a descriptor so you can watch the check fail.
The app is built to fail safely. Each contract shows one of three states: Verified, Change detected, or Not verified. If the watcher stops or is blocked, every contract moves to Not verified within 5 minutes with the reason shown, instead of continuing to show an outdated green.
Anyone can add their own proxy. Argos inspects it, shows the evidence, and asks you to confirm the baseline yourself. There is no backend, no database, no login and no tracking, and the app sends the same Arkiv query for every visitor, so nobody learns which contracts you follow.
We also built ArgosGuard, an on-chain contract that only forwards a transaction if the proxy still points to the expected implementation, and reverts otherwise in the same transaction. It is a controlled demo of how the gap between checking and signing can be closed.
While importing the registry, Argos also found 3 auditor attestations that no longer match the files they were signed for.
Argos is written in TypeScript on Node 24 and organised as npm workspaces: a shared core package, the importer, the watcher and the web app. Every dependency is pinned to an exact version. There is no backend server and no database. All shared data lives on Arkiv and Swarm.
Arkiv holds all structured data. We defined eight typed schemas with the Arkiv SDK (1.0.1, Rabdi testnet): baselines, current state, latest change, change notes, a watcher heartbeat, and two tables for the registry mirror. The importer reads the EF registry at a pinned commit and resolves descriptor includes using Sourcify's clear-signing library. It then computes each ERC-8176 hash twice, once with our own RFC 8785 JCS implementation and once with the library, and stops if the two disagree. It also reads every mainnet deployment on-chain to classify its proxy type. In total it wrote 3,449 rows in atomic batches. The import is idempotent and resumable, and it automatically halves the batch size when the RPC rejects a payload as too large. A separate verifier re-checks row counts and compares random files with GitHub.
Swarm stores the content. We upload the exact canonical bytes of each resolved descriptor, so one keccak hash proves both that Swarm returned the correct file and that it is the same descriptor auditors sign. Each upload is downloaded again and checked before its reference is saved on Arkiv. All 746 descriptors were uploaded in 53 seconds with no failures.
The watcher scans Upgraded, AdminChanged, BeaconUpgraded and DiamondCut events from a saved block cursor and reads the proxy storage slots every 60 seconds. A contract's current state and latest change are written in one batch, so the app never shows a half-updated contract. Freshness is based on a checked_at timestamp with a 5-minute limit, and the watcher publishes a heartbeat for each chain. The watcher's key can update state but cannot write baselines, which require a separate writer key.
For explanations, the watcher fetches both implementations with eth_getCode, extracts 4-byte function selectors by scanning for PUSH4 opcodes, and diffs the two sets. It sends that diff to 0G Private Computer through its OpenAI-compatible API. The resulting text is stored on Swarm, and its hash is saved on Arkiv along with the 0G request ID, provider and cost. The browser only displays the explanation if its hash matches. This step runs after the change is already recorded, so a slow model can never delay detection.
The web app is static, built with Vite and React 19, and uses viem for live chain reads. It loads Arkiv data with one bulk query that is identical for every visitor, fetches descriptors from Swarm with a visible fallback to the registry, and renders them with Sourcify's clear-signing library. It ships no keys, analytics or third-party assets, and even the fonts are self-hosted. It is deployed on Vercel, and the built app is also published to Swarm.
The contracts are written with Foundry. The demo uses an OpenZeppelin 5.6.1 transparent proxy on Sepolia that we upgrade live. ArgosGuardableProxy reports its implementation from code that upgrades can't change, and ArgosGuard uses that to check and forward a call in the same transaction.
A few things worth mentioning. The Arkiv SDK puts the access key in the RPC URL, so we route every logged error through a function that removes it. A Windows checkout with CRLF line endings once changed every file hash, and the app's own integrity check caught it on its first run. We found that the public Swarm gateway accepts uploads without a postage stamp, which let us put all descriptors on Swarm before we had our own batch. Finally, we originally routed live reads through Nym but removed it after it booted unreliably, and every live read in the app is now labelled as a direct RPC call so we never imply privacy we don't provide.

