- Home
- Skills
- Mobile Development
- AndroidManifest Audit: Security, Android 14 and Play Policy
AndroidManifest Audit: Security, Android 14 and Play Policy
This skill audits the AndroidManifest.xml (ideally the merged one, which includes what libraries add) together with build.gradle and the network security config.
$1
What it does
- Finds components missing android:exported, which break builds and installs on Android 12+
- Flags exported activities, services and ContentProviders that any app on the phone can call
- Catches Android 14 foreground-service types without their permission, and missing POST_NOTIFICATIONS for push
- Lists permissions that need a Google Play declaration (SMS, background location, QUERY_ALL_PACKAGES, photos
- Checks backups, cleartext traffic and user-trusted CAs in the network security config
- Gives the manifest snippet for each fix, which the agent applies to your source manifest
AndroidManifest Audit: Security, Android 14 and Play Policy
Example session with this skill installed
We're raising targetSdk to 35 for the Play deadline. Audit our merged manifest before we ship.
- Read your context and instructions
- Compiled the androidmanifest audit
AndroidManifest audit
com.tokomaju.kasir · targetSdk 34 · minSdk 24 · 9 permissions · 5 errors, 11 warnings, 4 notes
ERROR: android:debuggable="true" in the manifest
ERROR: Components with intent filters but no android:exported
<activity> com.tokomaju.kasir.ui.PromoActivity
ERROR: ContentProvider readable and writable by any app
com.tokomaju.kasir.data.ReportProvider
ERROR: Foreground service types without their permission
com.tokomaju.kasir.location.TrackingService: type location needs FOREGROUND_SERVICE_LOCATION
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
WARNING: Release builds trust user-installed CA certificates
WARNING: Push messages, but no POST_NOTIFICATIONS permission
WARNING: Restricted permission: READ_SMS
For OTP codes, use the SMS Retriever or SMS User Consent API and remove the permission.
...then the agent edits app/src/main/AndroidManifest.xml with the fixes and lists what still needs a Play Console declaration.
Connects securely to your tools. The creator never sees your data.
About this skill
Most Android release blockers live in one file. A missing android:exported stops the build once you target API 31+, a foreground-service type without its permission crashes on Android 14, READ_SMS gets an update rejected from Google Play, and an exported ContentProvider leaks data to every app on the phone.
This skill audits the AndroidManifest.xml (ideally the merged one, which includes what libraries add) together with build.gradle and the network security config. It reports errors (build failures, crashes, Play blocks, data exposure), warnings and notes, each with the component or permission involved and the manifest change that fixes it, including the usual replacement for permissions under Play policy (SMS Retriever for OTP, the photo picker, queries instead of QUERY_ALL_PACKAGES).
How it works
- Point the agent at your manifest (and optionally res/ and build.gradle.kts).
- It runs the bundled Python script (standard library only, offline).
- It fixes the source manifest and tells you what still needs a Play Console declaration.
It reads the manifest, not the code: it can't tell which services call startForeground(), or whether an exported activity validates its extras. Play policy changes over time; the messages describe it as of 2025-2026 and the required target API level is a parameter (--play-target), so confirm in Play Console. A source manifest misses what libraries add; use the merged manifest for the full picture.
A Python 3.8+ script using only the standard library parses AndroidManifest.xml (merged or source), reads targetSdk, minSdk and the package from build.gradle(.kts) when the manifest doesn't have them, and reads res/xml network security configs. The required Play target API level is a parameter (--play-target). Output is Markdown or JSON; the exit code is 1 when there are errors or warnings, so it can gate CI.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+
- Optional
- Android Gradle build (for the merged manifest)
Permissions
File Scopes
The bundled script uses only the Python standard library, makes no network calls and writes only to the terminal. The agent edits your manifest only when you ask for the fixes.
What's inside
Frequently Asked Questions
New in Mobile Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.