OBSERVATORY
BATEN CODE · Integrity Audit Gallery

Real scans of the world's most critical open-source projects.
No project scored above 50%.

Each audit was run without configuration, without exclusion lists, on the official source trees. Engine: BATEN CODE v1.0.26 · Standard: BICS (Baten Invariant Certification System) · Runs locally, no cloud.

0 / 11
Projects scoring above 50%
Redis. nginx. curl. PostgreSQL. CPython. SQLite. OpenSSL. Node.js. Git. Linux. LLVM/Clang.
Combined: 18 000+ files scanned · 35 000+ anomalies detected.
The TLS handshake state machine of OpenSSL — securing the majority of the world's internet traffic — scores 8%.
Score Overview
8%
OpenSSL statem/
22%
SQLite
29%
nginx
29%
PostgreSQL
30%
Linux fs/
33%
Linux kernel/
35%
Git
36%
Redis
40%
Node.js
45%
LLVM/Clang
50%
curl
Your project?

11 Projects Audited · 2026-04-04
OpenSSL — Official Repository · C · ~1 400 files
8–67%
🔴 CRITICAL
0 CRITICAL · 48 HIGH · zero configuration · zero cloud
ComponentFilesScoreHIGH
statem/ — TLS handshake state machine108%15
apps/9520%15
crypto/94732%12
quic/4847%0
providers/29767%6
⚠ statem/ = 8%. This is the code that negotiates and manages every TLS connection — HTTPS, VPN, email, banking. The component that the entire encrypted internet depends on scores 8% under BICS.
SQLite — Official Repository · C · 353 files
22%
🔴 CRITICAL
Scan in 12.6 s · 1 205 anomalies · 9 CRITICAL · 11 HIGH
SeverityViolationsRole in scoring
🔴 CRITICAL9Density penalty ×4
🟠 HIGH11Density penalty ×1
🟡 MEDIUM1 067Contamination ratio only
🔵 LOW118Contamination ratio only
SQLite is embedded in every iOS device, every Android device, every Chrome browser — and scores 22%.
nginx — Official Repository · C · 396 files
29%
🔴 CRITICAL
Scan in 9.6 s · 760 anomalies · 5 CRITICAL
SeverityViolationsRole in scoring
🔴 CRITICAL5Density penalty ×4
🟠 HIGH0Density penalty ×1
🟡 MEDIUM746Contamination ratio only
🔵 LOW9Contamination ratio only
nginx serves ~34% of all web traffic globally. 5 CRITICAL violations in its C core.
PostgreSQL — Official Repository · C · 2 552 files
29%
🔴 CRITICAL
Scan in 81 s · 6 156 anomalies · 26 CRITICAL · 545 HIGH
SeverityViolationsRole in scoring
🔴 CRITICAL26Density penalty ×4
🟠 HIGH545Density penalty ×1
🟡 MEDIUM4 941Contamination ratio only
🔵 LOW644Contamination ratio only
The most trusted open-source database, running financial systems worldwide. 26 CRITICAL · 545 HIGH.
Linux Kernel — Official Repository · C · 4 527 files (kernel/ + net/ + fs/)
29–33%
🔴 CRITICAL
7 618 anomalies total · 57 HIGH in kernel/ · zero configuration
SubsystemFilesScoreHIGH
kernel/60733%57
net/1 81329%0
fs/2 10730%0
Powers 90% of the world's servers, all Android devices, most of the cloud. Core kernel: 57 HIGH violations.
Git — Official Repository · C · 978 files
35%
🔴 CRITICAL
Scan in 18.7 s · 1 220 anomalies · 16 CRITICAL · 45 HIGH
SeverityViolationsRole in scoring
🔴 CRITICAL16Density penalty ×4
🟠 HIGH45Density penalty ×1
🟡 MEDIUMContamination ratio only
🔵 LOWContamination ratio only
Git manages virtually all of the world's source code. 16 CRITICAL violations in the version control system used by every developer on the planet.
Redis — Official Repository · C · 797 files
36%
🔴 CRITICAL
Scan in 16 s · 878 anomalies · 14 CRITICAL · 18 HIGH
SeverityViolationsRole in scoring
🔴 CRITICAL14Density penalty ×4
🟠 HIGH18Density penalty ×1
🟡 MEDIUM631Contamination ratio only
🔵 LOW215Contamination ratio only
The in-memory database behind Twitter, GitHub, Stack Overflow, Airbnb. 14 CRITICAL violations.
Node.js — Official Repository · C/C++ · 429 files (src/)
40%
🔴 CRITICAL
Scan in 14 s · 630 anomalies · 1 CRITICAL
SeverityViolationsRole in scoring
🔴 CRITICAL1Density penalty ×4
🟠 HIGH0Density penalty ×1
🟡 MEDIUM590Contamination ratio only
🔵 LOW39Contamination ratio only
The JavaScript runtime powering millions of backend services worldwide.
LLVM / Clang — Official Repository · C++ · 1 600 files (clang/lib/)
45%
🔴 CRITICAL
Scan in 96.7 s · 3 953 anomalies · 0 CRITICAL · 0 HIGH
SeverityViolationsRole in scoring
🔴 CRITICAL0Density penalty ×4
🟠 HIGH0Density penalty ×1
🟡 MEDIUMContamination ratio only
🔵 LOWContamination ratio only
Best score in the gallery — 45%. The compiler used to build most of the world's production software. Still below 50%.
curl — Official Repository · C · 997 files
50%
🟠 HIGH
Scan in 18.7 s · 1 153 anomalies · 5 CRITICAL
SeverityViolationsRole in scoring
🔴 CRITICAL5Density penalty ×4
🟠 HIGH0Density penalty ×1
🟡 MEDIUM681Contamination ratio only
🔵 LOW467Contamination ratio only
curl runs on ~10 billion devices. The gallery's second-best score — exactly at the 50% threshold.
CPython — Official Repository · C Core · 374 files (Modules / Objects / Python / Parser)
22–49%
🔴 CRITICAL
1 CRITICAL · 33 HIGH · zero configuration · zero cloud
ComponentFilesScoreCRITICAL / HIGH
Modules/10022%0 / 19
Objects/12249%1 / 2
Python runtime12743%0 / 8
Parser/2548%0 / 4
The reference implementation of Python — the world's most popular language. obmalloc.c: CRITICAL. posixmodule.c: 33 violations.

Coming soon
Firefox (Gecko)
C++ · ~15k files
Pending
V8 (Chrome)
C++ · ~3k files
Pending
Rust compiler
Rust · ~2k files
Pending
CPython stdlib
Python · ~2k files
Pending

Scoring Methodology
Formula — Base = (clean files / total files) × 100.
Density penalty = (CRITICAL × 4 + HIGH × 1) capped at 50% of base.
Final score = base − density penalty.

Philosophy — A project with 750 clean files out of 800 starts at 93% before any penalty. One unsafe function does not condemn the whole codebase. MEDIUM and LOW violations are captured only through the contamination ratio — they lower the base without triggering the severity penalty.

Invariants — FTH-1 (buffer overflow, use-after-free) · FTH-2 (unsafe API) · FTH-3 (silent error handling) · FTH-4 (long functions) · FTH-5 (deep nesting) · FTH-6 (cyclomatic complexity) · FTH-7 (parameter count) · FTH-8 (style)
Scan your own codebase — free, local, no cloud
BATEN CODE runs entirely on your machine. No data leaves your environment.
VSCode extension with live status bar · Windows standalone exe · CI/CD compatible