
Description
android-intent-security is an Android skill with best practices for securing app components and handling intents safely. It covers activities, services, broadcast receivers and content providers, and it aims to prevent privilege escalation and unauthorized access. Its glossary explains the terms it relies on: an intent is a message used to request an action from another component, and an exported component is one that other apps can launch. It also covers sticky broadcasts, which stay in the system cache for any app to read, and signature permissions, which are granted only to apps signed with the same key. It explains PendingIntent, a token given to another app that lets it run an intent with the creator's permissions, and mutable PendingIntents, whose contents the receiver can change. Intent redirection is the vulnerability in which an app takes an intent from an untrusted source and uses it to launch a private, non-exported component. The skill points to IntentSanitizer from AndroidX Core as a way to build a filtered copy of an incoming intent. Use the skill when auditing component configurations in AndroidManifest.xml, or when handling incoming intents in code. The skill is installed with npx skills add https://github.com/android/skills --skill android-intent-security.…
Highlights
- Secures activities, services and receivers
- Intent redirection guidance
- PendingIntent safety notes
- IntentSanitizer from AndroidX Core
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate android-intent-security.
People also visit
Android-Security-Teryaagh
Android security guides, roadmap, docs, courses, write-ups, and teryaagh
android-intent-security FAQ
What does android-intent-security cover?
Securing Android components and handling intents safely, to prevent privilege escalation and unauthorized access.
What is an exported component?
A component with android:exported set to true, which other apps can launch.
What is intent redirection?
An app takes an intent from an untrusted source and uses it to launch a private component that is not exported.
How can I filter an incoming intent?
The skill points to IntentSanitizer in AndroidX Core, which builds a sanitized copy.
When should I use it?
When auditing component configurations in AndroidManifest.xml or handling incoming intents in code.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best android-intent-security alternatives?
Popular alternatives to android-intent-security include android-pentesting-tricks, security-and-hardening and delego. See all android-intent-security alternatives












