bypassing-root-jailbreak-detection

bypassing-root-jailbreak-detection is a skill for Claude Code from trilwu/secskills. It costs 94 tokens per session (2,380 once invoked), scanned A, original, MIT.

A mobile-app security-testing guide for bypassing checks that detect rooted phones, jailbroken devices, emulators, debuggers, or Frida instrumentation. Frida is a tool for inspecting and changing an app while it runs.

In plain words
What is it for?
Use it to investigate apps that exit, hide features, or fail on test devices because of root, jailbreak, emulator, debugger, or instrumentation detection.
Why use it?
These checks can stop an authorized tester from observing the app or reproducing its behavior on a test device.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the secskills-offense plugin — 40 skills shipped together

Good fit Use it to investigate apps that exit, hide features, or fail on test devices because of root, jailbreak, emulator, debugger, or instrumentation detection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trilwu/secskills/bypassing-root-jailbreak-detection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add trilwu/secskills --skill bypassing-root-jailbreak-detection
Clone the repo
git clone --depth 1 https://github.com/trilwu/secskills

Made for: Claude Code.

Or install secskills-offense, the plugin that ships this one along with the rest of its 40 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bypassing-root-jailbreak-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/trilwu/secskills/bypassing-root-jailbreak-detection/github.svg)](https://agentmods.dev/skills/trilwu/secskills/bypassing-root-jailbreak-detection)
Your own site
<a href="https://agentmods.dev/skills/trilwu/secskills/bypassing-root-jailbreak-detection"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/bypassing-root-jailbreak-detection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bypassing-root-jailbreak-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/trilwu/secskills/bypassing-root-jailbreak-detection"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/bypassing-root-jailbreak-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,380 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.02380
Opus 5.5 $0.00038 $0.00952
Sonnet 5.5 $0.00019 $0.00476
Haiku 4.5 $0.00009 $0.00238

Measured 2mo ago against content hash 81ec6e79e457, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bypassing-root-jailbreak-detection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

secskills-offense/skills/bypassing-root-jailbreak-detection/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bypassing Root and Jailbreak Detection

Detection is almost never one check. It is a dozen cheap checks scattered across the app, plus — increasingly — one hardware-backed attestation that no hook can touch. Hooking checks one at a time is whack-a-mole; the work is finding the layer the app actually depends on.

Use only against apps you are authorized to test.

When to Use

  • The app exits on launch, shows "rooted device detected", or degrades silently
  • The app works on a stock device but not on your test device or emulator
  • Frida attaches and the process dies immediately, or frida-ps shows nothing
  • objection fails to explore, or hooks stop firing after a few seconds
  • You need a stable instrumentation environment before any other testing

When NOT to Use

  • TLS interception failures — use bypassing-mobile-pinning; a proxy error is a different problem, though detection can masquerade as one
  • The wider assessment — use testing-mobile-applications
  • Framework-specific reversing — use the relevant reversing-* skill
  • Defeating DRM or licensing to pirate an app — out of scope

Identify the Layer First

Detection lives at four layers, and each needs a different response. Working out which one is firing saves the most time.

Layer Signals Response
Java/managed checks RootBeer, File.exists("/system/xbin/su"), package queries for Magisk Hook at the Java layer (objection, Frida)
Native checks in .so stat/access/fopen on su, /proc/self/maps scans Hook libc, or patch the .so
Instrumentation detection Dies only when Frida is attached; port 27042 probes; thread-name scans Hide the agent, not the root
Hardware attestation Play Integrity, SafetyNet, DeviceCheck, App Attest Cannot be hooked — see below
# What does the app reference? Decompile and look before hooking.
apktool d target.apk -o out
rg -n 'RootBeer|isRooted|su\b|magisk|superuser|test-keys|/system/xbin|busybox|xposed|frida' -i out/smali* out/res 2>/dev/null | head -30
rg -n 'SafetyNet|PlayIntegrity|IntegrityManager|attest|DeviceCheck' -i out/ | head

# Native side
unzip -j target.apk 'lib/arm64-v8a/*' -d libs
rg -a -o 'su|/system/bin/su|magisk|frida|gum-js-loop|gmain' libs/*.so | sort -u | head -20

Read the full file on GitHub · 210 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 210 lines · 94 tokens per session scan A 81ec6e79e457

Subscribe to this mod's changes

bypassing-root-jailbreak-detection is a skill published in the GitHub repository trilwu/secskills (211 stars, last pushed 2mo ago), licensed MIT. It adds 94 tokens to every session and 2,380 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

bypassing-root-jailbreak-detection compared with skills from other repositories

bypassing-root-jailbreak-detection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bypassing-root-jailbreak-detectiontrilwu/secskillsSkill2112mo agoMITA94Claude Code
google-mobile-ads-android-migrate-to-next-gengoogle/skillsSkill25ktodayApache-2.0A105Claude Code, Codex
developer-device-platform-basicsgoogle/skillsSkill25ktodayApache-2.0A57Claude Code, Codex
developer-device-platform-device-rungoogle/skillsSkill25ktodayApache-2.0A123Claude Code, Codex
google-mobile-ads-validategoogle/skillsSkill25ktodayApache-2.0A84Claude Code, Codex
wear-compose-m3android/skillsSkill11k7d agoApache-2.0A108Claude Code
leanback-to-compose-tv-migrationandroid/skillsSkill11k7d agoApache-2.0A163Claude Code