본문으로 건너뛰기
Skillpedia
보안6.4k · #14220

analyze-apk

하는 일

Androguard 도구로 Android APK 파일을 메타데이터 읽기부터 취약점 검사까지 단계별로 정적 분석하는 방법을 안내합니다. Android 앱을 검토하는 보안 검토자와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓보안 검토자가 Android 앱 파일을 받아 전체 정적 검토가 필요할 때.
  • ✓개발자가 자신의 Android 앱에서 위험한 설정이나 노출된 웹 주소를 확인하려 할 때.
  • ✓분석가가 앱 검사 결과를 담은 문서 보고서가 필요할 때.

스킬 링크

https://github.com/androguard/androguard/blob/master/.claude/skills/analyze-apk/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/androguard/androguard/blob/master/.claude/skills/analyze-apk/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 Android 앱 파일에 대해 전체 정적 분석을 실행하고, 글로 된 보고서를 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 Androguard 도구를 단계별로 실행합니다. 먼저 기본 개요를 보고, 클래스와 메서드를 나열하고, 디컴파일하고, 참조를 검색한 뒤 알려진 문제를 검사합니다. 마지막에 보고서를 작성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

/analyze-apk — Androguard static analysis

Input

$ARGUMENTS — path to an APK (preferred). If only a package name is given, look under workspace/samples/ for a matching APK or ask for a path.

Set:

  • $APK — APK path
  • $PKG — package name from androguard -i $APK (or manifest)

Phase 1 — Recon

androguard -i "$APK"
unzip -l "$APK" | head -80
unzip -l "$APK" | grep -E '\.so$|classes.*\.dex' | head -40

Record package, main activity, DEX count, permissions, signing notes, native libs.

Phase 2 — Inventory

androguard -i "$APK" --list-classes | head -200
androguard -i "$APK" --list-methods | head -200

Identify the app’s own package prefix for --only-package.

Phase 3 — Decompile (requires [decompile])

mkdir -p "workspace/output/$PKG"
androguard -i "$APK" -d "workspace/output/$PKG/" --only-package "$PKG"

If decompiler missing: pip install -e '.[decompile]' (with PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 on 3.14+).

Phase 4 — Search & vulns

androguard -i "$APK" --findrefs string --findrefs-value http
androguard -i "$APK" --findrefs string --findrefs-value api
androguard -i "$APK" --scan-vulns

Also search decompiled tree for secrets/URLs (rg / grep on workspace/output/$PKG).

Phase 5 — Deep methods

For suspicious methods:

androguard -i "$APK" --decompile-method 'fully.qualified.Class#method'
androguard -i "$APK" --disasm --class 'ClassName' --method 'methodName'   # needs [disasm]

Phase 6 — Report

Write workspace/reports/$PKG-$(date +%Y-%m-%d).md using the agent report template.

Every finding needs evidence (path or class#method) and impact — not a bare checklist.

자주 묻는 질문

이 작업은 앱을 실행하나요?

아니요. 앱을 시작하지 않고 앱 파일을 읽는 정적 분석입니다.

보고서에는 무엇이 들어가나요?

확인된 결과와, 검증되지 않은 검사 결과에 대한 메모가 들어갑니다.

먼저 무엇이 필요한가요?

Androguard 도구가 설치되어 있어야 하며, 전체 검토를 위해서는 디컴파일러 extra도 필요합니다.

상세 정보

작성자의 원본 설명

Full static analysis of an Android APK with Androguard — metadata, decompile, findrefs, vulns, markdown report

repo: androguard/androguard

인기도

GitHub 스타
6.4k
순위
#14220
라이선스
Apache-2.0
업데이트
2026. 10. 25.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬