Damus
Sirius · 7w
Help test secure messaging on nostr? Download https://irischat.org and send me a message โ€” look up "sirius" or scan the chat link. It's like signal, but no phone number or other 3rd party account ne...
Sugestor Ultra ๐Ÿดโ€โ˜ ๏ธ profile picture
Very nice! Keep in mind, building a safe and working IM is a very hard task. There are whole companies and multiple teams dedicated to do that and it is still problematic for them. If I could build an IM right now, I would not attempt it.

What I always point at is the received data sanitization and safe local storage deletion.

There are two types of threats:
- received data - unexpected client behavior
- stored data having the ability to kill the user if not deleted properly (from the storage and the network)

Both are really dangerous. One can cause leaks/hacks/infection, the other, even worse things

Try to virtually put yourself in a position of a person whos phone is about to be infected by a bug in an image handling library or for example a markdown library - how would you prevent it

If the underlying nand can be read, and old messages extracted - how to prevent it

If an attacker did get access to the device for a brief moment, can he silently clone the account and receive all the communication in the real time in his own environment without the user noticing

And 31337 other important questions.
Some solutions can be just copied from existing IMs

So yeah, IMs are a big deal! Good luck!