reth EIP-7928 report: see how a Hackerbane report is structured. Open the report → (opens in a new tab)

Swift

Swift security review

Swift is the language most iOS wallets are written in. Hackerbane audits the Swift that can sign a transaction, open a deep link, or read a key from the Keychain.

What we review

We review the app that holds keys or sends transactions. Typical issues are a Keychain item readable whenever the phone is unlocked, a universal link that signs before the user sees the amount, and certificate pinning that is compiled out of the store build.

  1. Keychain items stored as AfterFirstUnlock, so any process can read them while the phone is on.

  2. Deep links and universal links that trigger a sign or a send with no confirm screen.

  3. App Transport Security exceptions and pinning that is disabled in the release scheme.

  4. Pasteboard or file sharing that leaves a seed or a signed payload behind.

  5. Extensions and widgets that can reach the same signer as the main app.

Advanced Threat Detection

We built our own advanced threat detection stack that is more performant and cheaper than our competitors. We use a state-of-the-art AI harness coupled with world-class senior security engineers with proven experience finding vulnerabilities in well-tested software.

How we review this language

A Swift review follows the same five-stage engagement as every Hackerbane audit. We start from what a link, an extension, or another app on the phone can reach.

Two senior engineers read the code in parallel. We open hostile links and check that a sign still requires the user and a Keychain item still requires unlock.

  1. Scope and threat model

    We lock the repo, the commit, and the links, extensions, and Keychain groups the app exposes, before the review starts.

  2. Architecture and design review

    We trace every path from a link or an extension to a signed payload, and check that the Keychain still requires unlock.

  3. Hybrid code and infrastructure review

    Two senior engineers read the Swift in parallel, with the Xcode scheme you ship and tests that open hostile links.

  4. Exploitability and root-cause analysis

    High and Critical findings ship with a runnable proof as a link or a unit test and the root cause, so the class of bug is closed, not one instance.

  5. Reporting and remediation

    A prioritized report, a live walkthrough, and verification of every in-scope fix within the remediation window.

Tools and practices

We work in the repository you already use. Xcode stays in place. We add tests and proofs, then hand those back with the report.

What you get

  • Findings ordered by severity, each naming the function, the root cause, and a fix.

  • Runnable proofs of concept for High and Critical issues, as a link, an extension, or a unit test.

  • The written report names the commit, each finding, and the retest result.

  • Remediation verification and a final report that reflects the fixed state of the system.

  • The Keychain and deep-link tests used during the review.

How to prepare

What we need before the engagement starts.
#Before review starts
01The app builds and tests run cleanly from a fresh checkout.
02The codebase is stable, with no major refactors planned mid-audit.
03Deep links, Keychain access groups, and extensions are documented.
04Which entitlements ship in the store build is written down.
05Scope is defined: which app, which commit, and which scheme.

Questions

Do you need a physical iPhone?
A simulator covers most of the review. For Keychain access groups and some entitlements we use a device you already provision, or we work from the entitlements file if a device is not available.
Is the Android client in the same engagement?
When both clients share a signer or a backend we scope them together. A check that exists only on iOS is a finding on Android, and the other way around.
What about the backend the app calls?
If the app signs against a service we can review both, so the tap and the server call are covered together.

Next step

Request an audit

Share the repo, which app can sign or send, and your timeline. We reply with a written scope and a fixed quote.