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
- 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.
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.
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.
classes.dex (and classes2.dex, ...)
The app's Java/Kotlin code compiled to Dalvik bytecode (DEX) for the ART runtime: business logic, API calls, feature flags, purchase checks, string constants.
Very readable. jadx decompiles DEX back to near-source Java and Apktool disassembles it to smali. R8/ProGuard renames classes and methods, but string literals, URLs and keys stay in clear text.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
AndroidManifest.xml
The package name, permissions, SDK levels, and every activity, service, broadcast receiver and content provider, including which are exported to other apps, which deep links they handle, and flags like android:debuggable.
Stored as binary XML, but Apktool and jadx decode it to plain text in seconds. It is the attacker's map of every entry point.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
resources.arsc and res/
App resources such as UI text, images and XML layouts, plus the compiled resource table used to look them up.
Readable. Apktool and jadx decode resources back to XML, and simple string search finds API keys, Firebase URLs and bucket names.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
lib/<abi>/*.so (native libraries)
C/C++ code compiled per processor type (arm64-v8a, armeabi-v7a, x86_64,...): crypto, licence checks, game engines, anti-tamper code, third-party SDKs.
Harder but not hidden. These are ELF machine-code files that disassemble and decompile to pseudo-C in Ghidra or radare2, and exported symbol names and strings are often left in.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
assets/index.android.bundle (React Native)
The whole JavaScript app logic of a React Native app. React Native uses the Hermes engine by default, which compiles the JavaScript to Hermes bytecode (.hbc) at build time.
Readable. Plain JS bundles are just minified text, and hermes-dec decompiles or disassembles Hermes bytecode in index.android.bundle back to a legible form.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
lib/<abi>/libapp.so (Flutter)
The Dart code of a Flutter app compiled to an AOT (ahead-of-time) snapshot. It ships next to libflutter.so, the engine.
The hardest of the common formats to read, but still recoverable. OWASP notes the unusual registers and calling conventions and the undocumented snapshot format. blutter parses libapp.so statically to recover Dart objects and function names, and reFlutter patches the engine for dynamic analysis. Flutter's own docs say obfuscation 'does not encrypt resources nor does it protect against reverse engineering'.
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
Map.
Finds the entry points, permissions, servers and what talks to what.
Tools used in this stage
- inspect_android_package
- decode_android_resources
- project_android_application_graph
- identify_flutter_build
Read.
Reads code and maps recoverable names, logic and sources.
Tools used in this stage
- search_android_classes
- inspect_android_class
- inspect_android_method
- recover_javascript_sources
- inspect_dart_aot
Hunt.
Searches for keys, endpoints, checks and content, and ranks them by cost.
Tools used in this stage
- search_strings
- trace_android_references
- trace_application_feature
Run.
Launches the build and watches it, to confirm what the reading suggests.
Tools used in this stage
- install_adb_package
- start_adb_app
- instrument_with_frida
- read_adb_logcat
- inspect_sqlite_database
Prove.
Packs the evidence for the engineer's check and the re-test.
Tools used in this stage
- build_reconstruction_obligation_ledger
- export_evidence_bundle
- unpack
extract_artifact app-release.aab3 dex files, 2 native libraries, 412 resources
- map
inspect_android_package14 activities, 3 exported, 2 deep-link schemes
- map
identify_flutter_buildnot Flutter; a React Native bundle in assets/
- read
recover_javascript_sources index.android.bundle1,284 modules, original names kept
- hunt
search_strings "AIza|sk-|AKIA"1 billable key, 1 Firebase config
- run
instrument_with_frida com.example.notesPro flag read from local storage
- hunt
trace_android_references isPro()checked only on the phone
- prove
export_evidence_bundle6 findings, ranked, sent to the engineer
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.
01Hardcoded 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.
Rotate the exposed keys, move privileged calls behind your own backend, and give the app only short-lived, per-user tokens.
02Open 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.
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.
03Premium 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.
Send the purchaseToken to your backend, verify it with the Google Play Developer API, and serve paid content only from the server.
04Exported 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.
Set android:exported explicitly on every component, keep internal ones false, and protect the rest with permissions and input checks.
05Deep 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.
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.
06Trusting 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.
Ignore the sender's file name, generate your own random name, and check the canonical path stays inside your cache directory.
07TLS 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.
Delete custom trust managers and use Network Security Configuration, with debug-only overrides for test certificates.
08Debug 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.
Make sure release builds set debuggable=false, and have R8 strip verbose and debug logging.
09Repackaged 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.
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.
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.
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.
The full teardown records the recovered artifact, its business impact and a fix for your stack.
// 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 URLThese 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.
- 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) - 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)
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.