What a code audit is
An independent review of an application that tells you what in the code is a risk, before that risk becomes an outage or a leak.
Tools cover part of it, but the most important bugs are found by a person reading the logic. The report orders the findings by urgency, and each one has its place in the code, the impact and a proposed fix.
We do code review every day: on our own projects and in other people's open source projects, where our changes pass the maintainers' review. We describe this on our open source page.
- Risks in order
- First what could cause a leak or an outage, then technical debt.
- Pinned to the code
- Every finding has a file, a line and a proposed fix.
- A call about the results
- We walk through the report on a call, so nothing stays unclear.
What we check
Four areas where a bug costs the most.
- 01 Security
- 02 Code quality
- 03 Dependencies
- 04 Deployment and infrastructure
MapFour areas where a bug costs the most.
authentication and permissionsinput and database queriessecrets in the repository
The highest-priority findings usually sit here.
structure and duplicationerror handlingwhether the code can be changed safely
outdated librariesknown vulnerabilitiesan update plan
how code reaches the serverbackupswhether the environment can be rebuilt
Technologies
- We audit what we write every day, including TypeScript and JavaScript, React, Node.js, PHP, Python, Go, Rust and C#.
- We raise any other technology before quoting, not mid-audit.
A report that helps you decide
The report is there to help you decide, not just to count bugs. Hover a number to see what each part means.
Code audit: a client panel
- Scope
- backend, panel, deployment
- Conclusion
- keep developing after the part 1 fixes
Every report has the same layout: a summary, findings from the most urgent, the place in the code and the fix.
How we rank findings
The scale we use in reports. Each finding also says why it got its priority.
| Priority | What it means | When to fix |
|---|---|---|
| Critical | a data leak, account or money takeover | before the next release |
| High | an outage or an easily exploited weakness | in the next work stage |
| Medium | a conditional risk, e.g. no off-server backup | in the plan for the coming weeks |
| Low | technical debt and readability | when that area changes anyway |
A code audit, a penetration test and a scanner
Three different things, often confused. An audit often comes before a pentest, as it removes the obvious bugs more cheaply.
| Code audit | Penetration test | A scanner alone | |
|---|---|---|---|
| Looks at the source code | Yes | No | Yes |
| Attacks the running app from outside | No | Yes | No |
| Finds permission logic flaws | Yes | Partly | No |
| Points to the file and the fix | Yes | No | Partly |
| Filters out false alarms | Yes | Yes | No |
How the audit works
From repository access to a walk-through of the report.
- 1
Scope
We agree which modules and environments to audit, the goal of the audit and what matters most to you.
a quote and a report date
- 2
Business context
We ask which parts of the app make money and where customer data lives, because that sets the priority of findings.
a list of the key areas
- 3
Access
We read the code under a confidentiality agreement, with read-only access to the repository and, for the server part, to the configuration.
read-only access
- 4
Automated pass
Tools check vulnerable libraries, secrets in the repository and code quality through static analysis.
a list of candidates to check
- 5
Checking the results
We check the tool results by hand. Only what can be reproduced and is a real problem stays.
results without false alarms
- 6
Manual review
We read the logic: authentication and permissions, input and queries, architecture and tests.
confirmed findings
- 7
Deployment and infrastructure
When the scope covers it, we check how code reaches the server, the backups and whether the environment can be rebuilt.
an assessment of deployment and backups
- 8
Report
Findings ranked by urgency, each with a file, line, impact and a proposed fix.
a report with a summary
- 9
Walk-through and fixes
We go through the report with you or your team and answer questions. Fixes are a separate order.
a decision on what next
07
When it is worth it and how we keep the report useful
For anyone making a decision based on code they do not read themselves.
- 01
When it is worth it
Before a purchase or investment
You check what the product you are buying really contains: whether the code is safe, whether it can grow and what it will cost to put it in order. The report helps you settle the price and the terms.
- 02
Before accepting a project
A second opinion before you pay the contractor's final instalment. You know what to have fixed under warranty and what is already your cost, in writing for the acceptance talk.
- 03
Before a security review
You remove the obvious bugs before an outsider sees them.
- 04
When everything slows down
Every change takes longer and breaks something else. We show which parts of the code slow the team down and where to start, so new features go in quickly again.
- 05
Before a takeover
You want to know whether the code can grow or needs a restart. You get the list of risks and an estimate of the work for both paths. See also project takeover.
- 06
Business context
Priority depends on impact, not on the number of lines. Before we start, we ask which parts of the app earn money and where customer data lives.
- 07
No false alarms
We check tool output by hand. Only what can be reproduced and is a real problem goes into the report.
- 08
Confidentiality
We read your code under a confidentiality agreement and do not copy it outside the agreed environment. We agree the scope of access with you before we start.
- 09
Plain language for management
The report opens with a jargon-free summary for people who do not read code. Every finding also has a technical part for your team.
The report alone or with fixes
The report is yours to use however you like.
A report with a summary and a walk-through with your team.
Fixes as a separate order quoted from the report, then a follow-up review.
- 01 The report alone
- 02 Report and fixes
When
- You have your own team to make the fixes.
- You need an assessment before a purchase or acceptance decision.
- You have no team, or it is busy.
- You want confirmation that the findings are closed.
The report alone
When
- You have your own team to make the fixes.
- You need an assessment before a purchase or acceptance decision.
A report with a summary and a walk-through with your team.
Report and fixes
When
- You have no team, or it is busy.
- You want confirmation that the findings are closed.
Fixes as a separate order quoted from the report, then a follow-up review.
Glossary
Terms from the report.
- Static analysis
- Checking code with a tool without running it.
- SQL injection
- An attack where user data changes the content of a database query.
- Known vulnerability
- A publicly described security flaw in a library, with a version that fixes it.
- Technical debt
- Shortcuts in the code that sped up the start and now slow down every change.
Common questions about code audits
Click a question to see the answer.
How much does a code audit cost?
What access do you need for the audit?
What do I get after the audit?
How long does a code audit take?
Is an audit the same as a penetration test?
Will you sign a confidentiality agreement?
Which technologies do you audit?
Does a code audit cover a WordPress site and its plugins?
Will you fix what you find?
Describe your project.
A free quote comes back within an hour during working hours.