Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Android Permissions Audit for Google Play Policy

    by Saizul Amin

    1

    Identify Play Store policy violations, hidden SDK permissions, and security leaks in Android manifests.

    $6

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Android Permissions Audit for Google Play Policy

    Android Permissions Audit for Google Play Policy

    Example session with this skill installed

    Run the Android Permissions Audit for Google Play Policy skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the android permissions audit

    Here is what the Android Permissions Audit for Google Play Policy skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/mobile-app-skills/tests/fixtures/android/bad/AndroidManifest.xml: package=com.example.pocketbudget targetSdk=34 permissions=10
    HIGH   [permission.restricted] ACCESS_BACKGROUND_LOCATION: background location needs a declaration, a video and a prominent disclosure
           -> remove it or prepare the Play declaration
    HIGH   [permission.restricted] QUERY_ALL_PACKAGES: package visibility: declare a core use or use <queries> instead
           -> remove it or prepare the Play declaration
    HIGH   [permission.restricted] READ_SMS: SMS and Call Log policy: only default SMS/phone/assistant handlers or approved exceptions
           -> remove it or prepare the Play declaration
    HIGH   [app.debuggable] application: android:debuggable="true"
           -> remove it; the build type sets it (Play rejects debuggable APKs)
    HIGH   [nsc.cleartext] base-config: cleartext HTTP permitted
           -> use HTTPS; limit to debug
    HIGH   [component.exported_missing] activity .ShareActivity: has an intent-filter but no android:exported (build fails on targetSdk 31+)
           -> set android:exported="true" or "false" explicitly
    HIGH   [component.exported] provider .data.ExpenseProvider: exported content provider without read/write permission
           -> set android:exported="false" or protect it with a signature permission
    MEDIUM [permission.legacy_storage] READ_EXTERNAL_STORAGE: legacy storage permission without maxSdkVersion (ignored on Android 13+)
           -> add android:maxSdkVersion="32" (or 28 for WRITE) and use READ_MEDIA_* / the photo picker
    MEDIUM [permission.legacy_storage] WRITE_EXTERNAL_STORAGE: legacy storage permission without maxSdkVersion (ignored on Android 13+)
           -> add android:maxSdkVersion="32" (or 28 for WRITE) and use READ_MEDIA_* / the photo picker
    MEDIUM [permission.fgs_type] FOREGROUND_SERVICE: targetSdk 34+ requires a FOREGROUND_SERVICE_<TYPE> permission per service type
           -> add foregroundServiceType on the service and the matching permission
    MEDIUM [app.cleartext] application: android:usesCleartextTraffic="true"
           -> use HTTPS; allow cleartext only for specific hosts in a debug network config
    MEDIUM [nsc.user_ca] base-config: trusts user-installed CAs (traffic interception)
           -> move <certificates src="user"/> into <debug-overrides>
    MEDIUM [component.exported] activity .admin.DebugMenuActivity: exported activity without android:permission: any app can start it
           -> set android:exported="false" or protect it with a signature permission
    MEDIUM [component.exported] service .sync.SyncService: exported service without android:permission: any app can start it
           -> set android:exported="false" or protect it with a signature permission
    LOW    [app.backup] application: backup enabled without rules: tokens and databases go to cloud backup
           -> set dataExtractionRules / fullBackupContent excluding secrets, or allowBackup="false"
    LOW    [permission.custom_weak] com.example.pocketbudget.permission.SYNC: custom permission protectionLevel=normal
           -> use protectionLevel="signature" for app-to-app permissions
    LOW    [component.exported] receiver .BootReceiver: exported receiver for system broadcasts: check the action before acting
           -> set android:exported="false" or protect it with a signature permission
    INFO   [permission.dangerous] ACCESS_FINE_LOCATION: runtime permission for precise location
           -> request it in context, explain why, handle denial
    INFO   [permission.dangerous] CAMERA: runtime permission for camera
           -> request it in context, explain why, handle denial
    INFO   [permission.dangerous] READ_CONTACTS: runtime permission for contacts
           -> request it in context, explain why, handle denial
    INFO   [permission.dangerous] READ_EXTERNAL_STORAGE: runtime permission for shared storage
           -> request it in context, explain why, handle denial
    INFO   [permission.dangerous] WRITE_EXTERNAL_STORAGE: runtime permission for shared storage
           -> request it in context, explain why, handle denial
    INFO   [nsc.cleartext] domain-config 10.0.2.2: cleartext HTTP permitted
           -> use HTTPS; limit to debug
    
    23 finding(s)
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Audit your Android manifest for security vulnerabilities, Play Store policy violations, and unnecessary permissions. This tool scans source or merged manifests to catch hidden permissions injected by third-party SDKs that often lead to app rejections.

    What it does

    • Policy Compliance identifies restricted permissions like SMS, Call Logs, and Background Location that require Play Console declarations.
    • Security Auditing flags exported activities, services, and providers missing proper permissions or android:exported tags.
    • Unused Permission Detection cross-references the manifest against source code (Kotlin, Java, Dart, JS) to find and remove redundant requests.
    • Network Safety reviews cleartext traffic settings, user-added CAs, and backup rules to prevent data leaks.
    • Merged Manifest Analysis traces exactly which library or plugin silently added a specific permission to your final build.

    How it works

    1. Manifest Location points the tool to your source manifest or generates a merged release manifest using Gradle to see the final output.
    2. Deterministic Scan runs the audit script against the manifest, optionally including source and resource paths for usage verification.
    3. Risk Triage categorizes findings into High, Medium, and Low severity based on security impact and Play Store rejection risk.
    4. Resolution provides specific XML snippets, such as tools:node="remove", to strip unwanted permissions or harden component configurations.

    Frameworks & tools

    Works with native Android (Kotlin/Java), Flutter, and React Native. Requires Python 3.8 and integrates with standard Android SDK command-line tools like apkanalyzer.

    Why this beats prompting it yourself

    Generic LLM prompts often miss permissions added silently by deep-nested dependencies in the merged manifest. This skill uses a deterministic script to ensure every technical requirement of the latest targetSdk is met without hallucinating permission names.

    Use cases

    • Fix a "Permissions declaration form" rejection from Google Play.
    • Identify which SDK is adding READ_PHONE_STATE to your production build.
    • Prepare accurate documentation for the Play Store Data Safety section.
    • Harden an app before a security audit by closing exported component leaks.

    Known limitations

    Does not audit iOS Info.plist files or handle runtime permission logic in code. Requires an uncompiled XML manifest; binary APKs must be decoded first.


    Open source: saizul/mobile-app-skills on GitHub (MIT licence, by Saizul Amin).

    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.

    Requires Python 3.8. Only audits XML manifests; binary APKs must be decoded with apkanalyzer first. Does not handle iOS or runtime code logic.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.

    Frequently Asked Questions

    The skill identifies restricted permissions like SMS or Background Location that trigger Play Store rejections and uses merged manifest analysis to find exactly which third-party SDK silently injected them.

    It is fully compatible with Native Android (Kotlin/Java), Flutter, and React Native projects, provided you have a Python 3.8+ environment and the Android SDK command-line tools installed.

    Unlike a general prompt, this skill uses a deterministic script to trace nested dependencies in the merged manifest, ensuring no 'ghost' permissions are missed and preventing the hallucination of non-existent API tags.

    You receive the audit engine, a suite of deterministic scanning scripts, and a library of resolution snippets (like XML removal nodes) to fix identified security leaks.

    The tool requires an uncompiled XML manifest; if you only have a production APK, you must first decode it using a tool like Apktool before the skill can perform its audit.

    Yes, the skill is updated to reflect the latest targetSdk requirements and Play Store Data Safety policies, ensuring your app stays compliant with evolving Google Play standards.

    New in Mobile Development