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.
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-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install android-intent-security in Claude Code
git clone --depth 1 https://github.com/android/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/security/android-intent-security ~/.gemini/antigravity-cli/skills/android-intent-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install android-intent-security in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
