Source code audit: a report with the risks, the place in the code and the fix

A source code audit from VulCode, a software house from Cracow, Poland, is an independent review of an application's architecture, dependencies, security, tests and deployment, from PLN 1,299 (about EUR 290). It is done by developers who review code every day, in our own projects and in open source. You get a report with risks ranked from the most urgent, each with its place in the code and a proposed fix, plus a call about the results.

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.

  1. 01 Security
  2. 02 Code quality
  3. 03 Dependencies
  4. 04 Deployment and infrastructure

MapFour areas where a bug costs the most.

Layer 01: Security

authentication and permissionsinput and database queriessecrets in the repository

The highest-priority findings usually sit here.

Layer 02: Code quality

structure and duplicationerror handlingwhether the code can be changed safely

Layer 03: Dependencies

outdated librariesknown vulnerabilitiesan update plan

Layer 04: Deployment and infrastructure

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
1. Summary for managementone page, no jargon
2. Criticalaccess to other customers' orders
3. Higha library with a public vulnerability
4. Mediumno database backup off the server
5. Technical debtpricing logic repeated in three places

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.

PriorityWhat it meansWhen to fix
Criticala data leak, account or money takeoverbefore the next release
Highan outage or an easily exploited weaknessin the next work stage
Mediuma conditional risk, e.g. no off-server backupin the plan for the coming weeks
Lowtechnical debt and readabilitywhen 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 auditPenetration testA scanner alone
Looks at the source code YesNoYes
Attacks the running app from outside NoYesNo
Finds permission logic flaws YesPartlyNo
Points to the file and the fix YesNoPartly
Filters out false alarms YesYesNo

How the audit works

From repository access to a walk-through of the report.

  1. 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. 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. 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. 4

    Automated pass

    Tools check vulnerable libraries, secrets in the repository and code quality through static analysis.

    a list of candidates to check

  5. 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. 6

    Manual review

    We read the logic: authentication and permissions, input and queries, architecture and tests.

    confirmed findings

  7. 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. 8

    Report

    Findings ranked by urgency, each with a file, line, impact and a proposed fix.

    a report with a summary

  9. 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.

  1. 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.

  2. 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.

  3. 03

    Before a security review

    You remove the obvious bugs before an outsider sees them.

  4. 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.

  5. 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.

  6. 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.

  7. 07

    No false alarms

    We check tool output by hand. Only what can be reproduced and is a real problem goes into the report.

  8. 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.

  9. 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.

  1. 01 The report alone
  2. 02 Report and fixes

When

  1. You have your own team to make the fixes.
  2. You need an assessment before a purchase or acceptance decision.
  1. You have no team, or it is busy.
  2. 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?
A code audit costs from PLN 1,299 (about EUR 290). The price goes up mainly with the size of the application and the number of modules to read, the scope when we check the server configuration, deployment and backups as well as the code, and a second review after the fixes. The fixes themselves are a separate order quoted from the report. The figure for your scope comes in a free quote, and the starting prices of all our services are on our pricing page.
What access do you need for the audit?
Read-only access to the repository is enough, and for the server part access to its configuration. We change nothing in your code during the audit.
What do I get after the audit?
A report with a summary for management and a list of findings, most urgent first, each with its risk and how to fix it, plus a walk-through of the report with your team.
How long does a code audit take?
Usually from 3 days. It depends on the size of the app and the scope. We give a report date in the quote, once we have seen the repository and agreed which parts to check.
Is an audit the same as a penetration test?
No. A code audit reviews the source from the inside. A penetration test attacks the running app from the outside and is a separate service: the security audit, from PLN 1,799 (about EUR 400). A code audit often comes first, because it removes the obvious bugs more cheaply.
Will you sign a confidentiality agreement?
Yes. We read your code under a confidentiality agreement and keep it within the agreed environment.
Which technologies do you audit?
The ones we write every day, including TypeScript and JavaScript, React, Node.js, PHP, Python, Go, Rust and C#. Anything else we raise before quoting.
Does a code audit cover a WordPress site and its plugins?
Yes. PHP is among the technologies we audit, so we read the theme, the custom-built plugins and the WordPress configuration, and for the server part also the deployment and backups. Off-the-shelf plugins from the directory are checked for versions and known vulnerabilities in dependencies. We agree the scope before quoting, once we have seen the repository or the site's files.
Will you fix what you find?
We can. Fixes are a separate order quoted from the report, so you can also hand them to your own team.

Describe your project.

A free quote comes back within an hour during working hours.