{"id":49803307,"url":"https://github.com/yaron4u/pi-android-re","last_synced_at":"2026-05-12T16:10:40.998Z","repository":{"id":356160590,"uuid":"1227859687","full_name":"yaron4u/pi-android-re","owner":"yaron4u","description":"Android RE skills for Pi coding agent - static (decompile/API extraction) + dynamic (Frida hooking/bypass)","archived":false,"fork":false,"pushed_at":"2026-05-06T21:01:16.000Z","size":173,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T22:36:40.492Z","etag":null,"topics":["frida","jadx","pi","pi-mono","reverse-engineering","skills"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaron4u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-03T09:12:06.000Z","updated_at":"2026-05-06T21:01:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yaron4u/pi-android-re","commit_stats":null,"previous_names":["yaron4u/pi-android-re"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/yaron4u/pi-android-re","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaron4u%2Fpi-android-re","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaron4u%2Fpi-android-re/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaron4u%2Fpi-android-re/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaron4u%2Fpi-android-re/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaron4u","download_url":"https://codeload.github.com/yaron4u/pi-android-re/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaron4u%2Fpi-android-re/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32946622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frida","jadx","pi","pi-mono","reverse-engineering","skills"],"created_at":"2026-05-12T16:10:37.698Z","updated_at":"2026-05-12T16:10:40.993Z","avatar_url":"https://github.com/yaron4u.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-android-re\n\nAndroid reverse engineering skills for the [Pi coding agent](https://pi.dev). Static analysis (decompilation, API extraction, call flow tracing) and dynamic analysis (Frida hooking, SSL pinning bypass, root detection bypass, anti-instrumentation evasion).\n\n## Prerequisites\n\n- [Pi coding agent](https://pi.dev) installed (`npm install -g @mariozechner/pi-coding-agent`)\n- [Context7 MCP](https://github.com/upstash/context7) configured in `~/.pi/agent/settings.json` (recommended for API signature verification)\n\n## Install\n\n```bash\ngit clone https://github.com/yaron4u/pi-android-re.git\ncd pi-android-re\nbash install.sh\n```\n\nThe installer copies skills, prompts, and AGENTS.md into `~/.pi/agent/` and creates `apk-*` CLI wrappers in `~/.local/bin/`.\n\n## Usage\n\n### Mode Selection\n\nLaunch Pi and type:\n\n\n| Command    | Mode                                                               |\n| ---------- | ------------------------------------------------------------------ |\n| `/static`  | Static analysis -- decompile APKs, extract APIs, trace call flows  |\n| `/dynamic` | Dynamic analysis -- Frida hooking, runtime bypass, instrumentation |\n\n\nPi also auto-detects the mode from your message. Say \"decompile this APK\" and it loads static. Say \"write a Frida hook\" and it loads dynamic.\n\n### Static Analysis\n\nThe 5-phase workflow: **Dependencies -\u003e Decompile -\u003e Analyze Structure -\u003e Trace Call Flows -\u003e Extract APIs**.\n\n```bash\napk-check-deps                               # verify environment\napk-install-dep java                         # install missing deps\napk-decompile app.apk                        # decompile with jadx (default)\napk-decompile --engine both --deobf app.apk  # both engines + deobfuscation\napk-find-apis output/sources/ --retrofit     # extract Retrofit endpoints\n```\n\n### Dynamic Analysis (Frida)\n\nCovers:\n\n- Root detection bypass (RootBeer, custom checks, System.exit)\n- SSL pinning bypass (SSLContext, OkHttp, Conscrypt, TrustKit)\n- Anti-Frida evasion (strstr, /proc/self/maps, port scanning)\n- Biometric bypass (BiometricPrompt, FingerprintManager)\n- Crypto monitoring (Cipher, SecretKey)\n- Native instrumentation (Interceptor, pattern scanning, CModule)\n\n## File Structure\n\n```\npi-android-re/\n  AGENTS.md                             # Global persona + mode selector\n  install.sh                            # One-command installer\n  prompts/\n    static.md                           # /static prompt template\n    dynamic.md                          # /dynamic prompt template\n  skills/\n    android-static-analysis/\n      SKILL.md                          # 5-phase decompilation workflow\n      scripts/\n        check-deps.sh                   # Verify Java, jadx, vineflower, dex2jar\n        install-dep.sh                  # Auto-install missing dependencies\n        decompile.sh                    # Decompile APK/XAPK/JAR/AAR\n        find-api-calls.sh               # Extract API endpoints from sources\n      references/\n        setup-guide.md                  # Dependency installation guide\n        jadx-usage.md                   # jadx CLI reference\n        fernflower-usage.md             # Fernflower/Vineflower reference\n        api-extraction-patterns.md      # Grep patterns for API discovery\n        call-flow-analysis.md           # Call flow tracing techniques\n    android-dynamic-analysis/\n      SKILL.md                          # Frida coding standards + examples\n```\n\n## Static Analysis Dependencies\n\nRequired: **Java JDK 17+**, **jadx**\n\nOptional (recommended): **Vineflower/Fernflower**, **dex2jar**, **apktool**, **adb**\n\nRun `apk-check-deps` after install to see what's missing. Use `apk-install-dep \u003cname\u003e` to install.\n\n## Credits\n\n- Static analysis scripts adapted from [SimoneAvogadro/android-reverse-engineering-skill](https://github.com/SimoneAvogadro/android-reverse-engineering-skill) (Apache 2.0)\n- Static analysis scripts adapted from [rsenet/FriList](https://github.com/rsenet/FriList) (GPLv3)\n- Dynamic analysis standards based on production Frida workflows\n\n## License\n\nApache 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaron4u%2Fpi-android-re","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaron4u%2Fpi-android-re","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaron4u%2Fpi-android-re/lists"}