Skip to main content
skill CX Codex

android-studio-pentest-environment — Claude Code skill: setup guide

android-studio-pentest-environment builds an Android app pentest lab on an emulator: Magisk root, Frida, HTTPS interception and LSPosed modules for SSL pinning bypass.

no license 234 installs ★ 13 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill android-studio-pentest-environment -a claude-code
Open on GitHub

What android-studio-pentest-environment does

The skill walks you through a pentest lab for Android apps that runs on an Android Studio emulator. The chain goes from an AVD on API 36 (Android 16) with Google APIs, to root with rootAVD and Magisk, frida-server on the device, HTTPS capture in HTTP Toolkit, and LSPosed with TrustMeAlready or JustTrustMe for SSL pinning bypass. Shamiko hides root; ZygiskNext replaces the built-in Zygisk.

Every stage comes with commands. sdkmanager fetches the system image, rootAVD.sh patches ramdisk.img, adb push plus chmod 755 put frida-server in /data/local/tmp/, and pip install frida-tools gives you the host client. When rootAVD fails, a manual route stays open: boot with -writable-system, run adb root and adb remount, then patch the ramdisk inside the Magisk app. LSPosed and ZygiskNext ship as zips flashed through Magisk, while the bypass modules are APKs installed with adb install and switched on in LSPosed Manager.

You need Android Studio with the SDK and ANDROID_HOME set, and the AVD itself is built in the graphical Device Manager. Pick the Google APIs image over Google Play, because that is the one rootAVD targets. Match the frida-server build on the emulator to the frida-tools version on the host.

What it helps with

  • root an Android Studio emulator with Magisk via rootAVD
  • attach Frida to a running app process
  • capture an app's HTTPS traffic in HTTP Toolkit
  • bypass SSL pinning with TrustMeAlready in LSPosed
  • hide root from in-app checks with Shamiko

Example prompts for the agent

  • Set up an Android pentest lab on an AVD with API 36, Magisk root and Frida.
  • Install frida-server on the emulator and check it with frida-ps -U.
  • Configure HTTP Toolkit and LSPosed so the app's HTTPS traffic is readable.

How to install android-studio-pentest-environment

1Skills CLI (Vercel)

npx skills add reason-machines/security-skills --skill android-studio-pentest-environment -a claude-code

2Manually: put the files in place

~/.claude/skills/android-studio-pentest-environment/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/android-studio-pentest-environment/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about android-studio-pentest-environment

How do I install android-studio-pentest-environment in Claude Code?

Run npx skills add reason-machines/security-skills --skill android-studio-pentest-environment -a claude-code; the skill lands at ~/.claude/skills/android-studio-pentest-environment/SKILL.md.

What does android-studio-pentest-environment do?

It sets up an Android app pentest environment on an emulator: Magisk root, Frida instrumentation, traffic capture and LSPosed modules for SSL pinning bypass.

Do I need a physical device for this lab?

No, the lab runs on an Android Studio emulator. You need the SDK, ANDROID_HOME and a created AVD.

Similar skills

All skills for Security →

From the same set129

The whole set →
pentest-ai-killer-automation pentest-ai-killer-automation wires your assistant to the Pentest AI Killer server, which exposes 69+ security tools such as nmap, nuclei and sqlmap over MCP and a REST API. CX Codex +1 244installs symfony-security-auditor symfony-security-auditor audits Symfony codebases for business logic flaws and authorization bugs. Uses dual-agent LLM analysis to catch issues missed by static scanners. CX Codex +1 239installs android-app-pentest-environment android-app-pentest-environment — a skill that builds an Android pentest bench for you: rooted emulator, Magisk, LSPosed and captured app traffic. CX Codex +1 236installs goplus-security-token-scanner goplus-security-token-scanner audits blockchain tokens, liquidity locks, and smart contract approvals via the GoPlus Security API. CX Codex +1 235installs androidstudio-app-pentest-environment The androidstudio-app-pentest-environment skill guides setup of an Android Studio emulator for app security testing, covering Magisk root access, Frida instrumentation, and HTTPS traffic inspection. CX Codex +1 233installs android-pentest-environment-setup android-pentest-environment-setup walks you through a rooted Android Studio emulator with Magisk, Frida and proxy traffic capture for app pentesting. CX Codex +1 226installs spoof-suite-hardware-identity spoof-suite-hardware-identity — a Claude Code skill that configures hardware identifier and network fingerprint masking for authorized security testing and privacy research. Runs across multiple AI coding platforms. CX Codex +1 219installs hardware-hardspoof-spoofing-toolkit hardware-hardspoof-spoofing-toolkit — a skill that walks the agent through hardsp00f: MAC swaps, SMBIOS strings, DNS and SNI behaviour, browser fingerprint traits. Built for permitted testing on a box you control. CX Codex +1 218installs

Project sponsors

Companies that keep this analytics open