{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "angusdevgo-seep-reverse-lab--map-apk-control-flow-within-token-budget",
 "repo": "angusdevgo/Seep-Reverse-Lab",
 "repo_url": "https://github.com/angusdevgo/Seep-Reverse-Lab",
 "repo_slug": "angusdevgo-seep-reverse-lab",
 "title": "Map an APK's control flow without flooding the agent context",
 "page_title": "How to map an APK's control flow without flooding the agent context with Seep Reverse Lab",
 "summary": "Decompile an Android APK to a control-flow skeleton to save tokens during analysis.",
 "who": "An Android security tester who needs to understand app logic but works with an agent that has a limited context window.",
 "problem": "Full decompiled output for a large APK can exhaust the agent's context and make the analysis drift or stop early.",
 "outcome": "A folded control-flow skeleton of the app that the agent can reason over, with the README's reported token savings.",
 "steps": [
  "Run check.bat to confirm the APK toolchain (JADX and Apktool) is ready.",
  "Open the Seep project folder in your agent.",
  "Ask the agent to triage the APK and then decompile it in fold output mode.",
  "Review the skeleton and ask the agent to drill into one class at a time."
 ],
 "agent_prompt": "Using the Seep Reverse Lab workspace, triage <path-to-apk> and decompile it with seep_apk_decompile in fold mode. Expected output: a control-flow skeleton listing the main classes and their branches. Verify that the skeleton covers the classes the app's main activity calls.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README gives the fold mode token saving as about 60 percent, which is a measured figure from the project, so expect your own savings to vary.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "lua",
 "requirements": [
  "Windows machine with PowerShell (the README's one-click installer is install.ps1)",
  "A supported agent such as Claude Code or Codex, or Pi Agent, DeepSeek Harness, or OpenCode",
  "Written authorization to test the target application or binary",
  "A connected Android device or emulator for Frida-based PoC runs (the demo runs on a connected device)"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "Decompile only APKs you have permission to analyze."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/angusdevgo-seep-reverse-lab/map-apk-control-flow-within-token-budget/",
 "md": "https://dedupedai.com/use-cases/angusdevgo-seep-reverse-lab/map-apk-control-flow-within-token-budget/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/angusdevgo-seep-reverse-lab--map-apk-control-flow-within-token-budget.json",
 "api_version": "v1"
}
