Friday, November 27, 2026

Inside worse_finder: iOS data container enumeration for authorized research

Inside worse_finder: iOS data container enumeration for authorized research

worse_finder is a Swift-based iOS security research tool that enumerates and exports the data containers of installed apps by leveraging the worse_query sandbox escape, intended for authorized device analysis.

Toolmelvinsh/worse_finder — browse and export the data containers of every app on an iPhone via the worse_query sandbox escape
CategoryiOS security research / sandbox analysis
Primary UseEnumerating and exporting per-app data containers on iOS devices for authorized forensic and vulnerability research
Safe UseEducational and documentary analysis for authorized professionals: use only on devices you own or in controlled research labs and sanctioned assessments
Telemetry NoteBecause it operates through a documented sandbox escape primitive, its activity is bounded by iOS sandbox logging and container access audit trails on managed devices

worse_finder is a compact Swift project from the melvinsh/worse_finder repository on GitHub, and it addresses a narrow but genuinely interesting problem in iOS internals: how an investigator or researcher can systematically reach the per-application data containers that iOS normally walls off from every other process. The repository's own description frames the tool as a way to browse and export the data containers of every app installed on an iPhone, using the worse_query sandbox escape as its underlying primitive. That framing matters, because the tool is not a generic file browser; it is a targeted demonstration of what becomes possible once the sandbox boundary between apps is violated.

The mechanics, as far as the repository metadata reveals, depend on worse_query as the escape mechanism. On stock iOS, each third-party application lives in its own sandbox: a private directory tree containing its documents, preferences, caches, Keychain-adjacent state, and databases such as NSUserDefaults plists and SQLite stores. worse_finder builds a traversal layer on top of the escape, letting an operator enumerate installed applications and pull their container contents out for offline inspection. The objective-c topic tag alongside swift suggests the codebase mixes languages in the way typical of iOS internals tooling, where runtime messaging and private Objective-C frameworks often sit beneath a Swift interface.

The topic list on the repository — ios, objective-c, sandbox-escape, security-research, and swift — is unusually honest about what the project is. It is explicitly labeled as security-research tooling rather than a utility with a plausible consumer use case, and the GPL-3.0 license signals an academic or research provenance. With 36 stars and main as the default branch, worse_finder is a niche artifact: it circulates in the small community of iOS sandbox researchers rather than in general-purpose forensic suites, and that context is the right lens through which to read it.

For an authorized workflow, the value proposition is straightforward. Mobile application assessments and forensic examinations frequently need to answer the question of what an app actually persisted to disk — tokens, cached payloads, analytics beacons, or mishandled personal data. On a device the analyst controls, tools like worse_finder turn that question from a per-app git-style source audit into a direct observation of the running artifact's storage footprint. It is the difference between reviewing what the code says it stores and confirming what the container actually contains after execution, which is often where privacy-relevant defects surface.

The sandbox-escape dependency deserves more attention than the browsing feature, because it is the research core of the project. worse_query is the named primitive, and worse_finder is essentially a consumer of it. This division of labor — one component demonstrating the boundary violation, another packaging it into a usable enumeration tool — is a common pattern in iOS research repositories: the exploit-grade logic stays isolated and version-specific, while the tooling around it evolves with the research agenda. Anyone evaluating worse_finder for a lab should therefore treat worse_query's compatibility with specific iOS builds as the primary operational constraint, since sandbox internals shift meaningfully between major releases.

From a defensive perspective, the existence of this tool is instructive rather than alarming. Container isolation is one of iOS's foundational guarantees, and a tool that enumerates all app containers implicitly documents the blast radius of any sandbox escape: not just one app's data, but all of them. Defenders designing mobile threat models can use exactly this framing — if a primitive like worse_query exists on a given iOS version, what data across the app inventory is suddenly co-resident? That question drives decisions about storing sensitive tokens in the Keychain with appropriate access classes instead of raw files, and about encrypting at-rest data within containers rather than relying on sandbox boundaries alone.

It is worth being candid about the evidentiary limits here: the repository's README content is not available in the context for this writeup, so the analysis rests on the repository title, summary, topics, and language metadata. That is enough to characterize the tool's purpose and intended audience with confidence, but not enough to describe installation steps, flags, or output formats without inventing them. An operator evaluating the project should read the source directly on GitHub, paying particular attention to which iOS versions the worse_query primitive targets and how the export path is implemented, since those details determine whether the tool is relevant to a given test device.

On the question of responsible use, the framing should be explicit. worse_finder exists in the same category as any escape-based research tool: it is legitimate in a lab, on a developer-owned device, or inside a sanctioned assessment scope, and it is a violation of both law and ethics when pointed at a device whose owner has not authorized the inspection. The tool does not distinguish between those contexts technically — that judgment belongs entirely to the operator. Publication policy on this site therefore presents it as a documented artifact of iOS security research, not as an operational recipe.

Telemetry-wise, defenders should understand what this class of tool looks like from the platform's vantage point. Sandbox escapes that traverse app containers tend to generate anomalous process behavior — a process touching paths outside its own container — which is exactly the signal profile that iOS integrity monitoring and MDM-flagged access patterns are designed to surface on enrolled devices. In other words, the same architectural weakness that worse_finder exploits for research is also observable: the platform's audit and logging surfaces record container access that crosses expected boundaries, making post-hoc detection feasible on managed fleets.

Taken as a whole, melvinsh/worse_finder is best understood as a piece of tradecraft documentation wrapped in code. It packages a named sandbox-escape primitive into an enumeration capability that makes the consequences of container isolation failures concrete and inspectable. For iOS researchers and authorized assessors, it is a useful lens on per-app storage; for defenders, it is a reminder that app data protection should not lean solely on the sandbox. The project's small footprint and research framing make it a niche but honest entry in the iOS security tooling landscape.

Official project repository for melvinsh/worse_finder.
Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.

Sponsored
Share articleFacebookXLinkedIn

Continue exploring

Browse all articles →

0 comentários:

Post a Comment

Note: Only a member of this blog may post a comment.