pentestlab
Provides tools for analyzing Android applications, including APK analysis, manifest parsing, framework detection, protection detection, and Play Integrity verification.
Provides reverse engineering capabilities for Flutter applications, including libapp.so analysis, Blutter integration, MethodChannel discovery, and SSL pinning bypass.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pentestlabAnalyze this APK for banking malware and generate an evidence report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PentestLab AI
AI-native security research operating environment for mobile banking reverse engineering.
PentestLab AI is a platform where AI agents reason, execute, observe, verify, correlate, and document security research inside an authorized laboratory environment. It combines 11 specialized agents, 50+ MCP tools, a Frida instrumentation engine with 18+ hook templates, banking malware detection across 13 families, Play Integrity API bypass detection, and no-root traffic interception — all wired through a unified CLI, MCP server, and multi-agent supervisor system.
Disclaimer: This tool is designed exclusively for authorized security research, penetration testing engagements, CTF competitions, and educational purposes. Unauthorized access to computer systems is illegal. Always obtain written authorization before testing.
Key Features
Multi-Agent Supervisor — 11 specialized agents (Profiler, Static, Dynamic, Network, Auth, Evidence, Reporter, Malware, Protection, PIA, NoRoot) orchestrated through investigation phases
MCP Server — 50+ tools across 15 namespaces, compatible with Qoder, Claude, and any MCP client
Frida Engine — 18+ pre-built hook templates including SSL pinning bypass, anti-Frida evasion, direct SSL capture, Dart socket bypass, and Smali patching
Banking Malware Analyzer — 13 malware family signatures (BeatBanker, GoldDigger, TrickMo, ClipBanker, Hook v3, Overlay Phantom, FluBot, Manic, Cerberus, Hydra), capability risk matrix, extended C2 pattern detection
Play Integrity Detector — PIA SDK usage detection, 6 bypass technique identifiers (TrickyStore, ReZygisk, PlayIntegrityFix, Keybox Spoofing, Property Spoofing, Zygisk Injection), runtime Frida detection hook
No-Root Interceptor — 6 capture modes (VPN/PCAPdroid, Frida Gadget, Gateway Redirect, LSPatch, TCP Sniffer, APK Unpinner), SSL unpinning smali patches, capture strategy recommendation engine
Protection Detector — 17 detection categories including overlay abuse, accessibility abuse, in-memory DEX loading, kernel root frameworks (KernelSU, APatch, Zygisk)
Advanced Checker Framework — 8 checker modes: intercept, modify return, brute force, replay, fuzz, header injection, proxy rotation, response tampering
Flutter RE Engine — libapp.so analysis, Blutter integration, MethodChannel discovery, BoringSSL pinning bypass
Native Binary Analyzer — ELF/PE/Mach-O format detection, symbol extraction, crypto/network reference scanning
Knowledge Graph — Entity relationship mapping across findings, classes, endpoints, and evidence
Evidence Engine — SHA-256 integrity hashing, tamper verification, chain-of-custody tracking
Web Dashboard — Real-time investigation monitoring via Streamlit
Related MCP server: Frida MCP Server
Architecture
pentestlab/
├── cli.py # Typer-based CLI (25+ commands)
├── mcp/server.py # MCP server (50+ tools, 15 namespaces)
├── agents/supervisor.py # Multi-agent orchestration (11 agents)
├── engines/
│ ├── android/
│ │ ├── analyzer.py # Main APK analysis pipeline
│ │ ├── frida_engine.py # Frida hooks & instrumentation
│ │ ├── jadx_engine.py # JADX decompilation engine
│ │ ├── manifest_analyzer.py # AndroidManifest.xml parser
│ │ ├── framework_detector.py # Framework fingerprinting
│ │ ├── protection_detector.py # Anti-analysis detection (17 categories)
│ │ ├── play_integrity_detector.py # PIA bypass detection
│ │ └── noroot_interceptor.py # Rootless traffic capture
│ ├── flutter/analyzer.py # Flutter/Dart RE engine
│ ├── native/binary_analyzer.py # ELF/PE/Mach-O analysis
│ ├── malware/banking_analyzer.py # Banking malware detection (13 families)
│ ├── checkers/advanced_checker.py # Automated checker framework (8 modes)
│ ├── authentication/ # Login flow, OTP, token, OAuth
│ └── web/ # Recon, API testing
├── core/ # Scope, sessions, evidence, tools
├── graph/knowledge_graph.py # Finding correlation graph
├── reports/engine.py # Report generation (MD/HTML/JSON)
├── dashboard/app.py # Streamlit web dashboard
└── benchmarks/suite.py # Performance & accuracy benchmarksInstallation
git clone https://github.com/ny0x696/PentestLab-AI.git
cd PentestLab-AI
pip install -e ".[dev]"
pentestlab doctorExternal Tools (Optional)
Tool | Purpose | Install |
JADX | APK decompilation |
|
apktool | APK decoding/rebuilding |
|
Frida | Runtime instrumentation |
|
Blutter | Flutter Dart decompilation | |
readelf/rabin2 | Native binary analysis |
|
httpx | Web technology detection |
|
subfinder | Subdomain enumeration |
|
Run pentestlab doctor to check tool availability.
Quick Start
Analyze an APK
pentestlab android analyze app.apk --workflow full
pentestlab android diff old.apk new.apkDetect Protections
pentestlab protect detect app.apk -o protections.jsonBanking Malware Analysis
pentestlab malware analyze suspicious.apk
pentestlab malware compare suspicious.apkPlay Integrity Detection
pentestlab integrity detect app.apk
pentestlab integrity hookNo-Root Traffic Interception
pentestlab noroot modes
pentestlab noroot setup vpn --package com.target.app
pentestlab noroot ssl-patchesGenerate Security Checkers
pentestlab checker generate brute_force --function com.app.OTPValidator
pentestlab checker generate modify_return --function com.app.SecurityCheck
pentestlab checker orchestrator com.target.app --hooks ssl_bypass,crypto_monitorAuthentication Research
pentestlab auth discover https://target.com
pentestlab auth tokens eyJhbGciOiJIUzI1NiIs...
pentestlab auth otp target-appSessions & Reports
pentestlab session create "target.apk" --scope lab
pentestlab report generate SES-abc123 --format markdown
pentestlab evidence listMCP Integration
All capabilities are exposed through the Model Context Protocol for AI agent integration.
Namespaces
Namespace | Tools | Description |
| 4 | Sessions, scope, environment |
| 4 | APK analysis, framework detection |
| 4 | Device enumeration, hook generation |
| 3 | Decompilation, endpoint/secret extraction |
| 3 | Recon, API testing, OpenAPI parsing |
| 4 | Login flows, tokens, OTP, OAuth |
| 3 | Evidence creation, listing, verification |
| 2 | Report generation, session export |
| 3 | Banking malware analysis, family comparison |
| 1 | Anti-analysis protection detection |
| 2 | Hook generation, orchestrator templates |
| 2 | Flutter analysis, SSL bypass scripts |
| 1 | Binary format/symbol analysis |
| 3 | Play Integrity detection, bypass info |
| 4 | Capture modes, setup, SSL patches |
Configuration
{
"mcpServers": {
"pentestlab": {
"command": "python",
"args": ["-m", "pentestlab.mcp.server"]
}
}
}Multi-Agent System
The supervisor orchestrates 11 agents through investigation phases:
Phase 1: Profiler → Target fingerprinting, framework detection
Phase 2: Static → Code review, protection detection
Phase 2b: Malware → Banking malware family scanning
Phase 2c: Protection → Anti-analysis protection cataloging
Phase 2d: PIA → Play Integrity API detection
Phase 2e: NoRoot → Capture strategy recommendation
Phase 3: Dynamic → Frida instrumentation planning
Phase 4: Network → Traffic analysis, endpoint discovery
Phase 5: Auth → Authentication mechanism analysis
Phase 6: Evidence → Finding correlation, gap identification
Phase 7: Reporter → Professional report generationTesting
pytest tests/ -v # Full suite (176 tests)
pytest tests/test_phase_b.py -v # Phase B/D/E tests only
pentestlab benchmark run --suite all # BenchmarksDocumentation
Architecture — System design and component interactions
Progress — Implementation status, phase history, competitive analysis
Competitive Position
PentestLab AI combines five dimensions that no single existing project covers:
Mobile banking specialization — 13 malware families, overlay/accessibility abuse, Play Integrity bypass
Multi-agent supervisor — 11 coordinated agents with phased investigation
Native MCP server — 50+ tools for AI agent integration
Integrated Frida engine — 18+ hook templates with anti-detection
Research-driven development — Techniques from 2026 papers and RE communities as executable code
See Competitive Analysis for detailed comparison with PentestGPT, MobSF, BlacksmithAI, Strix, Ostorlab, and pentestMCP.
License
This project is provided for authorized security research and educational purposes only. Users are responsible for ensuring they have proper authorization before using this tool against any target system.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Paid remote MCP for LLM security scans, jailbreak checks, analytics, checkout, and readiness.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Compliance frameworks (SOC 2, ISO 27001, CMMC, NIST, more) delivered to AI agents as MCP tools.
1
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides a one-stop automated solution for Android APK security analysis by integrating tools like JEB, JADX, APKTOOL, FlowDroid, and MobSF into unified MCP standard API interfaces.11-
- AlicenseBqualityCmaintenanceA comprehensive MCP server that exposes Frida's dynamic instrumentation toolkit to AI agents for process management, script injection, and memory operations. It provides over 50 tools to interact with local and mobile devices, enabling advanced capabilities like function hooking and memory analysis.55MIT
- AlicenseNot gradedqualityDmaintenanceEnables authorized Android security testing with static and dynamic analysis, Frida instrumentation, storage inspection, and traffic interception via MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform autonomous Android security analysis, including static analysis, dynamic analysis, and Frida instrumentation, powered by MobSF.1MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ny0x696/PentestLab-AI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server