Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

android-intent-security

Skill by android

Audits, detects, and remediates Android Intent and component security issues. It is for developers reviewing AndroidManifest.xml component settings and code that handles incoming Intents, with the goal of preventing Intent Redirection and unauthorized access.

  • Score 88
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install android-intent-security

Built from the published package, never by AI.

git clone --depth 1 https://github.com/android/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/security/android-intent-security ~/.claude/skills/android-intent-security

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install android-intent-security in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives guidance and code patterns for securing Android Activities, Services, Broadcast Receivers, and Content Providers. It covers safe handling of nested Intents, using AndroidX IntentSanitizer with an allowlist, manual validation of redirect targets, and choosing immutable or mutable PendingIntent flags. It also includes manifest examples for signature-level permissions and export settings for ContentProviders.

The skill is written for Android developers and for AI agents that review app code. It asks the agent to check exported components, protected broadcasts, and caller identity for trusted partner apps. It is scoped to local inter-component and inter-app communication on Android, and it does not cover network security, TLS, or web integration.

Written from the project's SKILL.md and checked against it.

What it can do

  • Nested Intent validationValidates nested Intents from incoming extras before launching them, using an allowlist or manual checks.
  • IntentSanitizer filteringBuilds a sanitized copy of an incoming Intent using sanitizeByThrowing or sanitizeByFiltering in AndroidX Core.
  • PendingIntent mutability reviewGuides use of FLAG_IMMUTABLE by default and explicit targets when a PendingIntent must be mutable.
  • ContentProvider export checksSets exported, read and write permissions, and grantUriPermissions settings for Content Providers.
  • Signature permission setupShows how to declare a custom signature-level permission and protect an exported activity with it.
  • Broadcast receiver protectionRelies on protected broadcasts for system events and restricts custom or dynamic receivers.
  • Service caller verificationChecks caller UID and signing certificate for exported services that talk to trusted partner apps.

What you need

  • AndroidX Core 1.9.0 or higher for IntentSanitizer
  • Android SDK minimum API level 23

Try asking

  • Audit my AndroidManifest.xml for exported activities and services without permissions
  • Check my code that reads getParcelableExtra for Intent redirection risks
  • Review my PendingIntent calls and suggest FLAG_IMMUTABLE where it fits

Good to know

  • Does not cover network security, TLS configuration, or host-to-server security
  • Does not cover general runtime permission request flows
  • Requires AndroidX Core 1.9.0 or higher for IntentSanitizer
  • Focuses on local inter-component and inter-app communication on Android

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: security/android-intent-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md23 KB

Alternatives to android-intent-security

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

android-intent-security: common questions

What does the Android Intent security skill check?

It audits AndroidManifest.xml component settings and source code that handles incoming Intents to prevent Intent Redirection and unauthorized access. It also covers PendingIntent flags and ContentProvider configuration.

Does this skill cover network or TLS security?

No. The source says it doesn't cover network security, web integration, host-to-server security, or TLS configuration.

What minimum Android version does it need?

The source says the minimum is API Level 23 (Android 6.0). IntentSanitizer requires AndroidX Core 1.9.0 or higher.

How do I install android-intent-security?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is android-intent-security free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is android-intent-security safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to android-intent-security?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

android-intent-security Install

Add to stack

Loading.