M10 Insufficient Cryptography is the OWASP Mobile Top 10 (2024) risk covering weak or misused cryptography in mobile apps, such as outdated algorithms, poor key management or flawed implementation. Attackers exploit it to recover or tamper with stored and transmitted data. Defenders use vetted platform cryptographic libraries, standard algorithms, hardware-backed key storage, and never embed keys in the app.
What Insufficient Cryptography Means in Mobile Apps
Insufficient cryptography is not just “bad encryption.” In mobile apps, it usually means the app chooses weak algorithms, handles keys poorly, relies on obsolete libraries, or implements cryptography in a way that still leaves data recoverable or alterable. The flaw can affect data at rest, data in transit, and any secret material the app tries to protect.
For mobile software, the risk is often less about the abstract math and more about implementation details. A strong algorithm can still fail if keys are embedded in the app, stored where attackers can extract them, reused across devices, or exposed through debug logging, local storage, or insecure transport choices.
Why Mobile Cryptography Fails in Practice
Mobile environments make cryptographic mistakes easy to repeat because app code, device storage, operating system services, and network behaviour all interact. Developers may hard-code keys for convenience, use custom crypto instead of vetted platform libraries, or build encryption around assumptions that break once the app is reverse engineered or the device is compromised.
Modern mobile guidance generally favours standard algorithms, platform keystores, and hardware-backed protection where available. The important point is that mobile cryptography should be treated as an engineering discipline, not a cosmetic feature. The app must protect both the ciphertext and the conditions that make decryption possible.
Exposure Checks and Validation Signals
Exposure review starts with identifying where the app stores sensitive data, how it authenticates to back-end services, and whether it ever handles secrets directly in application code. Reviewers should also inspect transport settings, local persistence, certificate handling, and whether any “encryption” is only obscurity layered over weak key handling.
OWASP Mobile Top 10 Guide is useful here because it connects M10 to broader mobile failure patterns, including insecure storage and insecure communication. For implementation detail, OWASP Mobile Top 10 M10 Insufficient Cryptography Guide gives a direct path from the risk to key management, keystore use, and testing.
Where mobile apps store locally cached data or issue their own tokens, validation should also ask whether the protection is actually keyed to the device, user, or session, and whether an attacker could reuse captured material outside the app.
Remediation, Detection, and Review After Compromise
Remediation usually means replacing weak or home-grown cryptography with vetted platform primitives, removing embedded secrets, and moving key storage to hardware-backed mechanisms or approved system services. When the app relies on long-lived or reusable secrets, the safer design is often to redesign the trust model rather than just swap one cipher for another.
NIST SP 800-57 Key Management is the strongest external reference for the key lifecycle issues that sit behind this weakness, while ISO/IEC 27001:2022 Information Security Management reinforces the need for controlled cryptographic practices inside a broader security programme.
After suspected exploitation, review whether encrypted local files, cached tokens, API credentials, or app-bound keys were exposed. If the app used static secrets or shared keys, those values should be treated as compromised, and any dependent sessions or backend trust relationships should be reviewed for reuse.
Risk and Threat Considerations
Weak mobile cryptography matters because it can turn a protected app into a readable or tamperable data store. Attackers do not always need to break the algorithm itself, they can target the implementation, extract keys from the app, or abuse predictable key handling to decrypt records and forge trusted data.
Failure mechanism: The app relies on weak algorithms, mismanaged keys, or embedded secrets, so protected data can be recovered, replayed, or altered after reverse engineering, device compromise, or traffic interception.
Impact: Confidential data exposure, integrity loss, token theft, session abuse, and downstream compromise of any service that trusts the mobile app’s protected material can follow.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP ASVS and NIST SP 800-57 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP ASVS | V11 — Cryptography | Mobile insufficient cryptography directly concerns cryptographic design and implementation quality. |
| Recommendation — Verify that the app uses approved algorithms, key handling, and protected storage for sensitive material. | ||
| NIST SP 800-57 | Key Management | The term materially depends on key lifecycle, storage, rotation, and protection decisions. |
| Recommendation — Apply formal key lifecycle rules for generation, storage, rotation, and destruction. | ||
| ISO/IEC 27001:2022 | A.8.24 — Use of Cryptography | The subject is about governing and implementing cryptography correctly in applications. |
| Recommendation — Define approved cryptographic controls and enforce secure use of keys and algorithms. | ||
Practitioner Guidance
Why practitioners should care: M10 is often discovered only after release because it hides inside ordinary coding decisions, not obvious security controls. The right review question is whether the mobile app depends on cryptography that the attacker can reproduce, extract, or bypass.
Practitioner takeaway: Treat mobile cryptography as a lifecycle control, not a library choice, and verify both the algorithm selection and the key custody model before release.
Related resources from NHI Mgmt Group
- Guide: Kotlin and Android Secure Coding Guide
- When does secrets discovery become insufficient on its own?
- What challenges arise from insufficient AI governance?
- When do short-lived credentials become insufficient for AI agent risk?
- When do PAM and IGA become insufficient for cloud identity governance?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org