PrevDL

Privacy-preserving ad targeting using TEE. No data leaks. Full GDPR/LGPD compliance.

PrevDL

Created At

ETHGlobal Buenos Aires

Project Description

šŸŽÆ The Problem We Solve Traditional ad targeting platforms face three critical challenges:

User Privacy Concerns: Users are increasingly aware that their personal data is being collected, stored, and analyzed by third parties without their control.

Regulatory Compliance: Regulations like GDPR (Europe) and LGPD (Brazil) require strict data protection measures, making traditional ad targeting legally risky and expensive to implement.

Data Leakage: Even with encryption in transit and at rest, data processing on regular servers exposes sensitive information to potential breaches, insider threats, and unauthorized access.

PrevDL solves all three problems simultaneously by leveraging Trusted Execution Environments (TEE) to process user data in a secure, isolated environment where data cannot be accessed, even by the platform operators.

šŸ” How It Works: Trusted Execution Environment (TEE) The Secure Enclave Architecture PrevDL runs on Oasis Sapphire's ROFL (Runtime Off-chain Logic) infrastructure, which executes code inside a Trusted Execution Environment (TEE). Unlike traditional servers where data can be accessed by administrators or compromised through attacks, TEEs provide:

Hardware-Level Isolation: Data is processed in a secure enclave that is cryptographically isolated from the host system Zero-Knowledge Processing: Matching logic executes without exposing user profiles or campaign targeting criteria Confidential Computing: All conditional operations (age matching, location matching, etc.) happen inside the TEE, ensuring no data leakage The Privacy-Preserving Matching Process

  1. User Profile (Encrypted) → TEE ā”œā”€ Age: 30 ā”œā”€ Location: BRASILIA ā”œā”€ Profession: SOFTWARE_ENGINEER └─ Interests: TECH, TRAVEL, SPORTS

  2. Campaign Targeting (Encrypted) → TEE ā”œā”€ Target Age: 25-35 ā”œā”€ Target Location: BRASILIA ā”œā”€ Target Profession: SOFTWARE_ENGINEER └─ Target Interest: TECH

  3. Matching Logic (Inside TEE) → āœ… MATCH └─ All comparisons happen in encrypted form └─ Only the result (match/no match) is revealed └─ User data NEVER leaves the secure enclave Why TEE is Essential Traditional ad targeting platforms process data on regular servers where:

āŒ System administrators can access user data āŒ Data is vulnerable to breaches and attacks āŒ Compliance requires expensive audits and certifications āŒ Users have no guarantee their data won't be misused With PrevDL's TEE-based architecture:

āœ… No one can access user data - not even platform operators āœ… Hardware-level security - cryptographic isolation from the host āœ… GDPR/LGPD compliant by design - data is processed in a secure enclave āœ… Zero data leakage - matching happens without exposing sensitive information

šŸš€ Key Features Privacy-First Architecture Encrypted User Profiles: User data is encrypted before transmission and remains encrypted during processing Private Matching: Ad compatibility is checked without revealing personal information Confidential Analytics: Only aggregated statistics are public; individual user data stays private Regulatory Compliance GDPR Compliant: Data processing in TEE ensures compliance with European data protection regulations LGPD Compliant: Meets Brazilian data protection law requirements Zero-Knowledge Processing: Platform operators cannot access user data, even if required by law Advanced Capabilities AI Agent Integration: Intelligent agents can verify exclusive offers for users without accessing their private data, enabling personalized experiences while maintaining privacy Real-Time Matching: Fast, efficient matching without compromising security Campaign Management: Full-featured dashboard for advertisers to create and manage targeted campaigns

How it's Made

šŸ› ļø Tech Stack Smart Contracts Solidity 0.8.24: Smart contract language Oasis Sapphire: Confidential blockchain with TEE support Foundry: Development framework for testing and deployment SDK & Frontend TypeScript: Type-safe SDK and React components React: UI components for ad display Ethers.js: Blockchain interaction Web Crypto API: Client-side encryption

background image mobile

Join the mailing list

Get the latest news and updates