Lesson 12 of 12 · 20m
Making the Loop Work: Triage, Ownership, and Trust
The scanners are the easy half — the program survives or dies on one triage queue, clear ownership, expiring exceptions, and honest metrics.
None of the previous lessons is the hard part. Any engineer can add a scanner to CI in an afternoon. The hard part is day thirty: the tools have found 400 things, the same exhausted person is triaging all of them, and developers have quietly started vendoring dependencies so the lockfile audit goes quiet. The pipeline is a sociotechnical system. The scanners are the easy half.
One queue, or findings rot in five places
Semgrep has a dashboard. Trivy prints to CI logs. GitHub has code scanning. Dependabot files PRs. If each tool reports into its own silo, nothing is triaged — five dashboards is zero dashboards. Push everything into one view: SARIF into code scanning is the free version, a findings platform is the scaled version. Dedupe by file + rule + line, and let one queue feed triage. The tool that can't emit SARIF or an equivalent is the tool whose findings die in a log.
Ownership: code owner fixes, platform team enables
A finding belongs to the team that owns the code. Route by CODEOWNERS — the file's owner knows the reachability and can fix it in context — not into a security team's inbox. The security or platform team owns exactly three things: the scanner configuration, the exception register, and the rules. When that split is unclear, security becomes the fix-it department, burns out, and the program quietly dies. I've watched that exact arc twice.
SLAs and the exception register
- Critical: days. High: weeks. Everything else: backlog with a quarterly review. Tune the numbers to your incident history, but write them down — "eventually" is not an SLA.
- Every exception carries an owner and an expiry. An accepted risk that never expires is an unfixed bug wearing a suit.
- Baselines keep the queue honest: new findings gate, old findings are a tracked backlog with a burn-down chart, not a number nobody looks at.
Metrics that tell the truth
| Metric | What it tells you |
|---|---|
| Mean time to remediate, by severity | Is the loop actually closing? |
| % findings dismissed as false positives | Is the tooling noisy? Tune or replace it. |
Gate bypass / --no-verify count | Are people routing around you? |
| Findings per PR over time | Are developers learning or just complying? |
The metric to avoid is raw finding count — it rewards running noisier scanners and punishes fixing the backlog. I've watched a team celebrate 3,000 findings like an achievement. It was a debt ledger.
The first thirty days
Roll out in the order that buys trust: secrets scanning first (cheap, near-zero false positives, immediately valuable), then lockfile auditing, then tuned SAST, then the heavy scheduled scans. Each one lands advisory for two weeks before it blocks. Skip that order and you ship a wall of red on day one, and the program spends the next year recovering from its launch week.
When developers route around you
--no-verify baked into commit scripts. Vendored dependencies so the lockfile scan goes quiet. continue-on-error quietly appearing on the security job. PRs split into five pieces to dodge a size limit. Each is a signal that a control costs more than it returns. The right response is never "enforce harder" — it's "find out why this control is expensive and fix that." A gate developers route around protects nothing, and it teaches them the rest of your gates are ignorable too.
Field notes
- Review the exception register monthly. Entries nobody can explain get un-accepted.
- Rotate triage duty through the dev teams, not just security — nothing tunes a noisy rule like the people who suffer it owning the triage.
- The program is working when findings-per-PR trends down because the code got better — not because the scanner got quieter.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Buying Time: Package Managers Are Adding Delay as a Security Control
Composer 2.11 shipped a cooldown that refuses to install a version until it has aged. vlt now holds npm publishes until their dependencies actually exist, because 22% of new npm versions land broken. And Ruby Central's reviewers threw out 90% of what an AI scanner flagged.
Your npm Install Just Ran Someone Else's Code: Why Dependency Security Has to Start Before CI
A pull request checkout, a poisoned GitHub Actions cache, and an OIDC token pulled straight out of runner memory. That's how 84 malicious versions of TanStack's packages hit npm in six minutes.
CVE-2025-62718: Critical Axios SSRF Vulnerability Explained
A critical SSRF flaw in Axios was used in a North Korean supply chain attack. Here's what it does and how to patch it today.
What is Supply Chain Security? Dependencies, SBOMs, and the Attack That Hit 2.6 Billion npm Downloads
Your application is only as secure as every package it depends on. In September 2025, attackers compromised 27 npm packages with 2.6 billion weekly downloads by phishing one maintainer.