Kotlin
Kotlin security review
Kotlin is the language most Android wallets and a growing number of JVM services are written in. Hackerbane audits the Kotlin that can sign a transaction or expose a key to another app.
scope
What we review
We review the app or service that holds keys or sends transactions. Typical issues are an exported activity that signs, a JavaScript bridge that accepts any origin, and a keystore read that writes the key into shared preferences.
Exported activities, services, or receivers that another app can call to sign or send.
WebView JavaScript bridges that run wallet methods with no origin check.
Android Keystore use that falls back to plaintext storage on a failed unlock.
Deep links that trigger a transfer before the user sees the amount.
JVM services that share a signer with the app and skip the same checks.
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 Kotlin review follows the same five-stage engagement as every Hackerbane audit. We start from what another app, a page, or a deep link can reach.
Two senior engineers read the code in parallel. We install a hostile app or page next to the wallet and check that a sign still requires the user.
Scope and threat model
We lock the repo, the commit, and the components another app, a page, or a deep link can reach, before the review starts.
Architecture and design review
We trace every path from an intent or a JavaScript call to a signed payload, and check that the user still has to approve it.
Hybrid code and infrastructure review
Two senior engineers read the Kotlin in parallel, with the Gradle build you ship and tests that drive exported components and the WebView.
Exploitability and root-cause analysis
High and Critical findings ship with a runnable proof in an app or a page and the root cause, so the class of bug is closed, not one instance.
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. Gradle stays in place. We add instrumentation 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 an app, a page, 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 intent and WebView tests used during the review.
How to prepare
| # | Before review starts |
|---|---|
| 01 | The app or service builds and tests run cleanly from a fresh checkout. |
| 02 | The codebase is stable, with no major refactors planned mid-audit. |
| 03 | Exported components, deep links, and WebView origins are documented. |
| 04 | How keys are stored and when biometric unlock is required is written down. |
| 05 | Scope is defined: which app or service, which commit, and which build. |
Other pages
Questions
- Do you review the AndroidManifest and the Kotlin together?
- Yes. An exported activity is a finding even if the Kotlin function looks fine. We read the manifest next to the code that handles the intent.
- What about a Kotlin backend with no Android app?
- We review that as a JVM service: authorization, deserialization, and any signer it holds. The same engagement model applies.
- Can you review the iOS app in the same job?
- Yes. When both clients share a signer or a backend we scope them together so a check missing on one side is not treated as out of scope.
Next step
Request an audit
Share the repo, which app or service can sign or send, and your timeline. We reply with a written scope and a fixed quote.