Skip to content
Platforms / 01APK and AABAndroid security audits

Android.

What your build
gives away.

Your APK carries code, resources, native libraries and the instructions for reaching your backend. We inspect what a copy reveals, verify the exposure, and show you what to change.

Get a free first look Explore the build
Exploded Android-style phone with its display, circuit board and shell separated into layers.
Build / APK and AABIllustrated, layer by layer
  • APK
  • AAB
  • classes.dex
  • AndroidManifest.xml
  • lib/*.so
  • assets/

01 / Inside the build

A package.
Many ways in.

Select a layer to see what it contains and which tools can read it.

Inside the package

APK / AAB container (incl. META-INF/)

An APK is a ZIP archive holding all of the app's code and resources. Apps are uploaded to Google Play as an Android App Bundle (.aab), from which Play generates and signs device-specific APKs. META-INF/ holds the signature files (CERT.SF, CERT.RSA) and MANIFEST.MF.

Reads as source

Fully open. Any APK unzips with a standard ZIP tool, and Google's bundletool turns an .aab into installable APKs for analysis.

Indicative readability. Build settings, obfuscation and access to a running device change the effort.

Tools that can read these layers

jadx · Apktool · Frida · objection · Ghidra · blutter / reFlutter · hermes-dec · Apkleaks / MobSF

02 / The method

One build.
Six ways to inspect it.

Agents inspect the package, trace its behaviour and collect evidence through six stages. An engineer verifies each finding before it enters your report.

Unpack.

Opens the build and lists every file, format and layer.

Tools used in this stage
  • inspect_artifact
  • extract_artifact
  • inspect_apktool_client
Illustrative run log
  1. unpack
    extract_artifact app-release.aab

    3 dex files, 2 native libraries, 412 resources

  2. map
    inspect_android_package

    14 activities, 3 exported, 2 deep-link schemes

  3. map
    identify_flutter_build

    not Flutter; a React Native bundle in assets/

  4. read
    recover_javascript_sources index.android.bundle

    1,284 modules, original names kept

  5. hunt
    search_strings "AIza|sk-|AKIA"

    1 billable key, 1 Firebase config

  6. run
    instrument_with_frida com.example.notes

    Pro flag read from local storage

  7. hunt
    trace_android_references isPro()

    checked only on the phone

  8. prove
    export_evidence_bundle

    6 findings, ranked, sent to the engineer

8 / 8 eventsEngineer review follows ↗

A written example of the report format. Replay is condensed; the real time budget is agreed before a run and printed on the report.

03 / Exposure areas

What can
escape the build.

The places we look on Android, the business risk behind them, and the changes that reduce exposure.

Readability alone is not a vulnerability. Impact depends on what the recovered material lets someone do.

01

Hardcoded API keys and cloud credentials

Keys for cloud storage, payment, push, maps or AI providers get compiled into DEX code, strings.xml, BuildConfig or a JS bundle. Anyone who downloads the app can pull them out with jadx or a regex scanner and use them as if they were the developer.

The fix

Rotate the exposed keys, move privileged calls behind your own backend, and give the app only short-lived, per-user tokens.

MASVS-CRYPTO-2CWE-798CWE-321

02

Open Firebase or cloud backend found in app

The app's config reveals its Firebase Realtime Database, Firestore or storage bucket, and the security rules allow unauthenticated reads or writes. An attacker who reads the config can then download or overwrite user data directly, without going through the app.

The fix

Lock the rules so each record needs an authenticated user and an ownership check, then test them with the rules simulator and an unauthenticated client.

CWE-306

03

Premium open decided on the device

The app checks a local flag, a cached receipt or a boolean method to decide whether the user has paid. Patching that one check, or hooking it with Frida, opens paid features for free.

The fix

Send the purchaseToken to your backend, verify it with the Google Play Developer API, and serve paid content only from the server.

CWE-602

04

Exported components reachable by any app

Activities, services, receivers or content providers marked exported (or left to unclear defaults) can be launched by any other app on the phone. That can leak data, trigger internal admin actions or, in the worst cases, run code inside the app.

The fix

Set android:exported explicitly on every component, keep internal ones false, and protect the rest with permissions and input checks.

MASVS-PLATFORM-1CWE-926

05

Deep links that steer a privileged WebView

A deep link handler forwards an attacker-supplied URL into a WebView that has a JavaScript bridge to native code. A single malicious link can then call app functions with the user's session.

The fix

Allowlist the hosts a WebView may load, don't attach JavaScript interfaces to WebViews that load untrusted content, and strip token-returning methods from bridges.

MASVS-PLATFORM-2CWE-749

06

Trusting file names sent by other apps

When the app receives a shared file, it saves it under the name the sender chose. A crafted name with ../ can overwrite the app's own files, such as settings or code caches.

The fix

Ignore the sender's file name, generate your own random name, and check the canonical path stays inside your cache directory.

MASVS-CODE-4CWE-22

07

TLS certificate checks switched off

A custom X509TrustManager or hostname verifier that accepts every certificate, often left over from testing, lets anyone on the same network read and change the app's traffic.

The fix

Delete custom trust managers and use Network Security Configuration, with debug-only overrides for test certificates.

MASVS-NETWORK-1CWE-295

08

Debug flags and verbose logs in release

A shipped build with android:debuggable=true, or with Log calls that print tokens and personal data, hands attackers an easy way in. Debuggable apps can be attached to and inspected, and logs can leak to other apps on some devices.

The fix

Make sure release builds set debuggable=false, and have R8 strip verbose and debug logging.

MASVS-STORAGE-2CWE-532CWE-489

09

Repackaged clones carrying malware

Because an APK can be decoded, modified and re-signed, attackers ship lookalike versions of real or open-source apps with spyware added. These clones have reached Google Play and other official stores.

The fix

Check signatures at runtime and verify app integrity on the server (for example with Play Integrity), and watch the stores for clones of your brand.

MASVS-RESILIENCE-2MASVS-RESILIENCE-3

04 / Sample findings

From recovered evidence
to a fix you can check.

Explore three illustrative Android reports. Switch to the re-test to see what the next build changes.

01 / 03

Illustrative example · Meditation subscription app (React Native)

A paywall decided on the phone.

Premium access is decided entirely in the JavaScript bundle by reading a cached 'isPremium' value from local storage, with no server check before premium audio is streamed. Flipping that value or hooking the function opens every paid course without a purchase.

Evidence comes first

The full teardown records the recovered artifact, its business impact and a fix for your stack.

Recovered artifactEXAMPLE / 01
// hermes-dec output, assets/index.android.bundle
function hasAccess(courseId) {
  const ent = AsyncStorage.getItem('entitlements_v2'); // {"isPremium":false}
  return ent.isPremium === true || FREE_COURSES.includes(courseId);
}
const AUDIO_CDN = 'https://media.example-cdn.net/courses/'; // no signed URL

These fictional examples show the report format. All names, hostnames and credentials are made up. They do not describe real customer work.

05 / On the record

The risk
has a history.

These reports show what other researchers found in released software. Each links to the original source.

  1. 2022

    A deep-link chain in TikTok’s Android app

    Microsoft documented a chain involving deep links and a WebView bridge that could allow account takeover. TikTok fixed the issue; Microsoft reported no evidence of exploitation in the wild.

    Microsoft Security Blog (31 Aug 2022) (opens in a new tab)
  2. 2021

    Cloud configuration and credentials exposed by Android apps

    Check Point Research examined 23 Android apps and found misconfigured cloud services, including exposed databases and cloud-storage credentials embedded in app files.

    Check Point Research (20 May 2021) (opens in a new tab)

Before the review

Android
audit questions.

Compare pricing and scope, or read how we verify findings.

What does an Android security teardown inspect?

Your APK carries code, resources, native libraries and the instructions for reaching your backend. We inspect what a copy reveals, verify the exposure, and show you what to change. An engineer verifies the findings, explains their business impact and writes fixes for your stack.

Does compiling an APK hide API keys and app logic?

Not reliably. An APK includes code, resources and native libraries that can be inspected. A review distinguishes readable material from consequential exposure, such as a credential that permits paid API use or a client-side check that controls a paid feature.

What does an Android teardown report include?

The paid teardown includes recovered evidence, findings ranked by business impact and a fix written for your stack. Audit and re-test adds a same-budget check of the updated build and a dated statement. The free first look reports counts and excludes recovered code and credential values.

Page updated . Samples are illustrative; public research is attributed above.

Your build. Your evidence.

See what
yours gives away.

Start with counts of exposed keys, files and readable logic. A full teardown adds verified evidence, business impact and a fix written for your stack.

Only software you own or are authorised to submit. No code or credential values in the free counts-only result.