mobile-security
Skill này làm gì
Skill này hướng dẫn AI rà soát file ứng dụng Android và iPhone để tìm các vấn đề như bí mật bị lộ và lưu trữ yếu. Dành cho người kiểm thử bảo mật và nhà phát triển.
Khi nào nên dùng
- ✓Khi một nhóm muốn kiểm tra file APK của Android về quyền rủi ro hoặc mật khẩu bị giấu.
- ✓Khi ai đó cần rà soát gói ứng dụng iPhone để tìm cài đặt mạng hoặc lưu trữ yếu.
- ✓Khi một người rà soát bảo mật muốn kiểm tra tĩnh nhanh một ứng dụng di động trước khi phát hành.
Liên kết skill
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/mobile-security/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể kiểm tra file ứng dụng Android này xem có mật khẩu cứng và quyền rủi ro không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill cung cấp cho AI các bước chuẩn và công cụ để mở gói ứng dụng và đọc cài đặt, mã và chứng chỉ. AI liệt kê những gì tìm được.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Mobile Application Security Reconnaissance Knowledge Base
Mobile application security reconnaissance involves static analysis of APK and IPA files to identify vulnerabilities, misconfigurations, and security weaknesses without executing the application. This skill enables autonomous agents to analyze mobile applications for security issues.
1. APK Analysis
Package Information Extraction
# Extract APK package information
aapt dump badging {apk_path}
# Extract full APK details
aapt dump all {apk_path}
Decompilation
# Decompile APK with apktool
apktool d {apk_path} -o output_dir
# Decompile with jadx (to Java source)
jadx {apk_path} -d output_dir
# Convert DEX to JAR for Java analysis
dex2jar {apk_path} -o output.jar
Resource Extraction
# Extract resources from APK
unzip -l {apk_path}
unzip -d output_dir {apk_path}
# View AndroidManifest.xml
aapt dump xmltree {apk_path} AndroidManifest.xml
2. iOS IPA Analysis
Package Information
# Extract IPA metadata
unzip -l {ipa_path}
# View Info.plist
plutil -p {ipa_path}/Payload/*.app/Info.plist
Binary Analysis
# Extract binary information
otool -lv {binary_path}
# View strings in binary
strings {binary_path}
# Check entitlements
jtool --ent {ipa_path}/Payload/*.app/embedded.mobileprovision
3. Certificate and Signature Validation
Android
# View certificate information
keytool -printcert -jarfile {apk_path}
# Verify APK signature
jarsigner -verify -verbose -certs {apk_path}
iOS
# Check code signing
codesign -v --deep --strict {app_path}
# View provisioning profile
security cms -D -i {embedded.mobileprovision_path}
4. Hardcoded Secret Detection
String Extraction
# Extract all strings from binary
strings {binary_path} > strings_output.txt
# Search for API keys and secrets
grep -E "(API_KEY|api_key|SECRET|secret|PASSWORD|password|TOKEN|token)" strings_output.txt
# Search for AWS credentials
grep -E "(AKIA|ASIA)[0-9A-Z]{16,}" strings_output.txt
Common Secret Patterns
- AWS Access Keys:
AKIA...orASIA...(20 characters) - GitHub Tokens:
ghp_,gho_,ghu_,ghs_,ghr_ - Generic API Keys: Various formats depending on service
- Private Keys:
-----BEGIN PRIVATE KEY----- - JWT Tokens: Three base64-encoded parts separated by dots
5. Insecure Storage Identification
Android
# Check for SharedPreferences usage
grep -r "SharedPreferences" smali/ 2>/dev/null
# Check for file-based storage
grep -r "FileOutputStream\|FileInputStream\|openFileOutput\|openFileInput" smali/ 2>/dev/null
# Check for SQLite database
grep -r "SQLiteDatabase\|SQLiteOpenHelper" smali/ 2>/dev/null
iOS
# Check for UserDefaults
strings {binary_path} | grep -i "UserDefaults"
# Check for Keychain usage
strings {binary_path} | grep -i "Keychain"
# Check for plist storage
find {app_path} -name "*.plist" -type f
6. Network Security Configuration Analysis
Android
# Check for cleartext traffic
grep -r "android:usesCleartextTraffic" AndroidManifest.xml
# Check for network security config
cat app/src/main/res/xml/network_security_config.xml 2>/dev/null
iOS
# Check ATS (App Transport Security) settings
plutil -p {app_path}/Info.plist | grep -A 10 "NSAppTransportSecurity"
7. Third-Party Library Vulnerability Scanning
Library Identification
# List all JAR files in APK
unzip -l {apk_path} | grep "\.jar$"
# Check for known vulnerable libraries
grep -r "org.apache.commons\|com.google.gson\|com.fasterxml.jackson" smali/ 2>/dev/null
Version Checking
- Use OWASP Dependency-Check for vulnerability scanning
- Use mobsfscan for mobile-specific vulnerability detection
- Check CVE databases for known vulnerabilities
8. WebView Security Checks
Android
# Check for JavaScript enabled
grep -r "setJavaScriptEnabled(true)" smali/ 2>/dev/null
# Check for DOM storage enabled
grep -r "setDomStorageEnabled(true)" smali/ 2>/dev/null
# Check for addJavascriptInterface
grep -r "addJavascriptInterface" smali/ 2>/dev/null
9. Deep Link Analysis
Android
# Check for intent filters in manifest
grep -A 5 "intent-filter" AndroidManifest.xml
# Check for deep link schemes
grep -o '<data android:scheme="[^"]*"' AndroidManifest.xml
iOS
# Check for URL schemes in Info.plist
plutil -p Info.plist | grep -A 5 "CFBundleURLTypes\|URL Sc
Câu hỏi thường gặp
Skill này có chạy ứng dụng trên điện thoại không?
Không. Nó mô tả rà soát tĩnh, tức là đọc file ứng dụng mà không khởi động ứng dụng.
Nó tìm loại vấn đề nào?
Nó tìm những thứ như bí mật được lưu trong ứng dụng, kiểm tra chứng chỉ yếu và lưu trữ dữ liệu không an toàn.
Ai nên dùng nó?
Dành cho người kiểm thử bảo mật và nhà phát triển có quyền rà soát ứng dụng.
Chi tiết
Mô tả gốc của tác giả
Mobile application security reconnaissance — APK/IPA analysis, permission enumeration, certificate validation, hardcoded secret detection, insecure storage identification, network security analysis.
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #14144
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
detector-overview
6.5kGiúp agent của bạn đọc code mà một công cụ quét đã đánh dấu, rồi quyết định điểm nào là lỗ hổng bảo mật thật và điểm nào là báo động giả.
exploiter-overview
6.5kGiúp agent của bạn ghép nhiều lỗ hổng bảo mật đã xác nhận thành một chuỗi kiểm thử và kiểm tra chuỗi đó có thể gây hậu quả đến đâu.
llm-redteam-overview
6.5kGiúp agent của bạn tìm đúng hướng dẫn red-team AI cho một bài kiểm thử, bao quát 15 nhóm chiến thuật từ prompt injection đến lạm dụng mô hình.
aatmf-t01-prompt-injection
6.5kGiải thích prompt injection, khi các chỉ dẫn ẩn cố ghi đè một hệ thống AI, để chuyên gia bảo mật có thể kiểm tra lỗi này.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.