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.
npx skills add trilwu/secskills --skill bypassing-root-jailbreak-detectiongit clone --depth 1 https://github.com/trilwu/secskillsWrote 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.
[](https://agentmods.dev/skills/trilwu/secskills/bypassing-root-jailbreak-detection)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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-psshows nothing objectionfails 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
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.
- 2mo ago First seen · 210 lines · 94 tokens per session scan A 81ec6e79e457
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.
bypassing-root-jailbreak-detection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bypassing-root-jailbreak-detectiontrilwu/secskills | Skill | 211 | 2mo ago | MIT | A | 94 | Claude Code |
| google-mobile-ads-android-migrate-to-next-gengoogle/skills | Skill | 25k | today | Apache-2.0 | A | 105 | Claude Code, Codex |
| developer-device-platform-basicsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| developer-device-platform-device-rungoogle/skills | Skill | 25k | today | Apache-2.0 | A | 123 | Claude Code, Codex |
| google-mobile-ads-validategoogle/skills | Skill | 25k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| wear-compose-m3android/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 108 | Claude Code |
| leanback-to-compose-tv-migrationandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 163 | Claude Code |