Skip to content

What a Veridence audit report looks like

This is a real report. We wrote a small demonstration codebase with deliberate problems, ran the Veridence engine on it, and published exactly what it produced. Nothing below was edited by hand.

Subject: Northgate Payments API (demonstration codebase). Northgate Payments is fictional. Report generated 17 November 2026.

Summary

16 findings across 15 source files. 10 of the 15 files (2 JavaScript, 8 Python) were read by syntax tree; the other 5 by text pattern.

Findings
16
Risk
9 high, 4 medium, 3 low
Estimated cost to fix
$18,550 – $43,400
Security & compliance
$7,000 – $17,850
Infrastructure & cloud
$525 – $2,100
Architecture & code
$4,025 – $9,450
Team & delivery
$7,000 – $14,000

Findings

Ordered by risk, then by cost. Each finding names where it was found, shows the evidence, says why it matters and what fixing it involves. A finding that occurs in several places is listed once.

01

Restrictive copyleft licensing (GPL-3.0)

High riskCopyleft & IP Exposurethird_party/reportgen/package.json
$2,800 – $7,000

Copyleft code inside the product can oblige the company to publish its own source code. To fix: Establish where the licensed code is used, then remove or replace it, or confirm the obligations are met. Legal review is not included.

EvidenceThe manifest's license field declares GPL-3.0.
02

Copyleft dependency: mysqlclient 2.2.4 (GPL-2.0)

High riskCopyleft & IP Exposurerequirements.txt
$1,400 – $4,200

A copyleft production dependency can oblige the company to publish its own source code. To fix: Replace the package with a permissively licensed alternative, or obtain a commercial licence. Legal review is not included.

EvidencePYPI package mysqlclient 2.2.4 is licensed GPL-2.0 according to the package registry. It is a production dependency.
03

AWS access key ID in the code

High riskSecurity & Secretsapp/settings.py
$700 – $1,400

A recognisable credential in the code can be used by anyone who reads it. To fix: Revoke and rotate the credential, move it to a secrets store, remove it from the code and its history, and check access logs for misuse.

EvidenceAWS_ACCESS_KEY_ID = "AKIA••••"
04

Hardcoded secret / API credential

High riskSecurity & Secretsapp/settings.py
$700 – $1,400

Anyone who can read the code, or its history, can use the credential. To fix: Revoke and rotate the credential, move it to a secrets store, remove it from the code and its history, and check access logs for misuse.

Evidenceline 8: payment_gateway_secret = "ngp_••••"
05

Vulnerable dependency: pyyaml 5.3

High riskSecurity & Secretsrequirements.txt
$350 – $1,400

A published high-severity vulnerability is a known way into the system until the package is upgraded. To fix: Upgrade the package to a fixed version and re-test the parts of the system that use it.

Evidence2 high-severity advisories for PYPI package pyyaml 5.3:
CVE-2020-1747 (CVSS 9.8): Improper Input Validation in PyYAML
CVE-2020-14343 (CVSS 9.8): Improper Input Validation in PyYAML
06

Access policy allows every action ('*')

High riskPolicy as Code (PaC)infra/iam-policy.json
$350 – $1,050

A wildcard policy lets a compromised service do anything the account can do. To fix: Replace the wildcard with the specific actions and resources the service needs, and test the deployment.

Evidence"Action": "*",
07

Command run through the system shell

High riskSecurity & Secretsapp/reports.py
$350 – $700

Crafted input can extend the command to run anything the service account may run. To fix: Pass arguments as a list without the shell, or validate the input against an allow-list, and add tests.

Evidenceline 67: subprocess.run(f"tar czf /var/archive/{directory}.tgz {directory}", shell=True)
08

Network ingress open to the whole internet (0.0.0.0/0)

High riskInfrastructure as Code (IaC)infra/main.tf
$175 – $700

Infrastructure settings that expose a service, run it with excess privilege or store data unencrypted widen the damage of any breach. To fix: Change the configuration, apply it to a staging environment and confirm the service still works.

Evidencecidr_blocks = ["0.0.0.0/0"]
09

SQL query built from variables (injection risk)

High riskSecurity & Secretsapp/server.py
$350 – $700

Crafted input can change the statement that runs, exposing or destroying data. To fix: Replace string-built queries with parameterised queries and add tests with hostile input.

Evidenceline 8: cursor.execute(f"SELECT id, name, email FROM customers WHERE id = {customer_id}")
10

Key-person concentration

Medium riskTeam Velocity & Key-Person Risk
$7,000 – $14,000

When one person writes most of the code, their departure takes the working knowledge of the system with them. To fix: Document the system and pair the principal contributor with others to spread working knowledge. A retention arrangement is a commercial matter and is not included.

Evidencem.okafor made 80% of the 40 commits in the 12 months to 2026-11-24. Bus factor 1. Commit entropy 0.884 bits across 3 contributors.
11

High-complexity functions

Medium riskArchitecture & Maintainabilityapp/reports.py
$2,450 – $4,900

Functions with many branches are hard to test and change safely, which slows delivery and raises the risk of regressions. To fix: Split the functions into smaller ones and add tests: 0.5 to 1 hour for each point of complexity above 15.

Evidencestatement_line() complexity 43
line 5: def statement_line(entry, currency, locale, include_tax):
1 function above complexity 15, 28 points over in total.
12

Container image runs as root (no USER set)

Medium riskInfrastructure as Code (IaC)Dockerfile
$175 – $700

Infrastructure settings that expose a service, run it with excess privilege or store data unencrypted widen the damage of any breach. To fix: Change the configuration, apply it to a staging environment and confirm the service still works.

EvidenceFROM python:3.12-slim
WORKDIR /srv
13

Storage volume encryption explicitly disabled

Medium riskInfrastructure as Code (IaC)infra/main.tf
$175 – $700

Infrastructure settings that expose a service, run it with excess privilege or store data unencrypted widen the damage of any breach. To fix: Change the configuration, apply it to a staging environment and confirm the service still works.

Evidenceencrypted = false
14

Very large source file

Low riskArchitecture & Maintainabilityapp/billing/ledger.py
$1,400 – $4,200

Very large files are slow to understand and risky to change. To fix: Split the file along its responsibilities and re-test.

EvidenceFile contains 1805 lines.
15

Exception handler that discards the error

Low riskArchitecture & Code Qualityapp/reports.py, web/src/api.js
$175 – $350

Errors that are caught and thrown away hide failures, so problems surface late and are hard to trace. To fix: Log or handle each error instead of discarding it.

Evidence · app/reports.pyline 75: except Exception:
Evidence · web/src/api.jsline 6: } catch (e) {}

Seen in test and example code: not priced

A placeholder key in a test is not a leaked credential. Findings in test, documentation and example code are listed here, apart from the findings above, and add nothing to the cost to fix.

What was seenWhereKind of fileCost to fix if it were product code
Hardcoded secret / API credentialtests/test_server.pytest code$700 – $1,400
SQL query built from variables (injection risk)tests/test_server.pytest code$350 – $700

Dependencies and licences

4 third-party packages declared in requirements.txt; 4 looked up in the package registry. They carry 2 high-severity and 6 lower-severity published advisories.

Licence family of dependenciesPackages
Permissive2
Strong copyleft1
Not recognised1
Declared in the repositoryLicenceWhere
third_party/reportgen/package.jsonGPL-3.0manifest

Team and key-person risk

Bus factor
1
Largest single share
80%
Commit entropy
0.884 of 1.585 bits
ContributorCommitsShare
m.okafor3280%
j.lindqvist615%
s.patel25%

40 commits by 3 contributors in the 12 months to 24 November 2026. The bus factor is the smallest number of people who together made more than half of them. The contributors, like the company, are fictional.

Remediation plan

Built only from the findings in this report: high-risk work first.

Days 1–30 · high risk
  • Isolate or replace the copyleft-licensed code in the repository.
  • Replace or commercially license each copyleft production dependency.
  • Revoke, rotate and remove the credentials found in the code.
  • Upgrade the dependencies with high-severity advisories, and re-test.
  • Narrow the wildcard access policies to what each service needs.
  • Stop passing input through the system shell.
  • Fix the infrastructure misconfigurations.
  • Parameterise the SQL queries built from variables.
Days 31–60 · medium risk
  • Spread working knowledge of the system beyond the principal contributor.
  • Split the most complex functions and add tests.
Days 61–100 · low risk
  • Split the very large source files along their responsibilities.
  • Log or handle the errors that are currently discarded.

How to read this report

How findings are produced. Python, JavaScript and TypeScript files are parsed into a syntax tree and checked by the structure of the code. Infrastructure files, access policies and other languages are checked by text patterns. Licences are read from what the repository declares (licence files, manifest fields, SPDX tags) and checked against the SPDX licence list; a file that merely mentions a licence is not a finding. Each pinned dependency's licence and published advisories are looked up in the public package registry. Every finding says how it was found. Findings in test, documentation and example code are reported separately and not priced. There is no AI model and nothing is sampled.

How the figures are calculated. Every finding has a risk rating, how much it could hurt, and an estimated cost to fix: published hours for its kind of finding at $175 an hour, shown as a range. The cost to fix is not a valuation or the cost of an incident. The hours for every kind of finding are in the methodology.

What leaves the server. To look up licences and advisories, the names and versions of open-source packages are sent to the public Open Source Insights service. No source code is sent, and the lookup can be switched off.

What it does not do. It reads the files in one commit, and the authors and dates of the previous 12 months of commits. It does not look through the contents of earlier commits, and it does not run the code.

Kind of findingRiskHours to fix
Copyleft licence declared in the repositoryHigh16–40 h
Copyleft production dependencyHigh8–24 h
Production dependency with a high-severity vulnerabilityHigh2–8 h
Key-person concentrationMedium40–80 h
Leaked credential or insecure code patternHigh4–8 h, +1–2 h per extra place
Infrastructure misconfigurationMedium1–4 h, +1–2 h per extra place
Over-broad access policyHigh2–6 h, +1–2 h per extra place
Very large source fileLow8–24 h
SQL query built from variables (injection risk)High2–4 h, +1–2 h per extra place
Hardcoded secret / API credentialHigh4–8 h, +1–2 h per extra place
Command run through the system shellHigh2–4 h, +1–2 h per extra place
Exception handler that discards the errorLow0.5–1 h, +0.25–0.5 h per extra place
High-complexity functionsMedium0.5–1 h per point above 15

The codebase that was audited

A small fictional payments service. Every problem in it was put there on purpose.

Run the same audit on your own repository

A free preview of one repository shows its risk and cost to fix in Slack. Plans add the full report, with a PDF like this one.