web3privacy/Web3privacynowplatform/Scoringmodel.md

235 řádky
10 KiB
Markdown
Surový Normální zobrazení Historie

2023-02-04 20:23:08 +01:00
# Privacy scoring modelling > Web3privacy now analytical platform [engine](https://github.com/Msiusko/web3privacy/tree/main/Web3privacynowplatform)
2023-02-04 17:49:43 +01:00
**Approach**
2023-01-27 16:43:41 +01:00
2023-02-04 17:57:22 +01:00
| Phase | Description |
| ------------- | ------------- |
2023-02-04 18:33:51 +01:00
| 1. **Expert take** | Outreach privacy experts behind core privacy services - aggregate their professional opinions on how to analyze if a service is truly private or not.) |
| 2. **Scoring model prototyping** | Create an open & flexible scoring model for a communal feedback loop - share with the privacy community, evaluate. |
| 3. **Scoring model MVP release** | Deliver balanced model for privacy services assessment - powered by pros & general public opinions. |
2023-02-04 17:49:43 +01:00
2023-02-04 19:16:25 +01:00
# Current status (02/04/2023)
2023-02-04 18:34:21 +01:00
2023-02-04 17:49:43 +01:00
![alt text](https://github.com/Msiusko/web3privacy/blob/main/Web3privacynowplatform/Staticobjects/Screenshot%202023-02-04%20at%2017.03.45.png?raw=true)
2023-01-27 19:13:06 +01:00
2023-02-04 18:52:56 +01:00
## 1. On-going community research (survey) within the privacy experts.
2023-02-04 18:31:32 +01:00
I asked experts behind privacy-services or contributors to the privacy-centric communities to share their visions on analysing whether a service is private. Answers were collected via chats & survey [form](https://forms.gle/ETBEZed9LUUtLWT87)
2023-02-04 13:26:54 +01:00
2023-02-04 18:31:32 +01:00
**Criteria**:
2023-02-04 17:52:15 +01:00
- min 50 different experts
2023-02-04 18:31:32 +01:00
- a broad range of positions: tech, ops, marketing, devrel, strategy
- a broad range of services: from privacy coins to mixnets
2023-02-04 17:52:15 +01:00
- different geographies: from the USA to Russia
2023-02-04 17:55:54 +01:00
# Questions from the privacy experts
2023-02-04 13:49:47 +01:00
2023-02-04 13:50:16 +01:00
# Take 1
2023-02-04 18:31:32 +01:00
- does it has traceability? (ie addresses is hidden from the public ledger)
- does it has unlinkability? (ie transactions can't be linked to each other)
- does the amount of transfer is hidden?
- does IP addresses of participants hidden?
- is it decentralized and based on open-source technology?
2023-02-04 13:26:54 +01:00
2023-02-04 13:50:16 +01:00
# Take 2
2023-02-04 14:03:41 +01:00
| Question | Observation |
| ------------- | ------------- |
| much the users in control of their data disclosure? | (Scale 1-10) |
2023-02-04 18:31:32 +01:00
| how well community feedback and evaluation is built into product dev? | the less -» the more centralized it is -» the smaller the % of it staying private without collective intelligence. This is like the web3privacynow - platform part, actually, for sales, but also I found this really relevant. |
| is there a community bug/security bounty program/platform? | yes, no |
| how much transparent disclosure is available on the tech and company | like smart contract audits, security audits, source of financing? |
| how private the tech stack it uses on all layers. from hardware to l3/l4 etc. | how well it is disclosed what they built on and where they host stuff, or if the tech is decentralized like nym - is there available dashboard data about this? |
| product roadmap and release flexibility - this is a harder one, and I'm not sure it makes sense. What I mean is it's also important to have a clear vision while reacting to current needs/bugs /fixing vulnerabilities. | maybe its redundant with no2 and no2b |
2023-02-04 13:26:54 +01:00
2023-02-04 13:50:16 +01:00
# Take 3
2023-02-04 13:26:54 +01:00
1. What are the trust assumptions the user has by using the platform?
2. What and how is user information stored and transmitted?
2023-02-04 18:31:32 +01:00
3. How much PII is stored/collected?
2023-02-04 13:26:54 +01:00
4. How is information collected + processed + disseminated
2023-02-04 18:31:32 +01:00
5. How completely can you participate with total privacy?
2023-02-04 13:17:20 +01:00
2023-02-04 13:50:16 +01:00
# Take 4
2023-02-04 14:06:08 +01:00
| Direction | Observation |
| ------------- | ------------- |
2023-02-04 18:31:32 +01:00
| network privacy | how do you connect to the chain? Can you do it via Tor? |
| blockchain privacy | do the resulting on-chain transactions offer the user any on-chain obfuscation? |
| censorship resistance | how resistant is the project to external pressure? Will the project censor you? |
| permission | do I need to create an account to access the thing, or is the thing open access? |
| custody of funds | is the user out of control of their keys at any point? |
2023-02-04 13:36:00 +01:00
2023-02-04 13:52:49 +01:00
# Categorisation
2023-02-04 13:40:55 +01:00
2023-02-04 14:00:05 +01:00
## Contents
- [General](#General)
- [Docs](#Docs)
- [Third-party analisys](#Third-party-analisys)
- [VCs](#VCs)
- [Team](#Team)
- [Privacy policy](#Privacy-policy)
- [Token](#Token)
- [Infrastructure](#Infrastructure)
- [Storage](#Storage)
- [Data aggregation](#Data-aggregation)
- [Traction](#Traction)
- [Governance](#Governance)
- [Privacy execution](#Privacy-execution)
- [Product-centric](#Product-centric)
- [Testing](#Testing)
- [Other](#Other)
# General
2023-02-04 13:40:55 +01:00
- Immutability
- Decentralised throughout, including hosting
- Permissionless & accessible to all
- Open source
2023-02-04 13:36:00 +01:00
2023-02-04 14:00:05 +01:00
# Docs
2023-02-04 13:13:48 +01:00
- read the documentation
2023-02-04 13:17:20 +01:00
- Good and comprehensive documentation
2023-02-04 14:00:05 +01:00
# Third-party analisys
2023-02-04 13:13:48 +01:00
- ask about its weaknesses from competitors
2023-02-04 18:31:32 +01:00
- Number of peer-reviewed articles at conferences and journals of team members
- Where's the code? Has it been audited?
2023-02-04 13:46:41 +01:00
- Validation by trusted and respected independent scientists and researchers
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# VCs
2023-02-04 13:17:20 +01:00
- Who are the VCs
2023-02-04 13:13:48 +01:00
- not funded by big US VCs like a16z
2023-02-04 13:17:20 +01:00
2023-02-04 14:00:05 +01:00
# Team
2023-02-04 13:17:20 +01:00
- ideological team
2023-02-04 18:31:32 +01:00
- Reputation of the team
- is it purely marketing oriented, or it seems created by researchers/developers, are the developers anons?
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Privacy policy
2023-02-04 13:26:54 +01:00
- Privacy Policy content
2023-02-04 18:31:32 +01:00
- Non-vague and non-intrusive privacy policy
2023-02-04 13:36:00 +01:00
- #privacy protection policies
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Token
2023-02-04 18:31:32 +01:00
- is there a token since the beginning?
- if the token since beginning - weird
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Infrastructure
2023-02-04 13:26:54 +01:00
- How much to run a node.
- Where are the nodes
- Number of nodes/servers/ -> the larger the footprint the best privacy
2023-02-04 14:00:05 +01:00
# Storage
2023-02-04 13:46:41 +01:00
- e2e encrypted LOCAL storage
2023-02-04 18:31:32 +01:00
- What user information is stored? (username, IP address, last connection, wallets associate, etc)
- Where is it stored? (centralized server, certain jurisdictions, on-chain, in browser/local cache)
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Data aggregation
2023-02-04 13:36:00 +01:00
- no email or tel nr for signup
- control over personal data
2023-02-04 18:31:32 +01:00
- does not implement KYC or AML
2023-02-04 13:40:55 +01:00
- Metadata privacy / Minimal to no metadata capture
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Traction
2023-02-04 13:36:00 +01:00
- Amount of transactions
- number of people using it
- is it famous
2023-02-04 18:31:32 +01:00
- Time of test and battle-tested code - (e.g. how BSC had passed the stress time of withdrawals with FTX drama or crypto schemes such as ECDSA with more than 2-3 decades alive)
2023-02-04 13:46:41 +01:00
- Latency
- Cost
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Governance
2023-02-04 13:26:54 +01:00
- DAO structure (if applied)
2023-02-04 14:00:05 +01:00
# Privacy execution
2023-02-04 18:31:32 +01:00
- How is it being transmitted? (encrypted, unencrypted, offuscated, etc)
2023-02-04 13:36:00 +01:00
- Confidentiality of transactions
2023-02-04 18:31:32 +01:00
- the ability to hide transactional data from the public
2023-02-04 13:36:00 +01:00
- strong encryption algorithms
2023-02-04 18:31:32 +01:00
- If the speed in connection is too fast, there most probably no privacy there and rather a direct channel between user - app
2023-02-04 13:36:00 +01:00
- p2p / no central server
- Reliant on one encryption method or multiple
- Combined those encryption methods effectively (holistic solution)
2023-02-04 18:31:32 +01:00
- Trustless - No ID required (this is where ZKs are useful)
2023-02-04 13:40:55 +01:00
- Usage of ZK
2023-02-04 14:00:05 +01:00
# Product-centric
2023-02-04 13:40:55 +01:00
- Onboarding steps
- Usability - for end users or in the developer experience if it is a B2B project.
2023-02-04 13:26:54 +01:00
2023-02-04 14:00:05 +01:00
# Testing
2023-02-04 13:46:41 +01:00
- Ability to run part of the service and verify for myself
2023-02-04 13:36:00 +01:00
- try to trace a transaction
- There is a way to verify the code I think is running, really is running e.g. attestation service
- Other tooling to verify e.g. block explorers
2023-02-04 13:46:41 +01:00
2023-02-04 14:00:05 +01:00
# Other
2023-02-04 18:31:32 +01:00
- Entropy (non-trivial to estimate, different measurements for type of service). Some examples: https://arxiv.org/abs/2211.04259 or https://blog.nymtech.net/an-empirical-study-of-privacy-scalability-and-latency-of-nym-mixnet-ff05320fb62d
2023-02-04 13:46:41 +01:00
- Censorship-resistant (how hard it's for a powerful party to block/censor a given service)
2023-02-04 18:31:32 +01:00
- Precise description of the concrete privacy properties. Privacy is complicated, so if they don't say exactly what they protect, then its likely vapour
2023-02-04 13:36:00 +01:00
- Doesnt sell your data
2023-02-04 18:31:32 +01:00
- protects against a global passive adversary
2023-02-04 13:36:00 +01:00
- strong secure anonymity tech
- Credibly neutral
2023-02-04 14:11:18 +01:00
- ISO/IEC 29190:2015: https://www.iso.org/standard/45269.html
- Anonymity Assessment – A Universal Tool for Measuring Anonymity of Data Sets Under the GDPR with a Special Focus on Smart Robotics: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3971139
2023-02-04 14:18:38 +01:00
2023-02-04 19:25:27 +01:00
_Huge thanks everyone who contributed! I make it anon now, but will thank everyone (who would liked to be credited) once a scoring model will be published on GitHub for community evaluation._
2023-02-04 18:52:56 +01:00
# 2. My personal notes on privacy scoring (they were made before communal survey)
2023-02-04 18:31:32 +01:00
_Sketches what could be put inside privacy-solutions scoring model_ (note: think of these as questions to experts for a workshop on scoring ideation).
2023-02-04 14:18:38 +01:00
2023-02-04 18:52:56 +01:00
**Key observations**
2023-02-04 19:22:02 +01:00
| Topic | Observation |
| ------------- | ------------- |
| Broad range of different takes on privacy assesment | Privacy experts have around 50+ tips |
| Tech-centricity of assesment | Majority of the expert takes are hard to execute by non-tech people (they need info-help!) |
| Privacy assessment takes enormous time | Time-To privacy-fit - potential for analytical service |
| Privacy literacy isn't enough | The scoring model demand both "decentralisation", "open-source" & "privacy" topics understanding |
| Mix of objective & subjective takes | Scoring criteria are different from objective (example: transaction traceability) & subjective (example: backed by a16z crypto) takes |
2023-02-04 18:52:56 +01:00
2023-02-04 14:18:38 +01:00
**Open-source transparency**
- **GitHub repos**: # of commits, # stars, date of repo creation.
2023-02-04 18:31:32 +01:00
**Third-party validation**
2023-02-04 14:18:38 +01:00
- **Security audits**: yes, no; type of audit; ammount of audits.
**Community validation**
- Existing bugs
2023-02-04 18:31:32 +01:00
- White hackers assessment (like Secret Network TEE bug)
2023-02-04 14:18:38 +01:00
- Negative Discord, Twitter, other public feedback (product & founder-centric)
**Team**
- Market validation
- GitHub contribution
- Track record (incl. red flag projects)
**Financials**
- Investments
- TVL (like Aztec's L2)
- Donation-based
- Public treasury
**Liveliness**
- How active is GitHub activity
2023-02-04 18:31:32 +01:00
- How active is the community
- Is there public product traction?
2023-02-04 14:18:38 +01:00
**Product-readiness**
- State of product-readiness
- MVP-readiness
- Protocol (test-net/main-net)
2023-02-04 18:31:32 +01:00
- dApp (release timing, third-party validation like AppStore/Play Store)
2023-02-04 14:18:38 +01:00
- network-reliability (the state of privacy in Ethereum, Solana, Avalanche etc)
**Cross-checked data leakage**
- Complementing privacy stack data leakage (example: phone + dApp; wallet + RPC etc)
2023-02-04 18:31:32 +01:00
- Third-party data leakage (from the hackers to state agents (think of Iran or North Korean govs))
2023-02-04 14:18:38 +01:00
**Data aggregation policies**
_Reference_: https://tosdr.org
**Centralisation level (incl KYC)**
Reference: https://kycnot.me/about#scores