Security & Reverse Engineering

Android APK Security Review: From Build Flags to Runtime Evidence

An Android APK security review should establish what actually shipped, then identify which observations need runtime or backend testing. A source-code checklist alone can miss build-time changes; a package scan alone cannot establish how the whole service behaves.

By Updated 2 min read

Freeze the release identity

Record the APK hash, package identifier, version code, signing certificate and distribution channel. For split delivery, keep the base and relevant configuration or feature splits together. An isolated base APK may omit code and resources used on the tested device.

The review should be reproducible against that exact artifact, not an unspecified file called app-final.apk that gets overwritten later.

Review the release boundary

Inspect debug flags, exported components, permissions, cleartext rules and included SDKs. Compare each observation with an expected configuration approved by the feature owner.

Observation Next question
debuggable enabled Is this truly a release artifact?
Exported activity Is external entry intentional and protected?
Sensitive permission Which current feature requires it?
Embedded endpoint Is it production, test or unused configuration?
Additional SDK What data does this version collect?

A risk is contextual. A launcher activity needs an external entry point, while an internal account-management activity may not.

Trace one sensitive user flow

Choose a high-value flow such as login, purchase confirmation or exporting private data. Follow its local storage, network client, error handling and authorization boundaries. The Android security guidance and MASTG provide reference points, but the evidence must come from your implementation.

Do not assume a client-side check protects the backend. Server authorization must remain correct when client requests are unexpected or stale.

Verify remediation in a new artifact

After a fix, rebuild the intended variant and repeat the relevant checks. Confirm that the updated package is the one promoted to the correct track. A fixed source branch does not protect users still receiving the previous artifact.

Make the report actionable

Attach evidence, affected version, owner and retest condition to each issue. APKLint's Android security scanner can speed up initial package review, but it does not certify the app, verify every code path or guarantee Google Play acceptance. Preserve a separate list of untested areas rather than presenting them as passed.

Sources and further reading

  1. Android Developers: Security best practices
  2. OWASP: Mobile Application Security Testing Guide

Reference review: 22 September 2026. Examples illustrate the workflow; check your installed versions, release artifact and account-specific Console requirements before applying them. This guide is not a claim that APKLint executed your project or verified your private account.

APKLint

Android inspection tools and practical release guides. About APKLint · Report a correction