PHP
PHP security review
PHP is still the language behind a lot of exchange frontends, admin panels, and payment pages. Hackerbane audits the PHP that can sign a withdrawal, include a file, or unserialize a request.
scope
What we review
We review the pages and APIs that hold keys or move funds. Typical issues are unserialize on a cookie or a POST body, an include built from a request path, and a withdrawal that runs with no session check.
unserialize, phar, and object injection on cookies, jobs, or POST bodies.
include and require paths built from a query string or an uploaded name.
Withdraw and admin routes that skip CSRF, session, or role checks.
SQL built with string concatenation instead of a bound parameter.
File uploads that keep a .php extension under a web-reachable directory.
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 PHP review follows the same five-stage engagement as every Hackerbane audit. We start from the request the app accepts and the keys or payouts it can reach.
Two senior engineers read the code in parallel. We follow a cookie, an upload, or a query through to the point where it can run code or send funds.
Scope and threat model
We lock the repo, the commit, and the routes that can reach a key or a payout, including uploads and serialized jobs, before the review starts.
Architecture and design review
We trace every path from a request, a cookie, or an upload to code execution or a send, and check who is allowed to call it.
Hybrid code and infrastructure review
Two senior engineers read the PHP in parallel, with the Composer tree you ship and tests that drive loader and include paths with hostile input.
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.
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. Composer and PHPUnit stay 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
| # | Before review starts |
|---|---|
| 01 | The project installs and tests run cleanly from a fresh checkout. |
| 02 | The codebase is stable, with no major refactors planned mid-audit. |
| 03 | How the app is hosted and what it can sign or pay out are documented. |
| 04 | Where uploads, sessions, and serialized jobs come from is written down. |
| 05 | Scope is defined: which app, which commit, and which deployment. |
Other pages
Questions
- Do you review Laravel, Symfony, or a custom stack?
- Yes. We review the framework you ship, including middleware and the jobs it deserializes. A custom front controller gets the same treatment.
- Is a WordPress plugin in scope?
- If it can move funds, hold a key, or run on the same host as the wallet admin, yes. We scope the plugin and the hooks it registers, not the whole CMS.
- Can you review the JavaScript the page loads?
- Yes. When the page can call a signer we review the PHP and the JavaScript together, so the form and the request it builds are both covered.
Next step
Request an audit
Share the repo, what the PHP app can sign or send, and your timeline. We reply with a written scope and a fixed quote.