dynamic
What it does
This guide covers runtime testing of iOS apps on a jailbroken test device, using instrumentation tools. It is for app developers and testers who are authorized to examine an app and want to see how it behaves while running.
When to use it
- ✓When an authorized test needs to see how an iOS app behaves while running.
- ✓When a team wants to check whether its app's certificate pinning holds up on a test device.
- ✓When an app stores data in the keychain and needs a runtime review.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/mobile/ios/dynamic/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please help me check how our iOS app stores its login data at runtime, using our own test device.”
5 new skills a week. 1 minute to read.
How it works
The agent sets up runtime tools on a test device, observes how the app stores and sends data, and reports which protections are working and which are not.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
iOS Dynamic Instrumentation Playbook
Jailbroken device required for full Frida/Objection access. Most enterprise and bounty-program iOS testing falls here. For static-only analysis (no jailbreak) see
reverser/ios-static/SKILL.md.
Prerequisites
- iOS device jailbroken with palera1n (A8-A11 on iOS 16+),
checkra1n (A5-A11, up to iOS 14.8), or unc0ver (A12+ up to
iOS 14.8 with supported blobs). Confirm with
uname -vin SSH. - Frida server installed via Cydia / Sileo (search "Frida") or manually:
# SSH to device (default Cydia SSH cred: alpine)
ssh root@<device-ip>
# Verify jailbreak + SSH works
id # should return uid=0(root)
uname -v
- Host side:
pip install frida-tools objection - Confirm connectivity:
frida-ps -U # lists processes on USB-connected device
Path A: SSL Pinning Bypass
SSL Kill Switch 2 / 3
Install via Cydia/Sileo (search "SSL Kill Switch 2" or "SSL Kill Switch 3" for iOS 15+). Toggle per-app in Settings → SSL Kill Switch. Relaunch the app; verify traffic appears in Burp (set device proxy to Burp listener IP:8080, install Burp CA as trusted profile via Settings → General → VPN & Device Management).
Objection pinning disable (preferred for on-demand toggle)
# Attach to running app
objection --gadget "TargetApp" explore
# In the Objection REPL:
ios sslpinning disable
# Verify: open the app, check Burp proxy for decrypted HTTPS
Frida codeshare scripts (NSURLSession / AFNetworking / TrustKit)
# Universal iOS pinning bypass (covers NSURLSession, Alamofire, AFNetworking)
frida -U -f com.target.bundle \
--codeshare "wan-make/ios-ssl-pinning-bypass" \
--no-pause
# TrustKit-specific bypass
frida -U -f com.target.bundle \
--codeshare "machorka/trustkit-bypass" \
--no-pause
Manual Frida script for custom pinners
// Hook SecTrustEvaluate + SecTrustEvaluateWithError
// Load with: frida -U -f com.target -l bypass-pin.js
if (ObjC.available) {
var SecTrustEvaluateWithError = Module.findExportByName(
"Security", "SecTrustEvaluateWithError");
if (SecTrustEvaluateWithError) {
Interceptor.replace(SecTrustEvaluateWithError,
new NativeCallback(function(trust, error) {
if (error !== 0) Memory.writePointer(error, ptr(0));
return 1; // errSecSuccess
}, 'int', ['pointer', 'pointer']));
}
}
Verify in Burp: HTTPS traffic from the target app appears decrypted.
Path B: Jailbreak-Detection Bypass
Objection built-in
objection --gadget "TargetApp" explore
# Disable JB detection (covers fileExistsAtPath Cydia checks + fork())
ios jailbreak disable
Common detection patterns to hook manually
| Pattern | API to hook |
|---|---|
File presence (/Applications/Cydia.app, /bin/bash) |
NSFileManager fileExistsAtPath: |
URL scheme (cydia://) |
UIApplication canOpenURL: |
fork() syscall return |
fork (libc) |
/proc/self/maps inspection |
open / fopen |
| Dyld image name scan | _dyld_get_image_name |
// Frida: hook fileExistsAtPath to suppress JB file checks
var NSFileManager = ObjC.classes.NSFileManager;
var orig = NSFileManager["- fileExistsAtPath:"].implementation;
Interceptor.replace(orig, ObjC.implement(
NSFileManager["- fileExistsAtPath:"],
function(self, sel, path) {
var p = ObjC.Object(path).toString();
var jbPaths = ["/Applications/Cydia.app", "/bin/bash",
"/usr/sbin/sshd", "/etc/apt", "/private/var/lib/apt/"];
for (var i = 0; i < jbPaths.length; i++) {
if (p.indexOf(jbPaths[i]) !== -1) return 0; // false
}
return orig(self, sel, path);
}
));
Liberty Lite / A-Bypass (tweak-side)
Install Liberty Lite or A-Bypass from Cydia/Sileo → enable per-app toggle before launch. Faster than scripting for commodity JB checks.
Path C: Keychain Dump
Objection keychain dump
objection --gadget "TargetApp" explore
# Dump all items accessible in app context
ios keychain dump
# Output: account, service, access group, kSecAttrAccessible class, value
Frida hook on SecItemCopyMatching
// Log every keychain query result
var SecItemCopyMatching = Module.findExportByName(
"Security", "SecItemCopyMatching");
Interceptor.attach(SecItemCopyMatching, {
onEnter: function(args) { this.result = args[1]; },
onLeave: funct
FAQ
Why is a jailbroken device needed?
The guide says full runtime access needs a jailbroken device, while static checks need no jailbreak.
What is the keychain?
It is the secure storage area on iOS for passwords and tokens.
What should be done with a finding?
The guide treats each runtime result as a lead to confirm, not a proven remote vulnerability.
Details
Original description by the author
iOS dynamic instrumentation on jailbroken device — Frida/Objection setup, SSL Kill Switch pinning bypass, jailbreak-detection bypass, keychain dump, biometric/LAContext bypass, and ObjC runtime method hooking.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14110
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.