Android Security

0•

Enforces robust Android security patterns for secret storage, hardware Keystore usage, IPC hardening, and backup data exclusion.

The Android Security skill guides developers in securing Android applications against silent data leaks and common architectural vulnerabilities. It provides strict implementation rules for generating non-exportable hardware Keystore keys, avoiding deprecated crypto wrappers like EncryptedSharedPreferences, configuring explicit auto-backup exclusion rules (dataExtractionRules and fullBackupContent), and hardening inter-process communication (IPC) through explicit intents and Binder UID validation. It also enforces realistic threat modeling by treating on-device integrity checks strictly as signals rather than authoritative controls.

主要功能

01Implements hardware-backed Android Keystore encryption for sensitive credentials
02Hardens IPC attack surfaces using explicit intents and safe PendingIntents
03Configures explicit auto-backup and device-to-device transfer exclusion rules
04Treats on-device root and integrity checks as signals rather than trusted controls
05Validates exported component callers via kernel-level Binder UID verification
060 GitHub stars

使用场景

01Configuring Android manifest backup rules to prevent data loss or restore crashes
02Securing authentication tokens and sensitive user credentials in local app storage
03Hardening exported components and pending intents against unauthorized access