Your dApp's watchdog: warns you before you sign if a site's code isn't the team's release.
Hydra is your dApp's watchdog.
Not every update comes from the team. The biggest frontend hacks never touched a smart contract: attackers changed the website instead. BadgerDAO lost $120M to an injected script (Dec 2021), Curve users were sent to a cloned site through a DNS hijack (Aug 2022), and Bybit lost about $1.5B when one JavaScript file in Safe{Wallet}'s web app was changed. Bybit's own post says the attack "masked the signing interface", showing the right address while changing what was signed. Last week Polymarket said a compromised third-party provider hit 726 wallets, with $2.7M taken. Four hacks, same weak spot: the page looked normal, so users signed and lost funds. Today nobody can check whether the site they sign on is the build the team actually shipped.
Hydra checks every script against the published build, in four steps:
Before Hydra, a hacked page looks normal and users sign and lose funds. With Hydra, the same page shows a red warning in 3.8 seconds (measured on our live demo), and the protocol team gets an early alert on Telegram, Slack, Discord or a signed webhook, so they can act before more users are hit. When the team redeploys the right build, the site turns green again and Hydra sends a recovery alert.
Live today, for everyone:
Teams prove they own a domain by serving /.well-known/hydra.txt, so nobody can publish a "release" for someone else's site. Try it: mouli51ch.github.io is an untouched published site and shows Good to go; our staged hijack of hydra-demo-dapp.vercel.app turns red and names /app.js.
Hydra is a TypeScript/JavaScript monorepo built from scratch at ETHGlobal Mumbai, in two halves: publish once, then watch every load.
Publish once: a team connects a wallet on the explorer's publish page (RainbowKit + wagmi), names its app and signs one message. The Hydra API (Node.js, plain node:http, on Render) turns that signature into a signed, expiring API key bound to that app name, verified with viem. The team adds one GitHub Actions workflow (hydra.yml) with the key as the repo secret HYDRA_API_KEY. On every push to main, our action (packages/action) hashes every file in the build output and sends the manifest to the API. The API uploads the build and a hydra-manifest.json to Swarm through the public gateway, then writes release, file and app-claim entities to Arkiv (Rabdi testnet) with @arkiv-network/sdk from its own testnet-funded wallet, so teams never need tokens or chain knowledge.
Arkiv is our only database. Every release, file hash, app-name claim, indexer observation and alert subscription is an Arkiv entity, with expirations on the short-lived ones. Readers trust only entities created by Hydra's two wallets (publisher and indexer), so anyone can verify the record without trusting our server. The explorer is a static site on Vercel with no build step: it loads the Arkiv SDK from a pinned CDN version and queries Arkiv directly from the visitor's browser. Swarm holds each build's manifest, and its reference is stored on the Arkiv release, so a check can be rebuilt from Arkiv and Swarm alone.
Watch every load: the Chrome MV3 extension sees each script a page loads through webRequest (including scripts injected after load), fetches it again without cookies, hashes it with Web Crypto SHA-256 and compares it with the release. Its red warning banner lives in a closed shadow root, so the page cannot hide or restyle it, and script bytes are only hashed, never run. The indexer re-checks published domains plus the top DeFi protocols by TVL from DefiLlama, writes only changed observations to Arkiv, and sends Telegram, Slack, Discord or Standard-Webhooks-signed alerts that teams set up in the console.
Hacky bits worth mentioning: the Swarm gateway refuses to serve HTML (an anti-phishing redirect), which costs us nothing because Hydra only reads the JSON manifest and compares hashes. Domain ownership is proven by a /.well-known/hydra.txt file, checked at publish time and on every indexer run. We tested the wallet sign-in with freshly generated real wallets and real signatures through Playwright instead of mocks. The extension zip builds deterministically, so anyone can rebuild it and compare its SHA-256.

