Skip to content
C

ChainGuardian

trust the chain. We'll guard the rest.

Created on 1st May 2026

•

C

ChainGuardian

trust the chain. We'll guard the rest.

The problem ChainGuardian solves

The Problem It Solves
The core issue in Web3 today is "Blind Signing." Users are forced to interact with decentralized applications (DApps) where they cannot verify the raw transaction data. They must blindly trust the front-end interface—which is often compromised, phished, or malicious.

Currently, wallet providers like MetaMask or Rabby show users human-readable summaries, but these are generated by the DApp itself. If a website is hijacked (like BadgerDAO) or is a "Pixel-Perfect" phishing clone (like Inferno/Pink Drainers), the UI lies to the user. Users sign a "deposit" transaction, but their raw EVM bytes are actually authorizing an "unlimited drain" of their entire wallet.

What People Use It For
ChainGuardian acts as an independent security watchdog that operates between the DApp and the user's wallet. Users install ChainGuardian to:

Validate Intent: It decodes the actual binary payload, showing the user exactly what they are signing (e.g., "This isn't a transfer, it's a multisig takeover").

Prevent "Blind Signing": It translates raw, obfuscated bytecode into clear, plain-English warnings, preventing users from falling for complex phishing infrastructure.

Spot "Trap" Contracts: It automatically detects "Honeypots" (tokens that can be bought but never sold) and "Drainers" (contracts designed to steal funds) before a single dollar is sent.

🛡️ How ChainGuardian Protects You

Invisible Security: You don't have to audit code; we do it for you. While you browse, our 8-engine security core scans every contract in milliseconds—checking for hidden traps, unverified code, and malicious 'backdoor' instructions—so you don’t have to.

Instant Truth: No more deep-diving into Etherscan or audit reports. Every transaction is boiled down to a simple 0–100 Risk Score. If it’s dangerous, we stop it automatically before a single cent leaves your wallet.

The "Black Box" Recorder: If something goes wrong, you aren't left helpless. We create an immutable log of exactly what you authorized, providing the "receipt" you need for insurance claims or legal disputes—something that was missing for victims of the WazirX heist.

Immune to Hijacks: Because we watch your wallet’s "brain" (the provider level) rather than the website itself, we are completely immune to phishing. Even if a website is 100% compromised, our simulation engine exposes the hidden drainer code before you ever click 'Approve'.

Challenges we ran into

🛠️ Challenges I Ran Into
Building a real-time security interceptor was a race against the clock. Here were the two biggest hurdles:

The "Async-Speed" Bottleneck:

The Problem: Running 8 complex security checks (API calls to Dune/Moralis + static opcode analysis) took too long, causing the wallet to "time out" and frustrating users.

The Fix: I architected a parallel-dispatch engine using Promise.all() with strict withTimeout(3000ms) thresholds. If a service like Dune took too long, the system would gracefully fail-open to the local heuristics (Check 4 & Check 8) while prioritizing the most critical checks (Alchemy Simulation) first. This ensured the user got a response in under 3 seconds, regardless of third-party API latency.

The "Lying Frontend" Reality:

The Problem: I initially tried to verify transactions by scraping the website’s HTML/DOM for clues. I quickly realized this was a losing battle—hackers (like those behind BadgerDAO) specifically inject malicious scripts that rewrite the UI elements the DOM scrapers look for.

The Fix: I completely shifted my logic from "Page Analysis" to "Provider Interception." By hooking into the window.ethereum.request method, I stopped trying to read what the website said and started reading the raw binary payload the website was trying to send. This made ChainGuardian immune to frontend hijacks, as I was analyzing the "truth" (the raw EVM bytes) before the wallet ever signed it.

🛡️ How ChainGuardian Protects You
Security shouldn't require a degree in computer science. We’ve made protection feel like it isn't even there:

Invisible Security: You don't have to audit code; we do it for you. While you browse, our 8-engine security core scans every contract in milliseconds—checking for hidden traps, unverified code, and malicious 'backdoor' instructions—so you don’t have to.

Instant Truth: No more deep-diving into Etherscan or audit reports. Every transaction is boiled down to a simple 0–100 Risk Score. If it’s dangerous, we stop it automatically before a single cent leaves your wallet.

The "Black Box" Recorder: If something goes wrong, you aren't left helpless. We create an immutable log of exactly what you authorized, providing the "receipt" you need for insurance claims or legal disputes—something that was missing for victims of the $235M WazirX heist.

Immune to Hijacks: Because we watch your wallet’s "brain" (the provider level) rather than the website itself, we are completely immune to phishing. Even if a website is 100% compromised, our simulation engine exposes the hidden drainer code before you ever click 'Approve'.

Tracks Applied (1)

Web3 / Blockchain + Artificial Intelligence

ChainGuardian is a "Truth Engine" for the blockchain, solving the trust gap between human intent and machine execution. ...Read More

Discussion

Builders also viewed

See more projects on Devfolio