
The Modern Mobile App Security Baseline
A layered mobile security baseline — identity in platform secure storage, a threat-model decision on certificate pinning with a rotation plan where it is used, SBOM and SDK due diligence, threat-model-driven RASP, and store-level privacy declarations that match the actual data flow.
TL;DR: The mobile threat model is no longer a hopeful device. Tokens in shared preferences, "TLS is enough," and code obfuscation as a substitute for security are not defensible postures. The modern baseline is layered: identity in platform-native secure storage with biometric gating and modern authentication protocols, transport with a certificate pinning decision made against the threat model and backed by a key-rotation plan wherever pinning is used, secrets kept out of the application binary rather than trusted to obfuscation, software-bill-of-materials discipline over the third-party dependencies the application links in, threat-model-driven runtime application self-protection for the few categories that justify it, and store-level Apple App Privacy and Google Play Data Safety declarations that match the actual data flow. OWASP Mobile Application Security is the vendor-neutral reference the baseline aligns with. The CTO who reviews a proposal against this baseline finds the gaps before the application ships, not after the breach is reported.
The threat model is no longer a hopeful device
The mobile security conversation of a decade ago rested on assumptions that have not been defensible for some time. The user's phone was treated as a trusted endpoint, network traffic between the application and the backend was assumed to be private, and the application was assumed to be the only software inspecting its own data. None of those assumptions was strictly true at the time, and none of them is even approximately true today.
The honest model is the inverse. Devices are screen-capturable by default on both platforms. Android devices are sideloadable; an attacker who reaches the user with an alternative installer can place a modified version of an application or a parallel application alongside the legitimate one. As of November 2026, Google's Android developer verification program has begun protections for all users who install apps from participating stores in Brazil, Indonesia, Singapore, and Thailand on certified devices running Android 7 or later, plans to expand verification globally for all apps on certified Android devices in 2027, and has launched an advanced flow for power users who want to install apps from unverified developers. Instrumentation and dynamic analysis tools such as Frida run on both platforms and attach to running processes on a jailbroken or rooted device, or to a debuggable or repackaged app — security researchers use them, and attackers use them. The network the application reaches the backend through is often a network the business does not control, sometimes a network the attacker does. The application is not the only software looking at its data; the operating system, other applications with overlapping permissions, and the user's chosen accessibility tools can all reach into surfaces the application thought it controlled, and on Android a file manager the user has granted all-files access can read and write whatever the application placed in shared storage, though not the application's app-specific directories.
The shift the modern baseline reflects is from "lock the front door" to a layered posture where identity, transport, storage, code, dependencies, runtime, and store compliance all carry a share of the responsibility. No single layer is the security. The combination is. A baseline proposal that names one layer and assumes the others are someone else's problem is a proposal that has not understood the model.
Identity and authentication: platform-native and biometric by default
The identity layer is where many older codebases have the most painful legacy. Tokens stored in shared preferences on Android or in unprotected disk locations on iOS, custom session schemes invented by the original engineering team, and credential handling that treats the application's own memory as a safe place to keep secrets — all of those were common in the 2010s and all of those are surfaces an attacker reads quickly.
The modern baseline replaces each of those choices with a platform-native equivalent. Tokens and secrets live in platform secure storage — Keychain Services with the Secure Enclave on iOS where the device supports it, and on Android, encrypted with keys held in the Android Keystore system, hardware-backed where the device supports it. Biometric and device-credential gating — Face ID, Touch ID, the Android BiometricPrompt — protects sensitive flows with a defined fallback to the device credential — the device passcode on iOS, the screen-lock PIN, pattern, or password on Android (on Android 10, API level 29, and lower, BiometricPrompt does not support the device-credential authenticator alone or combined with a strong biometric) — and clear consent at enrollment. Modern authentication protocols — OAuth 2.0 with Proof Key for Code Exchange and the RFC 9700 security best practices (being consolidated in the OAuth 2.1 specification, which is still an IETF draft as of November 2026), and OpenID Connect — replace the session schemes the application invented for itself, and refresh tokens are stored in secure storage and rotated rather than logged or persisted in plaintext.
Passkeys and platform-managed credentials are increasingly the right answer for consumer-facing applications where password-phishing is a meaningful threat. The platforms have invested in the user experience and the operating-system integration; the application that adopts passkeys reduces an entire category of credential-theft risk and moves the user experience to the path the platforms are committed to.
The baseline that the CTO reviews against is not "we have authentication." It is identity in platform secure storage, biometric gating where flows justify it, modern protocols rather than custom session work, and an explicit decision on whether passkeys fit the user base.
Transport, pinning, and what "TLS is enough" misses
Transport security has its own baseline and its own honest qualifier. Transport Layer Security with modern cipher suites is non-negotiable for any traffic that leaves the device. Apple's App Transport Security and Android's Network Security Configuration are the platform mechanisms that enforce the baseline, each within a stated scope. App Transport Security operates by default for apps linked against the iOS 9.0 or macOS 10.11 SDKs or later and is enforced when the app uses the standard URL Loading System, such as URLSession; it does not apply to calls to lower-level networking interfaces like the Network framework or CFNetwork, where the app takes responsibility for the security of the connection. Under Android's configuration, cleartext traffic is disabled by default starting with apps targeting Android 9 (API level 28), and apps that require cleartext traffic can opt in. Within those defaults, loosening either mechanism takes an explicit configuration change: on iOS, App Transport Security exceptions are set in the app's Info.plist, a single key (NSAllowsArbitraryLoads) disables App Transport Security for all network connections, and some exceptions require justification when the app is submitted to the App Store.
What "TLS is enough" misses is a specific class of threat: a compromised certificate authority, a coerced certificate authority, or an enterprise certificate installed on a device by a managed configuration that lets a man-in-the-middle inspect supposedly private traffic. Whether an app trusts such an enterprise certificate depends on the platform: App Transport Security requires the anchor certificate to be part of the operating system or to have been installed on the device by the user or a system administrator, while Android apps by default trust the pre-installed system CAs, and apps targeting Android 6.0 (API level 23) and lower also trust the user-added CA store by default. Confirm for the target devices how a managed configuration installs its certificate and whether the app's network security configuration trusts it. Certificate pinning addresses that threat by constraining which certificates the application will accept for a given domain to a small set known in advance. OWASP's mobile verification standard, which describes pinning as a choice a developer may make, states its pinning control as "The app performs identity pinning for all remote endpoints under the developer's control" (MASVS-NETWORK-2). Android's security guidance points the other way for Android apps: it says certificate pinning is not recommended for Android apps, notes that future server configuration changes, such as changing to another certificate authority, leave apps with pinned certificates unable to connect to the server until they receive a client software update, and says that, for an app that does restrict the certificates it accepts, it is critical to include multiple backup pins, including at least one key fully in the developer's control, and a sufficiently short expiration period to prevent compatibility issues (as of Nov 2026, Android Developers). Whatever endpoints the application pins, the team operates a sane key-rotation strategy so that a routine certificate rotation does not brick the application in users' hands — Android's network security configuration guidance, for example, says that you should always include a backup key when using certificate pinning. Pinning without a rotation plan is the failure mode that produces the application that stops working when the legitimate operations team rotates a certificate without coordinating with the mobile team.
Embedded web views are part of the application's attack surface, not separate from it. A web view that loads remote content inherits the web-side threats that the application's native code does not — cross-site scripting, mixed content, content injection — and a security baseline that ignores the web view because "that part is just web" has missed a layer. The web view's content security posture, its allowed origins, and its messaging interface to the native code are all baseline concerns, not bonus topics.
Code, software-bill-of-materials, and the honest reality of SDKs
A modern mobile application carries third-party code across many of its functions. Analytics, attribution, payments, maps, advertising, customer support, push delivery, crash reporting, performance monitoring, in-app messaging, accessibility tools — each is delivered by a software development kit that the application links in and treats as part of its own surface. Each kit is a forever obligation. Each kit can ship behavior the engineering team did not intend, read data the team did not approve, or send data to endpoints the team did not authorize.
The baseline discipline is software-development-kit due diligence. What does each kit read; what does each kit send; what does each kit store; under what circumstances does it transmit data; whose endpoints are involved; what is the consent posture; what is the kit's own update cadence. The kit inventory belongs in the privacy and security review, not as a build-dependency footnote. The team that cannot describe what its own kits do does not know what its own application does.
The Software Bill of Materials is the modern artifact that captures the dependency inventory, and it can be requested in procurement reviews and security audits. Regulation can require one too: from December 11, 2027, the EU Cyber Resilience Act requires manufacturers of products with digital elements within its scope to identify and document vulnerabilities and components contained in those products, when placing them on the market and for their support period, including by drawing up a software bill of materials in a commonly used and machine-readable format covering at the very least the top-level dependencies. Products placed on the EU market before that date are subject to these requirements only if they are substantially modified from that date. A bill of materials is not a security guarantee; it is the visibility layer that makes the next conversation possible. A vulnerability is announced in a popular networking kit, and the team that has a bill of materials can check the inventory for whether the application is affected and which version is shipped. The team that does not have a bill of materials starts a manual audit while the announcement is already public.
Code obfuscation deserves a specific qualifier. Obfuscation alone is not security. Obfuscation makes reverse engineering of the application's logic more time-consuming for an attacker; it does not change the security properties of secrets that the application carries. Secrets embedded in code, in build configuration, in attached resources, or in environment variables that ship with the binary should be treated as published. The application binary is a file an attacker can extract, decompile, and search. A secret hidden in the binary is a secret an attacker has, given enough patience. The baseline is to keep secrets outside the binary — on the server, in secure storage that the user authenticates against, or in platform-managed credential systems — rather than to assume obfuscation will protect them.
Runtime threats: jailbreak, instrumentation, screen capture
Certain categories of consumer applications operate in an environment where the threat model includes a rooted or jailbroken device, an instrumentation framework such as Frida attached to the running process, and screen recording capturing the user's session. Banking applications, payment applications, regulated content applications, and applications handling sensitive customer data live in that environment whether their engineering team chose it or not.
Runtime application self-protection — sometimes packaged as "app shielding" or "mobile app protection" — addresses this class of threat with anti-tamper checks, jailbreak and root detection, integrity validation of the application's own code at runtime, and detection of common instrumentation frameworks. The technology is real, the threat it addresses is real, and the cost of the technology is real.
The honest framing is that runtime self-protection is threat-model-driven rather than baseline. Consumer banking and payment applications often justify it because the threat model includes determined attackers who will use rooted devices and instrumentation to extract value or commit fraud. Regulated content applications sometimes justify it because the threat model includes deliberate content extraction and redistribution. A typical content application, a typical productivity application, a typical commerce application with conventional checkout — those usually do not need runtime self-protection. The decision belongs in the threat model rather than in a procurement reflex; a vendor proposal that recommends runtime self-protection for an application whose threat model does not justify it is selling a control the application does not need.
The corollary is that anti-instrumentation measures should not be designed to fight legitimate accessibility tools, legitimate security research, or the user's own device administration. The line between "this application detects an attacker tampering with its operation" and "this application detects a user with a screen reader and refuses to run" is the line the proposal should respect, and the baseline review should ask where the line is.
Store-level privacy, data safety, and compliance posture
The application's relationship with the store is a security and privacy surface in its own right. Apple App Privacy nutrition labels and the Google Play Data Safety form are required disclosures: Apple requires the information to submit new apps and app updates to the App Store, and Google requires every developer with an app published on Google Play, including apps on closed, open, or production testing tracks, to complete the form, though apps active only on internal testing tracks do not need to. What the application collects, what it shares, what is linked to identity, and what is used for tracking must be declared within each store's stated scope — Apple, for example, makes data types that meet all of its optional-disclosure criteria optional to disclose, and Google does not require declaring data collected from a webview in which users are navigating the open web — and the declarations must match the application's actual behavior. Misdeclaration is a store-policy violation and an enforcement risk; matching declaration to reality is a coordination job between the engineering team, the privacy team, and the kit inventory above.
Cross-cutting privacy and data-protection regulation — the General Data Protection Regulation, the Personal Information Protection Law in China, the General Data Protection Law in Brazil, and the parallel regimes operating in other markets — imposes consent requirements where processing relies on consent, along with purpose-limitation and rights-fulfillment obligations, on a mobile application the same way it does on a website. The California Consumer Privacy Act sets purpose-limitation and consumer-rights obligations as well, but it applies to businesses as the Act defines them: for-profit entities that collect consumers' personal information or have it collected on their behalf, determine the purposes and means of processing it, do business in California, and meet one of its revenue or personal-information thresholds, along with certain commonly branded affiliates, certain joint ventures or partnerships, and entities that do business in California and voluntarily certify compliance to the California Privacy Protection Agency. For selling and sharing personal information, it works on an opt-out model: a consumer has the right, at any time, to direct a business that sells or shares personal information about the consumer to third parties not to sell or share it. A business that has actual knowledge that a consumer is under 16 may not sell or share that consumer's personal information unless the consumer (if aged 13 to 15) or the consumer's parent or guardian (if under 13) has affirmatively authorized it, and a business that willfully disregards a consumer's age is deemed to have that knowledge. For the United Arab Emirates, an English translation of Federal Decree-Law No. 45 of 2021 on the protection of personal data, whose official status we could not confirm, shows a law in force since January 2, 2022 that, within the scope and exclusions of its Article 2 and subject to the exemptions its Article 3 lets the data protection bureau grant to establishments that do not process a large volume of personal data, prohibits processing personal data without the data subject's consent except in the cases its Article 4 lists, requires personal data to be collected for a specific and clear purpose and not later processed in a manner incompatible with it (processing for a similar or close purpose is allowed), and grants data-subject rights. It gives controllers and processors no more than six months from the issuance of its Executive Regulations to bring their status into compliance, a period the Council of Ministers may extend by another period of the same length; we could not confirm from a primary source whether those regulations have been issued, so confirm their current status before relying on a compliance date. The privacy and compliance topic owns the legal mechanics; this baseline assumes that work is happening alongside it, not in place of it. A mobile security review that ignores the regulatory layer is a review that has been scoped wrongly.
Store policy on privacy and data safety changes over time on both platforms. A feature that shipped compliantly two release cycles ago may require rework after a platform policy update. The release pipeline and the compliance review are coupled — a build that ships a new data flow without a corresponding declaration update is a build that risks rejection or removal, and the team that treats privacy declarations as a one-time setup at the application's first submission has misunderstood the discipline. The declarations are part of every release.
A buyer-side acceptance test for security proposals
The CTO who is reviewing a vendor or in-house security proposal is reading for explicit commitments across the seven layers above. The proposal should name an identity and secure-storage strategy for the identity and storage layers, a transport posture including the pinning policy and key-rotation plan, a secrets-handling position that keeps secrets out of the binary rather than relying on obfuscation for the code layer, a software-development-kit inventory and due-diligence approach together with a software-bill-of-materials commitment for the dependency layer, a threat-model-driven position on runtime self-protection, and a privacy-declaration process tied into the release pipeline for store compliance.
The red flags are specific. "We will add security later" — meaning security is treated as a post-launch hardening pass and the baseline is missing. "We obfuscate the code so it is secure" — meaning the proposer does not understand the role of obfuscation in the baseline. "We do not need pinning because we have transport security" — meaning the proposer has not engaged with the certificate-authority threat. No bill of materials, no kit inventory, no privacy-declaration process — each is a missing layer, and each is the layer where a real incident eventually surfaces.
The acceptance test the CTO can run in a single meeting is to ask how a leaked third-party kit or a compromised certificate would be contained, and how the team would learn about it in the first place. A credible answer walks through the bill-of-materials check, the kit's reach into the application, the containment options including remote configuration to disable the kit's behavior, the certificate-pinning response and the rotation path, the platform privacy-declaration update if the kit's behavior changes, and the monitoring that would surface the incident. An incoherent answer treats each step as someone else's responsibility. If the answer is unclear, the security posture is, too.
The CTO position, stated as a baseline
Modern mobile security is not a hardening pass or a checklist completed at release time. It is a layered baseline the application carries through its life, and the layers are reviewed together rather than separately. Identity in platform-native storage with biometric gating and modern protocols. Transport with a threat-model decision on certificate pinning and a sane rotation plan wherever it is used. Secrets kept out of the binary rather than trusted to obfuscation. Software-development-kit due diligence and a bill of materials. Threat-model-driven runtime self-protection for the categories that justify it, not as a reflex. Store-level privacy declarations that match the actual data flow and update as the data flow changes.
The proposal that names the layers and walks through the containment story for a real incident is the proposal the CTO can endorse. The proposal that treats security as a future hardening pass is the proposal that produces the security review the team will be doing under deadline pressure after launch, when the consequences of the missing baseline are public. The baseline is either built deliberately at the start or reconstructed after the fact, and this article's view is that the second path costs more — the reason the conversation belongs at CTO altitude.