passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
992 stars 461 forks source link

Implement Revocation and Ban Lists for Sybil Detection #3051

Open erichfi opened 1 week ago

erichfi commented 1 week ago

User Story:

As a platform manager, I want to revoke scores and credentials of users involved in Sybil Rings and ensure they are banned from claiming specific credentials and stamps, so that I can maintain the integrity and security of Passport XYZ by preventing misuse and gaming of the system.

Acceptance Criteria

GIVEN certain user addresses identified as part of Sybil Rings or engaging in suspicious activities, WHEN I upload a CSV with the details of this addresses and their credentials in the django revocation list THEN this respective credentials must be revoked AND they should not be displayed any more in the Passport App <<<--- is this true? Or do we want to label them as Revoked AND no points should be counted towards the score for these stamps

GIVEN certain user addresses identified as part of Sybil Rings or engaging in suspicious activities, WHEN I upload a CSV with the details of this addresses and their credentials in the django ban list THEN this respective addresses should not be allowed to verify the flagged credentials until the ban is lifted or expires AND they when trying to verify a banned stamp, they should receive a correct error message highlighting the ban <<<--- is this correct?

Product & Design Links:

N/A

Tech Details:

Open Questions:

Notes/Assumptions:

nutrina commented 4 days ago

@erichfi regarding the ban list, what exactly should we ban? a. shall we ban an address from claiming a certain provider (like address A is not allow to claim Google)? b. shall we ban a certain stamp hash from being claimed (i. e. we would ban a given ETH address or the Web3 stamps, and the account for the Web2 stamps) c. or both options

UI Questions:

lebraat commented 4 days ago

Stupid question: why would we ban just a Stamp when we can just label the entire account suspicious?

Separately, +1 to having an appeal process.