roomkangali/droid-llm-hunter
Acerca de
Droid LLM Hunter is a tool to scan for vulnerabilities in Android applications using Large Language Models (LLMs).
Seguridad y privacidadCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalDroid LLM Hunter
Droid LLM Hunter is an automated security analysis tool designed to detect vulnerabilities in Android applications with high precision. By combining traditional static analysis (SAST) with the contextual understanding of Large Language Models (LLMs), it bridges the gap between keyword-based scanning and human-like code review.
It supports Hybrid Decompilation (Smali/Java), Context-Aware Analysis (Call Graphs), and Exhaustive Hybrid Scheduling. In hybrid mode, static signals discover the scoped candidate set, high-signal files are prioritized, and every scoped candidate still reaches deep rule analysis—priority is never a top-N or score gate.
Features Auto-Exploit Generation, transforming from a passive scanner into an active Red Team Assistant capable of verifying vulnerabilities with generated Proof-of-Concept (PoC) scripts.
📊 Dashboard Report
Dashboard Report Droid-LLM-Hunter - web interface to visualize and manage security analysis reports. Link: dashboard-report-dlh
📱 VulnerApp for Testing
VulnerAppDLH - a vulnerable Android application created specifically to test Droid-LLM-Hunter. Link: VulnerAppDLH
📥 DLH Apk Fetcher
DLH Apk Fetcher - a Python CLI tool for detecting Android devices connected via ADB, listing installed apps (name + version), showing currently running apps, searching packages, and downloading APKs into a structured local folder — preparing APK samples for security analysis with Droid-LLM-Hunter. Link: dlh-apk-fetcher
🎬 Demo - Droid LLM Hunter
📋 Table of Contents
- ✨ Features
- 🔄 Scan Workflow
- 🛡️ Available Rules
- ⚙️ Configuration
- 🔩 Installation
- 💡 Usage
- 🔁 CI/CD Integration
- 🚀 Development Roadmap
- ❓ FAQ
- 🤝 Contributing
✨ Features
Droid LLM Hunter combines static analysis with LLM intelligence to detect Android vulnerabilities with high precision. Key capabilities include Staged Prompt Architecture, exhaustive Hybrid Filter Mode, bounded parallel summarization, Call Graph Context Injection, OWASP MASVS enrichment, honest Error/Unanalyzed reporting, and Auto-Exploit Generation across 8 LLM providers (including 9Router, a self-hosted multi-provider router, and Codex CLI, a local agent binary that needs no API key).
🔄 Scan Workflow
Multi-stage pipeline: Decompilation → Rule-Signal Discovery → Scope Filter → Parallel Summarization → Exhaustive Priority Queue → Deep Rule Analysis → Global Context → Chained Exploit → Report.
→ View Full Pipeline Diagram & Explanation
🛡️ Available Rules
26 vulnerability rules covering SQL Injection, WebView XSS, Hardcoded Secrets, Intent Spoofing, Intent Redirection, Path Traversal, Insecure Deserialization, and more — all mapped to OWASP MASVS. A separate Library Hunter mode (--scan-libraries) adds supply-chain/backdoor detection.
⚙️ Configuration
| Setting | Options | Recommended |
|---|---|---|
filter_mode |
llm_only, static_only, hybrid |
hybrid for contextual audit; static_only for a large first pass |
decompiler_mode |
apktool, jadx, hybrid |
hybrid |
provider |
ollama, gemini, groq, openai, anthropic, openrouter, router9, codex |
anthropic |
→ View Full Configuration Guide
🔩 Installation
git clone https://github.com/roomkangali/droid-llm-hunter.git
cd droid-llm-hunter
pip install -r requirements.txt
Requires: Python 3.11+, Apktool, and optionally JADX.
→ Full Installation Guide (including Docker)
💡 Usage
python dlh.py scan target.apk
python dlh.py scan target.apk --generate-exploit
python dlh.py -v --rules "sql_injection,webview_xss" scan target.apk
→ Full Usage Guide & Command Reference
🔁 CI/CD Integration
Supports GitHub Actions and GitLab CI. Returns exit code 1 on scan failure for automated quality gates.
→ View CI/CD Integration Guide
🚀 Development Roadmap
Next major version (v2.0) targets AI-Powered Dynamic Analysis with Frida & ADB integration, Taint Analysis Engine, and De-obfuscation Support.
❓ FAQ
→ View FAQ
Contributing
🤝 Contributions are welcome! Please create an issue or pull request to report bugs or add new features.
While Droid LLM Hunter uses Context Awareness and Smart Filtering to minimize noise, LLMs are inherently probabilistic and may occasionally hallucinate or misidentify vulnerabilities. Treat all results as leads requiring manual verification. This tool is built to augment human analysis not replace it.
Explorar proyectos relacionados
Cargando…