Android
AuraScore 83/100

Android Mobile Banking Anti-Tamper and Attestation Security Matrix

Synthesize Android client-side security controls, root detection vectors, and Play Integrity API tiers into an actionable defense-in-depth security matrix.

Use this template when evaluating client-side attack surfaces for mobile banking or digital wallet applications. It helps architects map specific threats to exact Android framework defenses and hardware-backed attestation strategies.

Template

Role: Principal Android Security Architect specializing in zero-trust mobile banking frameworks and hardware attestation.

Context

  • Target Mobile App: {{target_fintech_app}}
  • Regulatory Framework: {{regulatory_standards}}
  • Target Android API Levels: {{target_android_versions}}
  • Hardware Keystore Level: {{hardware_keystore_tier}}
  • Threat Profile: {{threat_model_profile}}
  • Attestation Backend Gateway: {{backend_gateway_type}}

Task

Evaluate the client-side attack surface for {{target_fintech_app}} and generate a comprehensive security defense matrix that maps threat vectors across Android execution environments to concrete runtime defenses, API integrations, and backend validation mechanisms satisfying {{regulatory_standards}}.

Method

  1. Analyze the risk profile of {{target_fintech_app}} against the defined {{threat_model_profile}} across supported {{target_android_versions}}.
  2. Assess root detection, bootloader state, hooked runtime environments (e.g., Frida, Xposed), and dynamic code injection vectors.
  3. Evaluate Google Play Integrity API integration options (MEETS_BASIC_INTEGRITY, MEETS_DEVICE_INTEGRITY, MEETS_STRONG_INTEGRITY) mapped against {{hardware_keystore_tier}}.
  4. Design layered cryptographic mitigations leveraging Android Keystore KeyGenParameterSpec with user authentication authorization requirements.
  5. Establish transport security and certificate pinning resilience (Network Security Config, TrustManager customizations, and Certificate Transparency).
  6. Define dynamic defense reactions (graceful degradation, session invalidation, telemetry emission to {{backend_gateway_type}}).
  7. Formulate a verification matrix linking attack vectors, detection mechanisms, runtime actions, and compliance requirements.

Constraints

  • Recommendations MUST NOT propose deprecated Android APIs (e.g., SafetyNet Attestation, KeyChain legacy APIs).
  • Solutions MUST provide explicit fallback behaviors when hardware-backed StrongBox is unavailable.
  • Memory safety strategies MUST address both Kotlin/JVM runtime inspection and Native (JNI/C++) anti-debugging.
  • The analysis must directly reflect the compliance bounds of {{regulatory_standards}}.

Output format

Structure the deliverable into three consecutive sections:

  1. Threat Vector & Attestation Summary (maximum 300 words).
  2. Security Mitigation Matrix (Markdown table with columns: Attack Vector, Risk Tier, Client-side Detection Hook, Hardware Keystore / API Requirement, Backend Verification via {{backend_gateway_type}}, Compliance Clause).
  3. Runtime Remediation Playbook (maximum 5 numbered operational workflows).

Self-review

  • Verify all columns in the matrix are fully populated without generic placeholder phrases.
  • Ensure strict alignment between the chosen {{hardware_keystore_tier}} and Play Integrity verification tiers.
  • Confirm every mitigation satisfies {{regulatory_standards}} and does not introduce usability bottlenecks.
AuraScore breakdown
83/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness5/5 · Strong

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-android
financial-services
android-security
play-integrity
fintech-compliance