macOS.
What your build
gives away.
A Mac app is a bundle of binaries, frameworks, helpers and resources. Signing helps establish integrity; it does not make that bundle confidential. We inspect what ships and the permissions it can use.
Get a free first look Explore the build
- .app
- Mach-O
- Info.plist
- entitlements
- helper tools
- Sparkle feed
01 / Inside the build
A package.
Many ways in.
Select a layer to see what it contains and which tools can read it.
.app bundle layout
A folder that Finder shows as one icon. Apple's bundle documentation places the main executable in Contents/MacOS/, resources in Contents/Resources/, frameworks and dynamic libraries in Contents/Frameworks/, plug-ins and app extensions in Contents/PlugIns/, XPC services in Contents/XPCServices/ and privileged helper tools in Contents/Library/LaunchServices/.
Right-click, Show Package Contents. Every file is on disk in the open; nothing is packed or encrypted by default for apps distributed outside the Mac App Store.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Mach-O universal binary
Machine code for one or more architectures (typically arm64 and x86_64 slices in one file), load commands naming every linked library and @rpath search path, and string constants. Objective-C binaries also carry runtime metadata with class, method and property names; Swift binaries carry type metadata and mangled symbol names.
Disassemblable and decompilable with Hopper, Ghidra or IDA. Objective-C class and method names can be dumped as headers with class-dump, which often reads like a map of the app's features.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Info.plist
Bundle identifier, version, minimum OS, URL schemes, document types, privacy usage strings, and keys read by embedded frameworks, such as Sparkle's update feed URL (SUFeedURL) and public signing key (SUPublicEDKey). Developers also drop their own config and API keys here.
Plain XML or binary property list; readable with plutil or any text editor after conversion.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Code signature and entitlements
The developer's Team ID, the signing certificate chain, whether the Hardened Runtime is on, and the entitlements the app claims, including runtime exceptions such as com.apple.security.cs.disable-library-validation.
Fully readable with codesign -dv --entitlements - on the app. Weakened runtime settings are visible to anyone, including attackers looking for injectable apps.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Embedded frameworks, dylibs and helper tools
Third-party frameworks (Sparkle, crash reporters, analytics and licensing SDKs) with their exact versions, plus helper executables: XPC services, login items, and privileged helpers that a LaunchDaemon plist runs as root from /Library/PrivilegedHelperTools.
Each is its own Mach-O and can be inspected individually; framework Info.plists reveal versions that can be matched against known CVEs. A helper's XPC interface and its connection-acceptance code can be decompiled.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Resources: Assets.car, nibs/storyboards, strings, configs
Compiled asset catalogs (Assets.car), compiled interface files (.nib), localized.strings files, bundled JSON/plist configuration, certificates, scripts and sometimes SQLite databases or ML models.
Strings and plists are directly readable; Assets.car and compiled nibs need extraction tools but are not encrypted. UI text and config often reveal hidden or paid-tier features.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Installers and update feeds (DMG, PKG, Sparkle appcast)
DMGs are disk images holding the .app; PKGs can contain preinstall and postinstall scripts that run as root. Sparkle-based apps poll an appcast (RSS-style XML) listing versions, download URLs and EdDSA signatures.
PKGs can be expanded with pkgutil --expand and their scripts read as plain text. The appcast URL sits in Info.plist and the feed itself is publicly fetchable.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Tools that can read these layers
Hopper Disassembler · Ghidra / IDA · class-dump · otool / nm · codesign · LLDB · Frida · pkgutil / plutil
02 / The method
One build.
Six ways to inspect it.
Agents inspect the package, trace its behaviour and collect evidence through six stages. An engineer verifies each finding before it enters your report.
Unpack.
Opens the build and lists every file, format and layer.
Tools used in this stage
- inspect_artifact
- extract_artifact
- inspect_macho
- inspect_signature
Map.
Finds the entry points, permissions, servers and what talks to what.
Tools used in this stage
- inspect_plist
- trace_dylib_resolution
- project_apple_application_graph
- decode_interface_builder
Read.
Reads code and maps recoverable names, logic and sources.
Tools used in this stage
- get_objc_classes
- analyze_swift_types
- demangle_swift
- procedure_pseudo_code
Hunt.
Searches for keys, endpoints, checks and content, and ranks them by cost.
Tools used in this stage
- search_strings
- inspect_keyed_archive
- find_xrefs_to_name
- trace_application_feature
Run.
Launches the build and watches it, to confirm what the reading suggests.
Tools used in this stage
- capture_native_ui_scenario
- observe_native_ui
- observe_native_calls
- instrument_with_frida
Prove.
Packs the evidence for the engineer's check and the re-test.
Tools used in this stage
- build_reconstruction_obligation_ledger
- export_evidence_bundle
- unpack
inspect_signature Editor.appsigned, notarised, hardened runtime on
- map
inspect_plist Info.plistSparkle feed URL, 2 URL schemes
- map
trace_dylib_resolution1 helper tool installed as root
- read
get_objc_classes HelperToolXPC listener accepts any client
- read
analyze_swift_types LicenceStoretrial end date kept in user defaults
- hunt
search_strings "api.|key"1 analytics write key
- run
observe_native_callshelper runs a path it was handed
- prove
export_evidence_bundle4 findings, ranked, sent to the engineer
A written example of the report format. Replay is condensed; the real time budget is agreed before a run and printed on the report.
03 / Exposure areas
What can
escape the build.
The places we look on macOS, the business risk behind them, and the changes that reduce exposure.
Readability alone is not a vulnerability. Impact depends on what the recovered material lets someone do.
01Client-side licence checks patched and redistributed
Many Mac apps decide paid status with a local check, often a single method such as isRegistered or a flag in user defaults, which is easy to find via Objective-C metadata and patch. Patched copies are then repackaged and spread on warez sites, sometimes bundled with malware.
Verify signed licence receipts with server involvement for premium actions, and avoid a single trusting boolean that gates every paid feature.
02Hardcoded API keys and secrets in bundle
API keys, backend tokens and service passwords end up as string constants in the Mach-O, in Info.plist, or in bundled JSON and plist files. Anyone with the DMG can read them without running the app.
Remove secrets from the bundle, rotate them, and broker privileged calls through your own backend with per-user tokens.
03Insecure or outdated Sparkle update setup
Apps that serve their appcast or downloads over plain HTTP, ship an old Sparkle version, or skip EdDSA signing let an attacker on the network or at the server substitute an update. Sparkle's own documentation tells developers to serve updates over HTTPS and sign archives with an EdDSA key whose public half goes in Info.plist as SUPublicEDKey.
Update to the current Sparkle release, serve the appcast and archives over HTTPS, and sign every update with EdDSA.
04Privileged helpers and XPC services accept any client
Helpers that run as root, or XPC services that inherit the app's privacy (TCC) permissions, frequently accept connections without verifying the caller's code signature, or verify it by process ID, which can be raced. Any local process can then ask the helper to move files, change permissions or install packages as root.
Check the connecting client's code signature against your Team ID using the audit token (on macOS 13+, NSXPCConnection.setCodeSigningRequirement) and expose only narrow, validated operations.
05Library validation disabled, allowing dylib injection
The Hardened Runtime blocks loading libraries not signed by Apple or the same Team ID, but the com.apple.security.cs.disable-library-validation entitlement turns that off. Combined with relative or @rpath library paths, it lets another program inject code that inherits the app's camera, microphone and other permissions.
Remove the disable-library-validation exception unless you truly load third-party-signed plug-ins, and use absolute or @executable_path-anchored load paths.
06Homemade signature checks and installer race windows
Updaters that verify packages by parsing command-line output or checking only part of a signature can be fooled by crafted file names or certificates. Leaving a downloaded package writable between verification and root installation creates a time-of-check to time-of-use gap.
Verify signatures with Apple's Security framework APIs against your exact Team ID, and move packages into a root-owned location before checking and installing them.
04 / Sample findings
From recovered evidence
to a fix you can check.
Explore three illustrative macOS reports. Switch to the re-test to see what the next build changes.
Illustrative example · Mac disk and system utility with an optional root helper (Swift/Objective-C, Developer ID, PKG installer)
A helper with too much authority.
The privileged helper installed in /Library/PrivilegedHelperTools accepts every incoming XPC connection and exposes a method that copies a caller-supplied file to a caller-supplied path as root. Any local process can overwrite a LaunchDaemon plist and get persistent root code execution.
The full teardown records the recovered artifact, its business impact and a fix for your stack.
// HelperTool -[HelperDelegate listener:shouldAcceptNewConnection:] (Hopper pseudocode)
BOOL r = YES;
conn.exportedInterface = [NSXPCInterface interfaceWithProtocol:@protocol(HelperProto)];
conn.exportedObject = self;
[conn resume];
return r; // no audit-token or Team ID check
// exported: -copyItemAtPath:toPath:withReply:These fictional examples show the report format. All names, hostnames and credentials are made up. They do not describe real customer work.
05 / On the record
The risk
has a history.
These reports show what other researchers found in released software. Each links to the original source.
- 2025
Missing authentication in Sparkle helpers
CERT Polska reported authorisation flaws in Sparkle helper services, including access to protected files and a route to privileged installation. The advisories identify versions before 2.7.2 as affected.
CERT Polska (16 September 2025) (opens in a new tab) - 2023
A privileged helper with a caller-validation flaw
IBM X-Force documented CVE-2023-40713 in GOG Galaxy for macOS. Its analysis showed how validation based on a process ID could be defeated, allowing a local process to misuse a privileged helper.
IBM X-Force (opens in a new tab)
What does a macOS security teardown inspect?
A Mac app is a bundle of binaries, frameworks, helpers and resources. Signing helps establish integrity; it does not make that bundle confidential. We inspect what ships and the permissions it can use. An engineer verifies the findings, explains their business impact and writes fixes for your stack.
Does signing a Mac app prevent reverse engineering?
Signing helps establish integrity; it does not make an application bundle confidential. Binaries, frameworks, helpers and resources still need review. We inspect what the release contains and the permissions its components can use.
What does a macOS teardown report include?
The paid teardown includes recovered evidence, findings ranked by business impact and a fix written for your stack. Audit and re-test adds a same-budget check of the updated build and a dated statement. The free first look reports counts and excludes recovered code and credential values.
Page updated . Samples are illustrative; public research is attributed above.
Your build. Your evidence.
See what
yours gives away.
Start with counts of exposed keys, files and readable logic. A full teardown adds verified evidence, business impact and a fix written for your stack.
Only software you own or are authorised to submit. No code or credential values in the free counts-only result.