Default avatar
nobody 3 months ago
Do not put your nsec in clients. Always use a signing application such as Amber or Clave.
Alex Gleason's avatar Alex Gleason
:POLICE: A critical security vuln was fixed in Ditto Android that would allow an attacker to steal your nsec by getting you to tap an evil URL. :wisp_sad: A new version has been released onto Zapstore and Google Play. UPDATE DITTO ANDROID IMMEDIATELY. :POLICE: :POLICE: :POLICE: Ditto on web and iOS are unaffected. The issue only affects Android because it was a problem in the Android link handler. People using Amber are unaffected by nsec theft but should upgrade anyway because the attack is still arbitrary code injection via evil URL. What does an evil URL look like? It contains JavaScript code inside of the URL. The path was not being escaped properly, so it could break out and run any script. The fixed version completely changes the way native code triggers UI navigation (event-driven) so we never inject JS code into the UI at all anymore. Huge shout out and thank you to @calle for connecting me to the team behind https://v12.sh/ who discovered this vuln, and huge shout and and thank you to them for responsibly disclosing it to us. ๐Ÿ™ They also discovered some other issues we patched in this release, but the evil URL is by far the worst.
View quoted note →

Replies (11)

Hey Derek, I was thinking about this. Maybe it makes sense that you remove this functionality at all for new installs and offer some migration period for your current users. Apps should be made in a way to invite good behavior.
Default avatar
nobody 3 months ago
I would agree, though asking a non technical user to download and install and use another app just to use this new app that they're trying to use is a bad user experience.
Default avatar
nobody 3 months ago
Android is the most secure ๐Ÿ˜Ž
No, as long as you're not using the client you put your nsec into, you're fine. So just log out and log back in with a signer app everywhere and you should be good.
I would like to use a signer thar runs inside Tor network , did you know that signer ? I will ride away from my vpn provider !
โ†‘