OWASP category: MASVS-PLATFORM: Platform Interaction
android:debuggable attribute sets whether the application is debuggable. It is set for the application as a whole and can not be overridden by individual components. The attribute is set to
false by default.
Allowing the application to be debuggable in itself is not a vulnerability, but it does expose the application to greater risk through unintended and unauthorized access to administrative functions. This can allow attackers more access to the application and resources used by the application than intended.
android:debuggable flag to true enables an attacker to debug the application, making it easier for them to gain access to parts of the application that should be kept secure.
Always make sure to set the
android:debuggable flag to
false when shipping your application.
Recommended for you