The Security Score
Every notarized build carries a security score from 0 to 100. Higher is better: 100 means no weakness was found in the artifact that was built.
The formula is published here in full, for one reason: this number ends up on compliance reports and drives the status of an audit requirement, so you have to be able to explain it to an auditor without us in the room.
What it measures, and what it does not
The score only counts weaknesses present in the delivered artifact:
| Counted | Not counted |
|---|---|
| Vulnerabilities in dependencies (OSV) | Commit time, commit size, number of files changed |
| Findings from external scanners (SAST, misconfiguration, CVE) | A first-time contributor |
| Hardcoded secrets | Dependency changes and SBOM differences |
| Typosquatting and suspicious dependency sources | A deleted or modified sensitive file |
The right-hand column is not ignored: those signals still raise alerts, still feed the audit trail, and can still block a pipeline through a policy. They simply are not weaknesses of the artifact, so they do not move the score.
That separation was a correction. An earlier version of the formula charged 15 points for a deleted file, the same as a remote code execution, and 3 points for committing at night. The result was absurd in practice: the commit that fixed 19 security findings lost points, because it touched many files.
How the number is built
Three rules, applied in order.
1. The worst severity present sets the band
| Worst severity found | Score can only fall within |
|---|---|
| Critical | 0 to 50 |
| High | 30 to 80 |
| Medium | 60 to 92 |
| Low | 85 to 98 |
| Nothing found | 100 |
A single critical vulnerability can therefore never produce a good-looking score, whatever else is clean. The inverse used to happen: one unauthenticated remote code execution scored 85 out of 100 while six style findings scored 82.
2. Distinct weaknesses place the score inside the band
Each distinct weakness carries a weight by severity: 6 for critical, 3 for high, 1 for medium, 0.3 for low. The total is subtracted from the top of the band, and the score stops at the floor of that band.
3. Repeats of one rule, and one vulnerability under several names, count once
The same rule firing n times counts as 1 + ln(n), not n. Ten containers missing a read-only root filesystem is one systemic mistake made ten times, not ten separate risks - and a score that saturates tells you nothing: before this rule, 13 findings and 300 findings displayed the same number, so fixing 19 of 21 findings moved nothing on screen.
A vulnerability counts exactly once, whatever the number of tools that reported it and whatever names they gave it. OSV calls one advisory GHSA-65fg-84f6-3jq3, an external scanner calls it CVE-2022-23305; Wisec resolves them to a single advisory. Without this, connecting a second scanner would lower your score without a single new vulnerability existing, which is an incentive no security product should create.
Two properties worth knowing
Triaging a finding never raises the score. Declaring a vulnerability not exploitable is recorded, it is published in your signed VEX attestation, and it stops the CI gate from blocking on it. It does not improve this number. A score you could push to 100 by dismissing everything would be worth nothing to the third party reading your certificate, and that is precisely what makes a Wisec certificate worth something.
Accepting a risk does not improve it either. An accepted risk is still a risk, and it is reported as its own figure.
Where a vulnerability's severity comes from. First the severity reviewed by GitHub's advisory database, then, failing that, the highest severity computed from the advisory's CVSS vectors, and only then high, deliberately conservative: a real vulnerability should not become weightless because its metadata is incomplete. An advisory has the same severity under all its names, since it counts once: a GHSA and the PYSEC or GO record describing the same flaw cannot weigh differently.
The formula is versioned
Every build records which version of the formula scored it. Two versions do not compare, so:
- a register covering several months marks every build scored by an older formula with an asterisk and prints the scale it used;
- the trend graph draws a marker where the formula changed, instead of a continuous line that would read as a change of security;
- the individual notary certificate shows no score at all. A certificate states facts: the commit, the hash, the attestations, the timestamps. A score depends on a formula that will keep improving, and improving it must never look like rewriting an attestation.
Version 4 (November 2026) changes no arithmetic; it corrects what the formula is given. Until then every vulnerability found in the dependencies was scored high, whatever its real severity: low advisories weighed as high ones, and none could ever be critical. Version 4 uses the real severity, and no longer looks up a dependency recorded without an exact version (which used to match nearly every advisory of the package). Scores of builds with low or medium advisories go up; builds with a genuinely critical one go down.
What this number does not try to be
It answers one question: how weak is the artifact you just built. It says nothing about how well your team manages those findings over time - how many are triaged, how quickly a critical one gets fixed, how many sit beyond your own remediation target.
That is a different question, measured differently, and it is the one an auditor usually cares about. Wisec records the material for it on every build: when each finding appeared, when it stopped being reported, and whether the tool that found it was even running at the time. Because that last point matters: a finding that disappears because a scanner was removed from a pipeline is not a finding that was fixed.
That figure exists: see Remediation within target.