Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weaknesses due to misconceptions about privacy of data on-chain #209

Open
rschumi42 opened this issue Aug 18, 2019 · 3 comments
Open

Weaknesses due to misconceptions about privacy of data on-chain #209

rschumi42 opened this issue Aug 18, 2019 · 3 comments
Labels

Comments

@rschumi42
Copy link

Is there already an SWC entry for the keeping secret vulnerability [1][2]? The issue occurs when a contracts, e.g., a multi-player game needs to store secret information, e.g., for the next move of a player, and it just stores this information in a private field. However, for writing the field there needs to be a transaction, which makes the value public and a player might get an advantage because of this.

If there is no related entry may I just write one?

[1] Atzei, Nicola, Massimo Bartoletti, and Tiziana Cimoli. "A survey of attacks on Ethereum smart contracts." IACR Cryptology ePrint Archive 2016 (2016): 1007.
[2] https://medium.com/solidified/keeping-secrets-on-ethereum-5b556c3bb1ee

@maurelian
Copy link
Contributor

@b-mueller @thec00n what do you think about this? It's the same as this BP recco.

It's inherently subjective, and depends on the developers intent, but it's definitely a plausible weakness.

@maurelian maurelian mentioned this issue Dec 6, 2019
@maurelian maurelian changed the title Keeping secret vulnerability Weaknesses due to misconceptions about privacy of data on-chain Dec 6, 2019
@thec00n
Copy link
Collaborator

thec00n commented Dec 9, 2019

Absolutely it's not covered currently. PRs are welcome :)

@maurelian maurelian added the to do label Dec 9, 2019
@kadenzipfel
Copy link
Contributor

#237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants