android-security-skill

Provide Android security guidance from official AOSP and Android Developers documentation.

5|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/krshmbb/android-security-skill --skill android-security-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-security-skill
Source: https://github.com/krshmbb/android-security-skill/tree/main
Command: npx skills add https://github.com/krshmbb/android-security-skill --skill android-security-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves gaps in Android application security knowledge by translating official guidance into actionable best practices, so you can prevent common vulnerabilities in real app development work.

Core Features & Use Cases

  • Communication security guidance: Helps you harden HTTPS/TLS usage, Network Security Config, WebView handling, and safer IPC patterns.
  • Sensitive data protection: Guides secure storage choices for internal/external storage, SharedPreferences, logging, and content provider access.
  • Secure component and permission design: Covers android:exported controls, service/receiver/activity hardening, and minimizing or replacing dangerous permissions.
  • Authentication and credential safety: Supports Credential Manager, passkeys, biometrics, and safe credential handling patterns.
  • Cryptography and key management: Provides practical, Android Keystore-oriented crypto practices, plus API-key handling and recommended algorithm usage.
  • AI/LLM security risk coverage: Addresses prompt injection, sensitive disclosure, and excessive agency mitigations when apps use LLM features.

Quick Start

Use the android-security-skill skill to review how to securely implement a feature by asking: “Help me review my Android app’s authentication, data storage, and exported component settings against official Android security guidance.”

Frequently Asked Questions about android-security-skill

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

FAQPage Schema
How do I secure exported Android components and manage permissions safely?

Secure exported Android components by hardening `android:exported` controls and minimizing dangerous permissions. Implementation guidance involves safe API usage and validation requirements sourced directly from official Android Developers documentation to prevent component exposure vulnerabilities.

What are the best practices for Android cryptography and key management?

Best practices for Android cryptography involve using Android Keystore-oriented crypto practices and recommended algorithms. It provides official documentation-backed recommendations for API-key handling and secure key management without adding non-official assumptions.

How do I protect sensitive data in Android apps using internal storage and SharedPreferences?

Protect sensitive data in Android apps by following official guidance for secure storage choices involving internal and external storage. It translates official Android documentation into actionable best practices for SharedPreferences, logging, and content provider access.

How to harden HTTPS and TLS configuration for Android network security?

Harden HTTPS and TLS configuration for Android communication security by applying Network Security Config and safer IPC patterns. It offers actionable best practices for WebView handling and secure defaults sourced from AOSP and Android Developers documentation.

Can I use this to review my app's authentication patterns with Credential Manager and passkeys?

Yes, you can review app authentication patterns with Credential Manager, passkeys, and biometrics. It supports safe credential handling patterns by providing documentation-backed recommendations for authentication and credential safety.

How do I mitigate LLM prompt injection and sensitive disclosure risks in Android apps?

Mitigate LLM prompt injection and sensitive disclosure risks in Android apps by applying AI security guidance. It addresses excessive agency mitigations and provides best-practice guidance for secure defaults when apps use LLM features.