OOmnistu

Blog / Security

Security

Do you need obfuscation and anti-tampering in your mobile app? What OWASP MASVS-RESILIENCE says

Consider when obfuscation and anti-tampering controls fit a mobile threat model and why they cannot replace sound security design.

OOmnistu
Reviewed 2026-11-16 · 3 min read

Founders are sometimes told an app must be "hardened" against reverse engineering. OWASP's Mobile Application Security Verification Standard (MASVS) has a group of controls for this, called RESILIENCE. We read its group page in full on 15 November 2026. We did not read the individual control pages or the testing guide. This is a summary of one source, not security advice for a specific app.

What the controls cover

The page describes defence-in-depth measures such as code obfuscation, anti-debugging, anti-tampering and runtime application self-protection (RASP). They add layers that make it harder to modify code or extract sensitive information. Its four controls:

  1. The app validates the integrity of the platform.
  2. The app implements anti-tampering mechanisms.
  3. The app implements anti-static analysis mechanisms.
  4. The app implements anti-dynamic analysis techniques.

The key point: these are extra layers, not the foundation

The page says the absence of these measures does not itself constitute a vulnerability. They give additional protection against threat-specific attacks, and every app must still meet the other MASVS controls according to its threat model. It adds that obfuscation and anti-tampering must not substitute for proper security architecture, and that security should rely on verifiable design, strong cryptography and server-side validation.

When the page says they matter

Resilience measures are most relevant when the app must protect business assets or deter client-side abuse. Risks it lists:

When they may not be ideal

For government, health or other public-interest apps, the page says they can reduce transparency about what the compiled app does, make independent verification harder, and cause false positives that exclude legitimate users, given the variety of Android versions and devices. In those cases it recommends open-source distribution for independent audits, relying on verifiable design and server-side checks, and making sure controls stop cheating without hindering legitimate users or legitimate oversight.

Platform lock-in

Checking the underlying operating system is not OS-agnostic. The page notes many Android flavours exist (it names Google Android, HarmonyOS, FireOS, LineageOS and /e/OS as examples) with different features and security controls. Relying on platform services such as the Google Play Integrity API or Apple App Attestation may reinforce lock-in and limit access for some user groups.

Malware uses the same tricks

Malware authors use obfuscation, anti-debugging and anti-tampering to hide malicious behaviour, evade security tools or app store review, and hinder analysis. That is why security testers need to understand and detect these techniques.

Questions to ask your developer or vendor

Limits

One group page. We did not read the MASVS control details, the testing guide (MASTG) or any vendor documentation, and we make no claim about how effective any technique is. We recommend no product.

By Omnistu.

Sources

Previous
CSRF prevention basics: tokens, double-submit cookies and Fetch Metadata