TEE Shield: Protect Web3 users from frontend tampering using on-chain hashes.
TEE Shield is a decentralized security solution that addresses one of the most significant yet overlooked vulnerabilities in the Web3 ecosystem: frontend tampering.
While blockchain transactions are secure and transparent, the frontend interfaces that users interact with remain vulnerable to manipulation. Centralized hosting solutions create a critical attack vector where malicious actors can modify frontend code to trick users into approving dangerous transactions or connecting to phishing sites.
Our solution creates a trustless verification system where dApp developers can deploy the frontend of their app into a Trusted Execution Environment (TEE) while commiting the cryptographic hash of their authentic frontend to a verified smart contract. Through our Chrome extension, users receive real-time verification that the frontend of the dApp they're interacting with matches the authentic version registered on-chain.
By leveraging Trusted Execution Environments (TEEs), we ensure that the verification process itself cannot be compromised. When users visit a dApp, our extension automatically compares the current site's hash against the registered hash from the smart contract. Users receive immediate alerts if any discrepancy is detected, protecting them from interacting with potentially compromised interfaces.
TEE Shield bridges a critical security gap in the Web3 ecosystem, allowing users to interact with dApps with confidence while maintaining the decentralized ethos of blockchain technology.
The system consists of these core components:
Besides those core components, we have these intermediary services:
The main challenge that we discovered in this project was that we didn't have enough time to handle the Implementation of a function to extract the value of the digest from the deployed TEE IP's attestation. It's too time-consuming and complex to be done in a weekend hackathon. But we found a workaround to make the project still feasible and showcase the true potential of this security application.