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

Java

Java security review

Java is the language behind a lot of exchanges, custody services, and Android wallets. Hackerbane audits the Java that holds keys, talks to a chain, or decides who can move funds.

What we review

We review the services and apps that hold keys or send transactions, not every package in a monorepo. Typical issues are an ObjectInputStream on untrusted bytes, an admin method with no caller check, and a transfer that sends before it debits.

  1. Deserialization of untrusted bytes into objects that run code on load.

  2. Admin and owner methods that change a role or a feed with no caller check.

  3. Withdraw and transfer paths that send value before they update balances.

  4. JDBC and query builders that take a string from the caller.

  5. Android components that export a signer or a keystore to other apps.

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 Java review follows the same five-stage engagement as every Hackerbane audit. We start from the bytes the service accepts and the keys it can reach.

Two senior engineers read the code in parallel. We follow a request or a serialized blob through to the point where it can send funds or change an owner.

  1. Scope and threat model

    We lock the repo, the commit, and the services or apps that can reach a key, including uploaded files and admin methods, before the review starts.

  2. Architecture and design review

    We trace every path from a request or a serialized blob to a signed payload or a balance change, and check who is allowed to call it.

  3. Hybrid code and infrastructure review

    Two senior engineers read the Java in parallel, with the build you ship and tests that drive admin and loader paths with hostile input.

  4. Exploitability and root-cause analysis

    High and Critical findings ship with a runnable proof 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. Maven or Gradle 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.

  • 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 request and loader tests used during the review.

How to prepare

What we need before the engagement starts.
#Before review starts
01The project builds and tests run cleanly from a fresh checkout.
02The codebase is stable, with no major refactors planned mid-audit.
03How the service is hosted and what it can sign or send are documented.
04Where keys, configs, and uploaded files come from is written down.
05Scope is defined: which service or app, which commit, and which deployment.

Questions

Do you review Spring and Android in the same engagement?
Yes, when they share a key or a signer. We scope the service, the app, and the boundary between them so a finding on one side is not treated as out of scope on the other.
Is deserialization really still a problem?
It is, when a service still reads ObjectInputStream or a similar format from the network or a file. We treat that path as untrusted input, the same way we treat a parser in C.
Can you review the contracts the service calls?
Yes. When the Java signs or sends a transaction we can review both, so the service and the contract it calls are covered together.

Next step

Request an audit

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