SA

secfathy/apktool-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

41 stars 14 forks 质量 56 趋势 0

secfathy/apktool-mcp 是从 https://github.com/secfathy/apktool-mcp. 导入的 MCP 服务器候选

概览

secfathy/apktool-mcp 是从 https://github.com/secfathy/apktool-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一个强大的模型上下文协议(MCP)服务器,展示了 Apktool 功能,用于 Android APK 分析和逆向工程。与 Gemini CLI 无缝集成,提供基于 AI 的 APK 安全分析、隐私审计和通过自然语言命令的逆向工程指导。

🚀 特色

🔍 全面APK分析

  • 反编译APKs以提取资源、显现和smali代码
  • 分析权限及应用组件以进行安全评估
  • 提取字符串资源并检测硬编码秘密
  • 搜索 smali 代码 寻找特定模式和安全漏洞
  • 修改后重新编译修改后的APKs

🤖 人工智能驱动的工作流程

  • 用于复杂 APK 分析任务的自然语言命令
  • 自动化安全审计,利用AI生成的洞察
  • 隐私合规检查及GDPR/CCPA分析
  • 逐步逆向工程指导
  • 智能漏洞检测与风险评估

🛠 8 核心工具

工具 描述
decode_apk 反编译 APK 文件以提取所有组件

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Apktool MCP Server

A powerful Model Context Protocol (MCP) server that exposes Apktool functionality for Android APK analysis and reverse engineering. Integrates seamlessly with Gemini CLI to provide AI-powered APK security analysis, privacy auditing, and reverse engineering guidance through natural language commands.

🚀 Features

🔍 Comprehensive APK Analysis

  • Decompile APKs to extract resources, manifest, and smali code
  • Analyze permissions and app components for security assessment
  • Extract string resources and detect hardcoded secrets
  • Search smali code for specific patterns and security vulnerabilities
  • Recompile modified APKs after making changes

🤖 AI-Powered Workflows

  • Natural language commands for complex APK analysis tasks
  • Automated security audits with AI-generated insights
  • Privacy compliance checking and GDPR/CCPA analysis
  • Step-by-step reverse engineering guidance
  • Intelligent vulnerability detection and risk assessment

🛠 8 Core Tools

Tool Description
decode_apk Decompile APK files to extract all components
build_apk Recompile APK from modified source directory
install_framework Install system frameworks for system app analysis
analyze_manifest Parse AndroidManifest.xml for permissions and components
extract_strings Extract string resources with locale support
list_permissions Enumerate all requested permissions
find_smali_references Search for patterns in decompiled smali code
get_apk_info Get basic APK metadata and information

📋 Specialized Analysis Prompts

  • Security Analysis: Comprehensive vulnerability assessment
  • Privacy Audit: Data collection and compliance analysis
  • Reverse Engineering Guide: Step-by-step analysis workflows

📦 Installation

Prerequisites

1. Java JDK 8+ (Required by Apktool)

# Ubuntu/Debian
sudo apt update && sudo apt install default-jdk

# macOS (Homebrew)
brew install openjdk

# Verify installation
java -version

2. Apktool (Core dependency)

# Option 1: Package manager (recommended)
# Ubuntu/Debian
sudo apt install apktool

# macOS
brew install apktool

# Option 2: Manual installation
# Download from https://ibotpeaches.github.io/Apktool/install/

# Verify installation
apktool --version

3. Python 3.10+

python3 --version  # Should be 3.10 or higher

Setup Instructions

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "apktool": { "command": "python3", "args": ["/absolute/path/to/apktool_server.py"], "env": { "APKTOOL_WORK_DIR": "/path/to/workspace" } } } }