Skip to content
/ dcr Public

A PoC framework to orchestrate interoperable Differentially Private Data Clean Room Services using Intel SGX hardware as root of trust.

License

Notifications You must be signed in to change notification settings

qascade/dcr

Repository files navigation

dcr ⭐️

forthebadge forthebadge

PRs Welcome

A proof of concept framework to orchestrate Interoperable Differentially Private Data Clean Room Services on Intel SGX.

A Data Clean Room is a secure environment where organizations can collect data from multiple sources and combine it with their first-party data. Doing so allows marketers to leverage large, aggregated datasets of consumer behavior to provide insight into critical factors like performance, demographics, campaigns, etc.

Data clean rooms allow companies to extract value from aggregate datasets sourced from multiple parties while prioritizing user privacy and maintaining strict security measures.

Contributing Guidelines

This Repo follows following Contributing Guidelines

NOTE: This project is hosted under GSSoC'23. Please go through GSSoc_CONTRIBUTING.md before moving on the any issues. You can ask any queries on discord channel or Discussion Board mentioned.

NOTE:

  1. As of now this framework is only able to show a Proof of Concept for the architecture described in the spec. This framework will be used in a paper that I will be publishing soon. The paper will try to formalise data clean rooms. So, any thing that deviates this project from realising the paper is not in the scope of this project.
  2. Current PoC only shows an example of three collaborators, out of which two provide sources and one provides the transformation.
  3. Currently only Confidential GoApps are supported for transformations.
  4. The Code is not production ready and does not partake any security measures other than access control and differential privacy.
  5. The library is still not tested on actual SGX backed machines and but the PoC can be tested on simulation mode.

To Run an example Data Clean Room Scenario.

  1. This framework will not work on Windows. Make sure you have a linux machine installed.
  2. (Optional) Install Intel-SGX SDK
  3. Make sure you have Go 1.20+ installed.
  4. Make sure you have E-Go Compiler installed on your PC's

You can see the sample collaboration package in samples/init_collaboration. You can also look at some sample packages under construction along with their graph images in samples/test_graph

⚡️ Quick Start:

  1. 🏗 Build the dcr binary.
make build 
Screenshot 2023-05-11 at 4 09 17 AM Screenshot 2023-05-11 at 4 10 33 AM
  1. 🏃🏻‍♀️ Run the demonstration
./bin/dcr run --pkgpath samples/init_collaboration

Links:

  1. Spec Doc
  2. Research Doc
  3. dcr YouTube Video
  4. https://confidentialcomputing.io
  5. https://differentialprivacy.org

Contributors

About

A PoC framework to orchestrate interoperable Differentially Private Data Clean Room Services using Intel SGX hardware as root of trust.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published