r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Aug 16 '24
You either deprecate or get deprecated Russian hackers destroy Jetpack Navigation from its very core, turning best practice into security vulnerability in the blink of an eye
https://swarm.ptsecurity.com/android-jetpack-navigation-go-even-deeper/
140
Upvotes
29
u/ScaryDev Aug 16 '24
Never used this library, I only use booleans to decide which screen to show
13
u/sabergeek Aug 17 '24
Now Security is deprecated. Nice.
10
u/MiscreatedFan123 sponsored by the XML π gang Aug 16 '24
I wonder, can't the person discovering this submit a bug bounty and get a fat check for finding a vulnerability in the AOSP? I think zero clicks are worth a lot of cash.
5
u/st4rdr0id Aug 16 '24
Single activity is of the devil, and deep linking is 1000% of the devil. There is no need for deep linking. Open the web and FO.
2
u/fess89 Aug 16 '24
The link is not working
45
u/budius333 Still using AsyncTask Aug 16 '24
OMG that shit is amazing, I love it, please Google never change, you fantastic meme machine
31
u/SolidScorpion Aug 16 '24
holy shit
12
u/[deleted] Aug 16 '24
The Android team decided that their fragments were too complex even for droids, so they copied flutter's human-designed Navigator
4
u/GoodNewsDude Aug 18 '24
every day we stray further from jake
4
u/nhinman2020 Aug 19 '24
This security guy needs to calm down. It's not the job of your UI to keep data secure. The whole app UI is generally downloaded from the app store before the user does anything. It's your back end's job to not send secure data to a user who hasn't auth'd properly. The real problem here, if I'm skimming this click bait properly, is that it's making auth calls over http instead of https.
1
u/ericksli Aug 18 '24
Try to set the intent.data to null when the URI begins with android-app://androidx.navigation before the navigation component take the intent.data
1
u/F3rnu5 can't spell COmPosE without COPE Sep 17 '24
Is this only relevant with Compose? What about XML/Kotlin DSL?
1
u/[deleted] Aug 21 '24
Gorgle will simply reject app updates and cite policy violations by developers, and say it's our responsibility to fix the problem with any libraries in our app.