# APKDeepLens: scan Android applications for security vulnerabilities

**<mark>Published April 4, 2025</mark>**

---

APKDeepLens is a Python-based tool designed to **<mark>scan Android applications (APK files) for security vulnerabilities.</mark>** It specifically targets the OWASP Top 10 mobile vulnerabilities, providing an easy and efficient way for developers, penetration testers, and security researchers to assess the security posture of Android apps.

* Features
    

APKDeepLens is a Python-based tool that performs various operations on APK files. Its main features include:

APK Analysis -&gt; Scans Android application package (APK) files for security vulnerabilities.

OWASP Coverage -&gt; Covers OWASP Top 10 vulnerabilities to ensure a comprehensive security assessment.

Advanced Detection -&gt; Utilizes custom python code for APK file analysis and vulnerability detection.

Sensitive Information Extraction -&gt; Identifies potential security risks by extracting sensitive information from APK files, such as insecure authentication/authorization keys and insecure request protocols.

In-depth Analysis -&gt; Detects insecure data storage practices, including data related to the SD card, and highlights the use of insecure request protocols in the code.

Intent Filter Exploits -&gt; Pinpoint vulnerabilities by analyzing intent filters extracted from AndroidManifest.xml.

Local File Vulnerability Detection -&gt; Safeguard your app by identifying potential mishandlings related to local file operations

Report Generation -&gt; Generates detailed and easy-to-understand reports for each scanned APK, providing actionable insights for developers.

CI/CD Integration -&gt; Designed for easy integration into CI/CD pipelines, enabling automated security testing in development workflows.

User-Friendly Interface -&gt; Color-coded terminal outputs make it easy to distinguish between different types of findings.

* Installation
    

To use APKDeepLens, you’ll need to have Python 3.8 or higher installed on your system. You can then install APKDeepLens using the following command:

```plaintext
git clone https://github.com/d78ui98/APKDeepLens/tree/main
cd /APKDeepLens
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python APKDeepLens.py --help
```

* Use
    

To simply scan an APK, use the below command. Mention the apk file with -apk argument. Once the scan is complete, **<mark>a detailed report</mark>** will be displayed in the console. python3 [APKDeepLens.py](http://APKDeepLens.py) -apk file.apk

If you’ve already **<mark>extracted the source code</mark>** and want to provide its path for a faster scan you can use the below command. Mention the source code of the Android application with -source parameter. python3 [APKDeepLens.py](http://APKDeepLens.py) -apk file.apk -source

To generate detailed PDF and HTML reports after the scan you can pass -report argument as mentioned below.

python3 [APKDeepLens.py](http://APKDeepLens.py) -apk file.apk -report

**<mark>Source: </mark>** [**<mark>https://github.com/d78ui98/</mark>**](https://github.com/d78ui98/)
