Android manifest and build-settings review — exported activities/services/receivers/providers, debuggable, allowBackup, minSdk/targetSdk, network-security-config, custom permission protectionLevel, and FileProvider paths. Tier 1. The root of most Android findings; run right after decompiling. Aligns to OWASP MASTG / MASVS-CODE/PLATFORM.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Android Manifest Analysis?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-android-manifest-analysis)
---
name: android-manifest-analysis
description: Android manifest and build-settings review — exported activities/services/receivers/providers, debuggable, allowBackup, minSdk/targetSdk, network-security-config, custom permission protectionLevel, and FileProvider paths. Tier 1. The root of most Android findings; run right after decompiling. Aligns to OWASP MASTG / MASVS-CODE/PLATFORM.
---
# Android Manifest & Build-Settings Review
Read `AndroidManifest.xml` and build flags; nearly every Android finding is rooted in a manifest misconfiguration. Triage here, then hand each issue to the specialized skill.
## Trigger phrases
`androidmanifest, manifest review, exported component, debuggable, allowbackup, minsdk, targetsdk, network security config, protectionlevel, fileprovider, aapt badging`
## Method
1. **Dump the manifest & build info:**
- `aapt dump badging app.apk` — package, perms, `minSdk`/`targetSdk`, debuggable flag.
- `aapt dump xmltree app.apk AndroidManifest.xml` — full tree.
- `adb shell dumpsys package <package> | grep -i exported` — runtime view of exported components.
2. **Flag each issue (route to its skill):**
- `android:debuggable="true"` → debuggable production build; `run-as`/jdb on stock device → `android-insecure-storage`.
- `android:allowBackup` not explicitly `"false"` → `android-backup-extraction`.
- `android:networkSecurityConfig` → open `res/xml/*.xml`: `cleartextTrafficPermitted`, user-CA trust, pin sets → `android-network-cleartext-tls`.
- Low `minSdkVersion` → legacy platform CVEs (Janus → `android-apk-signing-integrity-janus`; task hijack → `android-task-hijacking-overlay`).
- Exported `activity`/`service`/`receiver`/`provider` (`android:exported="true"`, or an intent-filter present and not opted out on API 31+) → `android-exported-components` / `android-content-provider-exploitation`.
- Custom permissions with weak `protectionLevel` (`normal`/`dangerous` instead of `signature`) → `android-pendingintent-abuse`.
- `FileProvider` config in `res/xml/` → path exposure / `grantUriPermission` abuse → `android-intent-injection-redirection`.
- Deep-link `intent-filter` (`<data scheme/host>` + `BROWSABLE`) → `android-deeplink-applink-abuse`.
## Modern / rare techniques
- **API 31+ exported default change:** components with an intent-filter must set `exported` explicitly; apps migrating carelessly flip-flop — verify runtime state via `dumpsys`, don't trust the static attribute alone.
- **Implicit exported providers** on old `targetSdk` (<17) are exported by default even without the attribute — check `minSdk`/`targetSdk` before assuming a provider is private.
## Escalation / chaining
This is the triage hub — every flagged item chains to its dedicated Android skill. A single `minSdk`+exported+no-backup-restriction combo often stacks into several findings.
## Backend & tooling
Preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Needs the user's device/emulator (adb) + Kali tooling (aapt/apktool/jadx). Windows-local last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Confirm each flagged attribute against the *runtime* view (`dumpsys package`) and the decoded manifest — targetSdk defaults and vendor build tweaks change effective behavior. Only report a component as exported after confirming it is reachable.
## Evidence
The offending manifest lines / NSC XML, the effective exported/debuggable/backup state, and the resulting attack. Remediation: explicit `exported`, `allowBackup=false`, `debuggable=false`, strict NSC, `signature` custom perms, raise `minSdk`.