adb_permission_audit
Audit Android app permissions to identify over-provisioned dangerous grants grouped by category, such as Camera and Location.
Instructions
Audit runtime permission grants for a package. Lists all granted dangerous permissions grouped by category (Camera, Location, Phone, SMS, etc.) and flags potentially over-provisioned permissions. Compares grants against the dangerous permission manifest to identify unnecessary access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Package name to audit (e.g., 'com.example.app'). AZ7 fix: enforces Java-identifier shape so injection attempts are rejected at the schema layer before reaching validateShellArg. | |
| device | No | Device serial |