In this chapter, we introduced secure Android development practices, such as secure coding guidebook, security best practices, and the OWASP mobile security testing guide. Based on these secure implementation and testing practices, we also illustrated some automated scanning tools. The Fireline is used to scan the Java source code for security issues. The Androwarn is specific for privacy and sensitive information scan. The QARK and MobSF are the integrated Android security scan frameworks that can do the reverse of APK and secure code scanning.
We also illustrated the secure code review patterns for Android applications. There are some high-risk APIs that may result in serious security issues. We categorized the security issues into SQL injection, insecure SSL handling, command injection, webview XSS, insecure files I/O, and the insecure communication. In addition, we...