/defi-privacy-measurements

Code and data supporting our research projects on security and privacy issues in DeFi sites.

Primary LanguagePython

DeFi Privacy Measurements

This repository contains the code and data that we developed as part of our research project on privacy and security issues in decentralized finance (DeFi). You can find our technical report on arXiv.org.

The following list explains the purpose of each directory in this repository.

Code

  • request-logger/: A Puppeteer-based crawler that takes as input a list of URLs that are visited one after another while logging all requests that the respective sites make.
  • metamask-patch/: A proof-of-concept patch for the MetaMask wallet which replaces the user's real Ethereum address with derived, site-specific addresses, to make it harder for DeFi sites and trackers to track the user across sites.
  • analysis-scripts/: A set of Python scripts that analyze the data produced by the request-logger.

Data

  • data/: A set of JSON files that we collected with the help of the request-logger.