android-intent-security

Audit AndroidManifest.xml and incoming Intent handling for security vulnerabilities.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/yash-garg/pi-config --skill android-intent-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-intent-security
Source: https://github.com/yash-garg/pi-config/tree/main/skills/android-intent-security
Command: npx skills add https://github.com/yash-garg/pi-config --skill android-intent-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps prevent Android component abuse, Intent Redirection, unauthorized access, and privilege escalation caused by insecure intent handling and exported components.

Core Features & Use Cases

  • Intent Security Auditing: Analyze AndroidManifest.xml components and source code handling incoming Intents to identify unsafe configurations.
  • Secure Component Patterns: Apply protections for Activities, Services, Broadcast Receivers, ContentProviders, and PendingIntents using validation, permissions, and sanitization.
  • Use Case: Review an Android application that receives external Intents and harden its components by adding proper export controls, signature verification, and safe intent processing logic.

Quick Start

Use the android-intent-security skill to audit my Android app's manifest and incoming intent handling code for security issues.

Frequently Asked Questions about android-intent-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit AndroidManifest.xml for insecure exported components?

To audit AndroidManifest.xml for insecure exported components, review Activities, Services, Broadcast Receivers, and ContentProviders to identify unsafe configurations and apply proper export controls and permission protections.

What is Intent Redirection and how do I prevent it with PendingIntent?

Intent Redirection is a privilege escalation vulnerability where attackers manipulate PendingIntent. Prevent it by applying secure PendingIntent configuration, IntentSanitizer usage, and strict intent validation patterns to block unauthorized access.

How do I secure incoming Intent processing in my Android app?

Secure incoming Intent processing by implementing signature verification, strict validation patterns, and component permission controls to prevent unauthorized access and component abuse from external sources.

What is the best way to protect ContentProviders from unauthorized access?

The best way to protect ContentProviders from unauthorized access is applying component permission controls, secure export configurations, and signature verification to prevent privilege escalation and unauthorized data exposure.

Does AndroidX IntentSanitizer work with all exported components?

AndroidX IntentSanitizer applies to securing incoming Intent processing across Activities, Services, Broadcast Receivers, and ContentProviders by validating intent data, though it should be paired with permission controls and manifest auditing.

Why does my Android app have component exposure vulnerabilities?

Android app component exposure vulnerabilities occur when exported components lack proper permission controls, intent validation, or signature verification, allowing unauthorized access and potential privilege escalation through insecure intent handling.