OWASP Mobile Top 10 and MASVS in Practice (Android)
The OWASP Mobile Top 10 and the MASVS (Mobile Application Security Verification Standard) are the two reference frameworks most Android security work gets measured against. They are useful, and they are also abstract: a category like "Insecure Communication" does not tell you what to click. This post maps both frameworks to what you actually do when you test an APK, which items a scanner can decide statically, which genuinely need the app running, and which are judgement calls no tool should pretend to settle. We go category by category, we are specific about what signal each one keys on, and we are explicit about where automated analysis helps and where it does not. If a vendor tells you their scanner "covers the OWASP Mobile Top 10," this post is the set of questions that will tell you whether that is true.
The two frameworks, and why you need both
The OWASP Mobile Top 10 (2024) is a risk list, the ten classes of weakness that most often hurt mobile apps, in rough order of prevalence and impact. The current entries are M1 Improper Credential Usage, M2 Inadequate Supply Chain Security, M3 Insecure Authentication/Authorization, M4 Insufficient Input/Output Validation, M5 Insecure Communication, M6 Inadequate Privacy Controls, M7 Insufficient Binary Protections, M8 Security Misconfiguration, M9 Insecure Data Storage, and M10 Insufficient Cryptography. It is a prioritization tool: it tells you what tends to go wrong so you spend your attention well.
The MASVS is a verification standard, not a risk list. It is organized by control group, MASVS-STORAGE, MASVS-CRYPTO, MASVS-AUTH, MASVS-NETWORK, MASVS-PLATFORM, MASVS-CODE, MASVS-RESILIENCE, and MASVS-PRIVACY, and each control states a property the app should hold. The companion MASTG (Mobile Application Security Testing Guide) describes how to verify each control, usually by a combination of reading the code and observing the running app. The Top 10 tells you what to worry about; the MASVS tells you what to verify; the MASTG tells you how. A real engagement uses all three: triage with the Top 10, verify against the MASVS controls, follow the MASTG procedures.
The practical problem is that these documents describe properties, and properties come in three flavors with very different automation stories. Some are decidable by reading the bytecode. Some are only answerable by running the app. And some are risk judgements that depend on context no tool has. Confusing the three is how people end up trusting a green checkmark they cannot defend. So here is the map.
The map, at a glance
| OWASP (2024) | MASVS group | Decidability | What Rutken produces |
|---|---|---|---|
| M1 Improper Credential Usage | CODE / AUTH | Mostly static | Cited finding: android-hardcoded-secret at the exact class and line |
| M2 Inadequate Supply Chain Security | CODE | Static (binary) | Identified library versions + known CVEs via structural SCA and an OSV cross-check |
| M3 Insecure Auth / Authorization | AUTH | Mostly runtime / judgement | Evidence: the auth-relevant calls and flows, confirmed at runtime; not a verdict |
| M4 Insufficient Input/Output Validation | CODE / PLATFORM | Runtime / judgement | Evidence: reachable sinks and taint paths; exercised at runtime |
| M5 Insecure Communication | NETWORK | Static detect + runtime confirm | Static: cleartext config, TLS stack. Runtime: real captured HTTPS, per host |
| M6 Inadequate Privacy Controls | PRIVACY | Judgement | Evidence only: what data flows where; the consent decision is yours |
| M7 Insufficient Binary Protections | RESILIENCE | Partly static + judgement | Evidence: obfuscation present or not, anti-tamper present or not; sufficiency is yours |
| M8 Security Misconfiguration | PLATFORM | Static | Cited findings: android-debuggable, exported components, cleartext permitted |
| M9 Insecure Data Storage | STORAGE | Static hint + runtime confirm | Static: storage calls. Runtime: what is actually written, and whether encrypted |
| M10 Insufficient Cryptography | CRYPTO | Static | Cited findings: weak-crypto-algorithm, hardcoded-crypto-key, static-initialization-vector, insecure-random-for-crypto |
The categories static analysis decides well
Four of the ten are, at heart, "is this bad pattern present in the code," and that is exactly what static analysis is for. For these, a good scanner gives you a cited conclusion, the algorithm, the method, the line, not a hunch.
M10 Insufficient Cryptography (MASVS-CRYPTO). This is the cleanest static category. The bad patterns are concrete code shapes: a Cipher.getInstance("DES/ECB/PKCS5Padding") (weak algorithm and ECB mode), a SecretKeySpec built from a constant byte array (hardcoded key), an IvParameterSpec built from a static array (fixed IV, which defeats the whole point of a CBC IV), a new Random() used where a SecureRandom is required. Rutken emits these as weak-crypto-algorithm, hardcoded-crypto-key, static-initialization-vector, and insecure-random-for-crypto, each pinned to the exact construction site. The one subtlety is false positives: a SecureRandom subclass of Random, or an RSA/ECB placeholder that is really a JCE transformation string, both look superficially weak and are not. We tuned those out specifically, because a crypto finding you cannot trust is worse than none.
M1 Improper Credential Usage (MASVS-CODE/AUTH, static half). Hardcoded API keys, tokens, and secrets baked into the binary are a code-pattern finding: Rutken reports them as android-hardcoded-secret with the string and its location. What static analysis cannot decide is whether a given credential is used improperly in the authorization sense, that part is M3 and needs context, but "there is a long-lived secret sitting in the APK" is decidable and worth knowing.
M2 Inadequate Supply Chain Security (MASVS-CODE). This one surprises people because there is no build manifest in an APK, just shrunk, renamed bytecode. The answer is structural software composition analysis: identify each bundled third-party library and its version by the shape of its classes (method descriptors, call relationships) rather than by names that R8 stripped, then cross-check those versions against OSV for known CVEs. That is a static, binary-only result: "this APK contains version X of library Y, which has advisory Z." It is the core of a mobile SBOM built from the app you only have the binary for.
M8 Security Misconfiguration (MASVS-PLATFORM). The manifest and the platform-API usage carry most of this: an android:debuggable="true" flag in a release build (android-debuggable), components exported without protection (including dynamically registered receivers, which the manifest does not even show, caught as dynamic-receiver-registered-exported), a network security config that permits cleartext, an over-broad allowBackup. These are all readable from the manifest and the code, statically, with citations.
The categories that need the app running
M5 Insecure Communication (MASVS-NETWORK) is the clearest runtime case, and the one where a static-only tool quietly misleads you. You can see a TLS stack, an OkHttp client, and a CertificatePinner in the code, but whether the app actually talks cleartext to some analytics host, actually enforces its pin, or actually leaks a token to a third party, is a question about behavior, not code. The static pass flags the cleartext-permitted configuration and maps the network sinks; the runtime pass attaches to the app (on a device you are authorized to test), defeats pinning where necessary, and reads the real traffic per host, then ties each destination back to the code that produced it. A finding that is both predicted statically and observed at runtime is the strongest kind you can hand a developer.
M9 Insecure Data Storage (MASVS-STORAGE) is a static hint plus a runtime confirmation. Statically you can see the storage calls, SharedPreferences, a database open, a file write, and whether an encryption API is in the path. But whether sensitive data actually lands on disk, and whether it is actually encrypted in practice (versus an encryption call that is present but bypassed), is best confirmed by watching the app write. The static pass narrows where to look; the runtime pass settles it.
M4 Insufficient Input/Output Validation (MASVS-CODE/PLATFORM) and the technical half of M3 Insecure Authentication/Authorization (MASVS-AUTH) are mostly runtime or judgement. Static analysis contributes the map, the reachable sinks and the taint paths from untrusted input, but confirming that a validation gap is exploitable usually means exercising the app against real inputs. Rutken gives you the reachability (which input can reach which sink in how many hops) so you know where to push; it does not claim to have pushed for you.
The categories no tool should pretend to settle
Two categories are judgement, and a tool that claims to "check" them automatically is selling you a false sense of coverage.
M6 Inadequate Privacy Controls (MASVS-PRIVACY). Privacy is not a code pattern; it is a question of whether the data an app collects is appropriate for its purpose and whether the user consented. A scanner can tell you that device identifiers and location flow to a particular host, that is real, useful evidence, but it cannot tell you whether that collection is inadequate, because "adequate" depends on what the app is for, what it disclosed, and what consent it obtained. Rutken surfaces the data flows; the privacy judgement is a human's.
M7 Insufficient Binary Protections (MASVS-RESILIENCE). Part of this is measurable: is the code obfuscated, are there anti-tamper or anti-debug checks, is there root detection. Rutken can report the presence or absence of those. But "insufficient" is a risk decision about the asset being protected, a banking app and a flashlight app have very different resilience requirements, and no tool should convert that risk decision into a checkmark. We give you the evidence (this binary has no anti-tamper; this data is reachable) and leave the acceptance to the owner of the risk.
How this follows the MASTG model
The MASTG's whole approach is to verify a control two ways, by reading the code (static analysis) and by observing the running app (dynamic analysis), and to treat a control as verified only when both agree. That is exactly the shape of a SAST-plus-DAST pipeline. The static pass produces a cited hypothesis ("this method uses DES", "this host receives a device identifier"); the dynamic pass confirms or refutes it against real behavior. When the two correlate, you have a verification you can defend in a report, not just a scanner hit. When they disagree, that disagreement is itself a finding, a hook that fires but changes nothing, or a static sink that never actually executes, tells you something real about the app.
How Rutken lines up, without the marketing
Rutken is built as one SAST-plus-DAST pipeline, which is the shape these frameworks actually want. The static pass covers the code-pattern categories, M1 credentials, M2 supply chain, M8 misconfiguration, M10 cryptography, with cited findings you can act on. The dynamic pass covers the runtime categories, M5 communication and much of M9 storage, with real captured behavior correlated back to the static finding. For the judgement categories, M6 privacy and M7 binary protections, it gives you the evidence rather than a verdict. We do not claim to "fully cover the OWASP Mobile Top 10," because several items are not tool-decidable and anyone who claims otherwise is overselling. What we claim is a strong, cited, correlated starting point for a MASVS verification, and a clear line around the parts that are a human's call.
Run the frameworks against your first APK
Open an app you own and read its crypto, secrets, dependencies, and configuration findings, mapped to the categories above, for free and with no device. Download Rutken and start with the static pass; add the runtime pass for the communication and storage items when you are ready to confirm behavior on a device you are authorized to test.
Frequently asked questions
Can one tool cover the whole OWASP Mobile Top 10? No tool honestly covers all of it, because M6 (privacy) and M7 (binary protections) involve risk judgement a scanner cannot make. A good tool covers the code-pattern and runtime categories with evidence and is explicit about the rest. Be suspicious of any product that claims a clean sweep.
Which categories are static and which are runtime? M1 credentials, M2 supply chain, M8 misconfiguration, and M10 cryptography are mostly static; M5 communication and much of M9 storage need the app running; M3 auth and M4 input validation lean runtime; M6 privacy and M7 binary protections are judgement calls on top of evidence.
Does Rutken map findings to MASVS? Findings are concrete and cited (algorithm, method, line, host), which maps cleanly onto the MASVS control groups, CRYPTO, NETWORK, CODE, PLATFORM, STORAGE, during a verification.
Is this aligned with the MASTG? Yes. The static-plus-dynamic approach follows the MASTG model of verifying a control both by reading the code and by observing behavior, and treating correlation between the two as the real signal.
What is the difference between the OWASP Mobile Top 10 and the MASVS? The Top 10 is a prioritized risk list (what tends to go wrong); the MASVS is a verification standard (what properties to check). You triage with the first and verify against the second.