Paths below are from the AOSP tree and are stable across releases; line numbers
are deliberately never given, because they are not. Browse at
https://cs.android.com/android/platform/superproject/main or in a local
repo-synced tree.
The message object itself. Every field, every flag constant with its hex value, fillIn() (the PendingIntent merge rule), parseUri()/toUri() (the intent: grammar), prepareToLeaveProcess() (the client-side file:// check), migrateExtraStreamToClipData(). If you only ever read one file from this chapter, read this one.
The matching algorithm.match(), matchAction(), matchCategories(), matchData(), findMimeType(), and the MATCH_CATEGORY_* / NO_MATCH_* constants whose values §3.6 decodes. matchCategories iterates the Intent's categories — that five-line loop is the whole of the direction rule people get wrong.
The bucketed filter index: mActionToFilter, mTypedActionToFilter, mTypeToFilter, mBaseTypeToFilter, mWildTypeToFilter, mSchemeToFilter. These are exactly the headings dumpsys package prints, which is why reading this file makes the dump legible.
Where the security decision is made, against Binder.getCallingUid(). The export check is a UID comparison; the two SecurityException messages you spend your life reading in logcat are thrown here.
startActivity, startService (and validateServiceIntent, the client-side "must be explicit" check), sendBroadcast, registerReceiver.
Searching the tree: the class names above never change, but the packages do —
PendingIntentRecord in particular has moved between com.android.server.am and
neighbouring packages across releases. Search by class name, not by path.
Intents and Intent Filters (developer.android.com guide)
The canonical statement of the three matching tests. Its "Intent resolution" subsection is short and correct; its examples under-state the <data> cross-product behaviour, which is why §3.4 measures it instead.
Verify Android App Links
The assetlinks.json format, the autoVerify attribute, and the Digital Asset Links relationship. Read alongside lab 03, which measures the state the guide describes producing.
Handling Android App Links
The developer-side workflow, including the Play App Signing fingerprint trap that causes most verification failures.
The API 31 mandate, stated by the platform. Pairs with §3.9 and the --target-sdk 31 experiment in lab 04.
Android 14 behavior changes — Safer intents
The targetSdk 34 restrictions: implicit Intents may not reach non-exported components, and mutable PendingIntents wrapping implicit Intents are constrained.
Android 11 behavior changes — Package visibility
Why <queries> exists, and why your adb shell view is wider than the app's (§7.7).
App security best practices — Use intents to defer permissions / Security tips
Google's own guidance on setPackage, explicit components and validating received Intents. Short; worth quoting back to a developer verbatim.
am (Activity Manager) in the ADB shell command reference
The full <INTENT> grammar. Also printed by the device: adb shell am with no arguments, which is the version that is actually true for the platform in front of you.
Digital Asset Links protocol specification
The statement format behind assetlinks.json, including delegate_permission/common.handle_all_urls.
This chapter does not print CVE identifiers it has not verified, because a
wrong identifier in a report is worse than no identifier. What follows are the
classes; each has occurred repeatedly across vendors, and each is findable in the
sources below.
Search the "Framework" and "System" sections for "elevation of privilege" entries whose description mentions intents or PendingIntent. Several months every year carry at least one. Each entry links the AOSP commit, which is the best possible worked example of a fix.
OEM system apps are the richest source of intent-redirection issues, because a pre-installed app's borrowed authority is worth far more than a third-party app's.
Google Play Console — "Intent Redirection vulnerability" warning
Google's own automated detector, and its help page defines the pattern precisely. Its existence is evidence of how common the SDK-injected version of this bug is.
Chromium bug tracker, intent: scheme handling
The browser-as-deputy case: why browsers strip the component and FLAG_GRANT_* when parsing intent: URIs, and what happens in browsers that do not.
Cited by topic rather than by exact title/venue where the author is not certain of
the citation — the content is what you want, and it is findable by topic.
Topic
What it adds
Confused-deputy analyses of Android IPC (academic literature on permission re-delegation)
The formal framing of what §5.2 describes informally. The "permission re-delegation" line of work is the origin of the vocabulary.
Static analysis of Android ICC (inter-component communication) — the FlowDroid / IccTA / Epicc family of tools and papers
How the redirection primitive is detected at scale, and why the false-positive rate is what it is. Useful when you are asked why a scanner's output needs triage.
Task-hijacking / StrandHogg research
Adjacent to this chapter: it abuses taskAffinity and launchMode rather than resolution. The manifest side is 32-Manifest §3.6.
Conference talks on deep-link and App-Link abuse (Black Hat / DEF CON / OBTS mobile tracks, most years)
Real-world chains where an unverified App Link is step one and account takeover is step three.
app.activity.info, app.activity.start, app.broadcast.send. Its agent is an ordinary app, which makes it a better reachability oracle than adb shell — the one thing it has over am.
Objection
android intents launch_activity, android hooking watch class android.content.Intent.
jadx, apktool, aapt2
§6 and §8. aapt2 dump xmltree is the closest host-side approximation of the platform's own parser.
MobSF
Bulk manifest triage across many APKs. Not a severity oracle.
apksigner, keytool
The signing-certificate digest for assetlinks.json (lab 03).
Every table in one place: fields, actions, categories, matching rules, am syntax with all extra types, flags, PendingIntent, App Links commands by version.
Where Intents sit among Android's IPC mechanisms. Read first if the word "IPC" is new.
Chapter 25 — Binder (being written)
The other half of the identity story. Binder's kernel driver stamps the caller's UID into the receiving thread, which is why Binder.getCallingUid() cannot be forged — and why an Intent, which carries no such stamp, is the source of most of this chapter's bugs. 25 owns the stamping; 26 owns the consequence of its absence.
Grant laundering's other half. This chapter owns the redirection primitive; 27 owns what a laundered content:// grant actually steals, and the provider-side rules that make it possible. §5.4 there is the direct continuation of §5.2 here.
The declaration audit.<intent-filter> as a static declaration, every attribute, the targetSdk export matrix, and scripts/manifest-audit.py. Run 32's auditor first, on the APK; this chapter starts where it ends, on the device.
The reflection sink. §5.6's row about Class.forName on a name from a URI is that chapter's whole subject: a class name in an extra or a query parameter becoming a constructed object.
The scheme-hijack attack, staged end to end against an OAuth redirect. This chapter explains the resolution mechanism that permits it (§3.4, §3.11); 45 does the attack and the severity chain.
The UID boundary that android:exported is checked against. Redirection is interesting precisely because it does not break this boundary — it borrows a principal on the far side of it.
Why framework method signatures survive R8 and your class names do not — the reason the check-cast Landroid/content/Intent; signature in §6.2 works on obfuscated apps.
Broadcast delivery policy, ordering, sticky broadcasts and receiver registration. Broadcast resolution is here because it is the same algorithm.
Chapter 30 — Activities
Tasks, the back stack, launchMode, and task hijacking. The task-related FLAG_ACTIVITY_* values are listed here for completeness; their stack semantics belong there.
Chapter 43 — WebView
The highest-value sink for attacker-controlled deep-link data.