Skip to content
Skillpedia
Security6.5k Β· #14170

reverser-ios-static

What it does

It describes how to unpack an iOS app file and read its settings, certificates and code structure. It is for security reviewers and developers checking their own iOS apps.

When to use it

  • βœ“When a developer wants to check an iPhone app's permissions and network security settings before release.
  • βœ“When a reviewer needs to read the entitlements in an iOS app's provisioning profile.
  • βœ“When an analyst needs to list the custom web links an iPhone app responds to.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/ios-static/SKILL.md

Copy 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

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/ios-static/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCheck the permissions and network settings in this iPhone app file.”

5 new skills a week. 1 minute to read.

How it works

The skill tells the AI to unpack the app package, read its settings files, check the provisioning profile and inspect the program's structure. The AI summarizes each finding.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

iOS IPA Static Analysis

Acquire the IPA

# Option 1: App Store (encrypted FairPlay β€” needs decryption from a jailbroken device)
# Option 2: ipatool β€” pulls IPAs from your Apple ID
ipatool download -b com.target.app

# Option 3: Frida-iOS-Dump (jailbroken device required)
# Pulls a decrypted IPA from the device's memory
frida-ios-dump -o app.ipa "<bundle-id>"

Unpack the IPA

unzip app.ipa -d app/
# Structure:
#   app/Payload/<AppName>.app/
#     <AppName>                  β€” Mach-O binary
#     Info.plist                  β€” metadata
#     embedded.mobileprovision    β€” provisioning profile
#     en.lproj/, Frameworks/, ...

Quick triage

# 1. Info.plist β€” capabilities, URL schemes, ATS exceptions
plutil -p app/Payload/Foo.app/Info.plist
# Look for:
#   CFBundleURLTypes           β€” custom URL schemes (deep links)
#   LSApplicationQueriesSchemes β€” schemes the app probes
#   NSAppTransportSecurity      β€” ATS exceptions (HTTP allowed?)
#   UIBackgroundModes          β€” long-running capabilities
#   com.apple.developer.*       β€” entitlements

# 2. Embedded provisioning profile β€” entitlements + cert chain
security cms -D -i app/Payload/Foo.app/embedded.mobileprovision | plutil -p -
# Look for:
#   Entitlements (push, keychain access, app groups, network extension)
#   Developer team ID (Apple-issued vs Enterprise)

# 3. Mach-O architecture + protection flags
file app/Payload/Foo.app/Foo
otool -hV app/Payload/Foo.app/Foo
# Flags: PIE (always on for iOS), STACK_PROTECT, MH_NO_HEAP_EXECUTION

# 4. Check encryption status
otool -l app/Payload/Foo.app/Foo | grep -A4 LC_ENCRYPTION_INFO
# cryptid 1 = encrypted (decrypt via frida-ios-dump first)
# cryptid 0 = ready to analyze

Class-dump (Objective-C metadata)

# class-dump-z, class-dump-ng β€” extract Objective-C interface
class-dump-z -H app/Payload/Foo.app/Foo -o headers/
# Output: one .h file per class. Reveals method names, ivars, properties.

# class-dump (newer):
class-dump --arch arm64 -H app/Payload/Foo.app/Foo -o headers/

# For Swift symbols: swift-demangle
nm app/Payload/Foo.app/Foo | swift-demangle | head

Headers tell you:

  • Class hierarchy (subclasses of NSObject, UIViewController, etc.)
  • Method signatures (often reveal business logic intent)
  • Properties (often reveal stored data)
  • Use of NSURLSession / NSURLConnection (network) / Security.framework (crypto)

Disassembly

# Hopper Disassembler β€” UI-focused, decent Obj-C support
# IDA Pro β€” best Objective-C / Swift but $$$
# Ghidra β€” free, growing iOS support
# rizin / radare2 β€” CLI:
r2 -A app/Payload/Foo.app/Foo
> afl                                  # function list
> s sym._-[FooViewController login:]   # navigate to a method
> pdf                                   # disassemble + decompile (Cutter UI helps)

Things to look for

Hardcoded secrets

strings app/Payload/Foo.app/Foo | grep -iE 'api[._-]?key|secret|token|password|bearer'
strings app/Payload/Foo.app/Foo | grep -iE '^[A-Za-z0-9+/]{40,}={0,2}$'   # base64 candidates
strings app/Payload/Foo.app/Foo | grep -iE 'sk_live|pk_live|AKIA[0-9A-Z]{16}|AIza[0-9A-Za-z\-_]{35}'  # AWS, Stripe, GCP

URLs / Endpoints

strings app/Payload/Foo.app/Foo | grep -iE 'https?://' | sort -u

Backend / firebase config

find app/Payload/Foo.app -name '*.plist' -exec plutil -p {} \; 2>/dev/null | grep -iE 'google|firebase|amazon|azure|api'
find app/Payload/Foo.app -name 'GoogleService-Info.plist'   # Firebase config

Insecure ATS exceptions

plutil -p app/Payload/Foo.app/Info.plist | grep -A20 NSAppTransportSecurity
# NSAllowsArbitraryLoads = true β†’ app allows HTTP. Why?
# NSExceptionDomains β†’ list of allowed-HTTP domains

Insecure file storage

Search the binary for:

  • NSUserDefaults-stored secrets (no encryption)
  • kSecAttrAccessibleAlways (keychain item accessible always β€” no device-lock requirement)
  • NSFileProtectionNone (file readable when device locked)

URL scheme handlers

plutil -p app/Payload/Foo.app/Info.plist | grep -A4 CFBundleURLSchemes
# Each scheme is a potential entry point. Check what method handles it
# in headers/ β€” `application:openURL:` or `scene:openURLContexts:`.

Embedded JS bridge (WebView, React Native, Cordova)

find app/Payload/Foo.app -name '*.bundle' -o -name 'main.jsbundle'   # React Native
find app/Payload/Foo.app -name 'cordova.js'                          # Cordova
# The
FAQ

Does it run the iPhone app?

No. It is static review, which means reading the files without running the app.

What settings does it check?

It checks app settings, custom URL schemes, network exceptions and background modes.

Does it need a jailbroken phone?

The skill mentions a jailbroken device only as one way to get a decrypted copy of the app.

Details

Original description by the author

iOS IPA static analysis β€” class-dump-z / class-dump-ng, Hopper / IDA / Ghidra for Mach-O ARM64, Objective-C runtime introspection, Swift demangling, App Transport Security check, plist analysis, embedded provisioning profile parse. For dynamic Frida/Objection see mobile/SKILL.md.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14170
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills