Commit 9c13eaf
fix(apkauditor): nav-deeplink detection missed real targets — use full dex string pool
Validated the new nav_deeplink_ids/nav_deeplink_forced_navigation rule against
the two real disclosed reports (BookBeat com.bookbeat.android, BitOasis
com.bitoasis) by downloading both APKs (apkeep) and running them through the
actual shipped engine. Result: 0 hits on both -- the per-class decompiled-source
scan that fed the rule is capped at 1000 classes/dex for performance, and the
androidx.navigation library class holding the marker string never falls within
that window on real-sized apps.
Confirmed via the raw dex string pool that both apps genuinely contain
'android-support-nav:controller:deepLinkIds/Args/Extras' (matching the reports'
own claim of verifying against bundled NavController bytecode). Fixed by
checking the FULL, uncapped string pool right after dex parsing -- the same
substrate detectTrackers() already uses reliably -- instead of relying solely on
the capped per-class scan (kept as a secondary path; harmless, occasionally
gives a real file/line on smaller apps).
Re-validated: both real APKs now produce the consolidated
'nav_deeplink_forced_navigation' finding, correctly naming the exact vulnerable
activity from each report (HomeTabBarActivity / MainActivity).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent e6193ab commit 9c13eaf
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
1896 | 1912 | | |
1897 | 1913 | | |
1898 | 1914 | | |
| |||
3019 | 3035 | | |
3020 | 3036 | | |
3021 | 3037 | | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
3022 | 3050 | | |
3023 | 3051 | | |
3024 | 3052 | | |
| |||
0 commit comments