Happy0 / ssb-chess-mithril

A scuttlebutt chess client written using mithriljs
GNU General Public License v3.0
21 stars 1 forks source link

Manipulate data? #3

Open zilveer opened 5 years ago

zilveer commented 5 years ago

Hi, This seems to be an amazing work !

But a question about security, can someone manioukythe data when playing and change the positions of the chess players?

Regards Zilveer

Happy0 commented 5 years ago

@zilveer - thank you :). Are you on scuttlebutt? Would you like a game with it?

Yes, for now there is no validation that your opponent hasn't just changed the board position to be whatever they like as their move (by manually posting a chess_move type message. I do have some ideas about how to prevent this (or at least display on the interface that it has happened) but I haven't felt any immediate urgency to do so because:

It's not really like an online chess service like https://lichess.org where people want to boost their ratings, annoy strangers and stuff by cheating. It's more like a nice little chess club between friends and I (although I hope there will be some people out there using this that I don't know about some day :P.)

Like I said, there are some things that could be done to stop cheating in this app but I just haven't had the motivation to do it yet.

zilveer commented 5 years ago

@Happy0 actually I am not but I will definitely join it after reading about it. How can I find you there ?

I haven't tested it but I will definitely test the chess game as well as testing some hacks just to see if it is possible.

I also have some ideas, let's talk about it there ;))

See you there soon;))

zilveer commented 5 years ago

@Happy0 is it okey if I email you ?

Regards