iOS platform checks
iOS entitlements, URL schemes and Universal Links review
Entitlements define what iOS lets an app access, while URL schemes and Universal Links define how other apps and web pages can invoke it. Inspect all three statically before trusting a release build.
Reviewing iOS entitlements in an IPA
Every signed iOS executable carries an embedded entitlements plist alongside embedded.mobileprovision. These capabilities are enforced by the kernel and reviewed under MASVS-PLATFORM.
get-task-allow: must befalse(or absent) in release builds. Atruevalue permits debugger attachment on development builds and must never ship to production.keychain-access-groups: defines keychain namespaces shared across apps under the same Apple Team ID; verify sensitive tokens are not exposed to lower-trust apps.com.apple.security.application-groups: opens shared on-disk containers readable and writable by every app or extension in the group.com.apple.developer.associated-domains: binds domains toapplinks:,webcredentials:oractivitycontinuation:; confirm every host is actively owned.aps-environment: separatesdevelopmentfromproductionpush routing and flags misconfigured release archives.
Always inspect entitlements statically on the original customer IPA. Public device re-signing—such as AWS re-signing for a public iPhone foreground-launch check—replaces the provisioning profile and entitlements, so post-re-sign values no longer reflect the shipping build.
Custom URL schemes (CFBundleURLTypes) risks
Custom URL schemes declared under CFBundleURLTypes in Info.plist (such as myapp://callback) let any website or installed app open your app. Because iOS does not bind a custom scheme to a single developer team, any installed app can register the same scheme.
This introduces two core risks. First, scheme hijacking allows another app to intercept OAuth redirects, password-reset links or magic-login tokens; use ASWebAuthenticationSession or Universal Links (with PKCE for OAuth) instead. Second, untrusted query parameter injection reaches application(_:open:options:) or scene(_:openURLContexts:) from untrusted callers. Parse every parameter strictly, reject unexpected hosts or paths, and enforce session authorization inside the destination screen.
Universal Links and apple-app-site-association (AASA)
Universal Links pair an entitlement such as applinks:example.com with a JSON file hosted over HTTPS at https://example.com/.well-known/apple-app-site-association without redirects. Because Apple validates the Team ID and Bundle ID listed in the AASA file against the domain's TLS certificate, another app cannot hijack the domain.
Domain binding alone does not make a route safe. Fetch the live AASA file during review and inspect the applinks section for overly broad wildcard entries like "*" or "/*" that route arbitrary web URLs directly into sensitive in-app screens. Prefer explicit components allowlists and exclude administrative or logout paths. Inside the app, validate every incoming NSUserActivity of type NSUserActivityTypeBrowsingWeb by checking webpageURL host, path structure and query parameters before navigating or mutating state.
| Surface | Primary risk | What to verify |
|---|---|---|
| Entitlements | Overbroad capabilities or debuggable release binary | get-task-allow is false; keychain and app groups are minimal on the original IPA. |
CFBundleURLTypes | Scheme hijacking and parameter injection | No secrets or OAuth redirects over custom schemes; strict parsing in open-URL handlers. |
| Universal Links / AASA | Wildcard routing into privileged views | Tight path allowlists in AASA; full NSUserActivity URL and session validation. |
WKWebView & IPC | Untrusted web loads or JS bridge abuse | Origin checks in WKScriptMessageHandler; allowlisted URLs only. |
WKWebView and IPC hygiene
Deep links frequently terminate in a WKWebView or interact with other installed apps, making inter-process and web boundaries part of the same attack surface. Review LSApplicationQueriesSchemes in Info.plist to confirm the app only queries schemes it genuinely needs for handoffs rather than maintaining a wide list that enables device app-inventory probing.
Whenever a URL scheme or Universal Link passes a target URL into a WKWebView, enforce an explicit https scheme and host allowlist before calling load(_:), and verify WKNavigationDelegate decisions block unexpected redirects or file:// loads. If the app registers JavaScript bridges via WKScriptMessageHandler on a WKUserContentController, inspect message.frameInfo.securityOrigin (protocol, host and port) and isMainFrame on every callback so an embedded third-party iframe or untrusted page cannot invoke privileged native methods.
Evidence to capture in a validator report
A thorough validator report separates static configuration facts from runtime-confirmed exploitability. Record the original IPA SHA-256 digest and build type (noting that FairPlay-encrypted App Store binaries prevent code-level handler analysis), the raw entitlements extracted prior to any device re-signing, the CFBundleURLTypes and LSApplicationQueriesSchemes entries from Info.plist, the retrieved AASA JSON with any wildcard rules highlighted, and the exact handler or WKScriptMessageHandler symbols involved.
Clearly mark unverified deep-link parameter flows as candidates until tested on an authorized device with concrete URLs, session states and observed screen or network outcomes. You can see how AppBreach documents static iOS findings and explicitly discloses public iPhone re-signing limits in public-iphone.pdf on the sample reports page, and review our authorization and signed scope guide before testing live links or production AASA endpoints.