Open navigation
Back to Articles

October 2026 · 9 min read

What CVE Triage Looks Like When AI Writes the Code

AI tools generate dependencies faster than engineers can review them while compressing exploit timelines. Here is how to run structured CVE triage with small teams.

Editorial cover for what cve triage looks like when ai writes the code

The triage squeeze between faster code generation and faster exploits

The fastest path to unmanageable security debt is allowing coding agents to generate application dependencies while relying on sporadic audits. Coding assistants pull in nested libraries faster than pull request reviewers can inspect them. On the attacker side, automated vulnerability discovery has compressed the window between public disclosure and exploitation down to days. Catalogs like the CISA Known Exploited Vulnerabilities list now carry remediation deadlines as short as a week for actively exploited bugs, establishing a tight operational clock.[1]

I watch this tension unfold directly in our repositories. AI assistants add dependencies in seconds, which lets the dependency graph expand without manual inspection. Upstream security feeds receive machine-generated vulnerability disclosures alongside genuine bug reports. That flood of low-quality submissions inflates alert volume while obscuring critical flaws. Small teams find themselves overwhelmed by noise precisely when attack speeds demand rapid responses.

Small engineering teams cannot solve this friction by purchasing commercial scanners or asking developers to read every package manifest. The middle layer of security triage remains thoroughly manual. An engineer must verify whether an affected function runs in production. That same engineer must confirm whether network boundaries shield the component. When code generation speeds up and exploitation timelines compress, this manual middle layer fails unless you structure it into an explicit routine.[1][3]

The operational friction stems from an absence of deployment context. An automated scanner alert does not know your specific architecture. It cannot tell whether an application runs in a public environment or inside an isolated network. Without an accurate map of shipped software, every alert forces an engineer to repeat the discovery steps from scratch. That repetitive investigation drains attention and stalls critical patch work.[1]

Building a version inventory without cloning every repository

You cannot triage vulnerabilities across dozens of applications if dependency records live only on developer laptops. When I built our tracking pipeline in late October 2026, the primary design constraint was avoiding full repository clones. Cloning hundreds of codebases consumes disk space and exhausts network quotas. Full clones also fail to reflect runtime configurations deployed on live servers.

Our collector script queries repository file trees directly through the GitHub API on a scheduled timer. It inspects recent commit states and identifies lockfile paths. The script then downloads only manifest files like composer.lock or package-lock.json. The pipeline parses package identifiers and exact version numbers into a centralized database table. This provides an accurate portfolio snapshot without downloading entire source trees.[3]

bash
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
  "https://api.github.com/repos/$ORG/$REPO/contents/package-lock.json" \
  | jq -r .content | base64 --decode | jq '.packages[""].dependencies'

The initial inventory pass yielded immediate operational value by exposing forgotten assets. It flagged hardcoded credentials in abandoned repositories that nobody had touched in months. It also identified exposed phpinfo files left running in legacy utility directories. That pilot demonstrated that visibility into dormant projects matters just as much as monitoring active production repositories.

Static package files capture only part of your operational surface. A vulnerable dependency in a repository means little if the production host runs a deprecated system interpreter with its own unpatched security flaws. We pair the automated lockfile collector with a curated inventory of server hosts. That registry tracks live runtime versions for PHP and Node across all deployment targets.[4]

Flow diagram of the CVE triage pipeline from repository and server inventory through daily feed matching to cases and a human-owned ticket
Collect once a day, match against five feeds, group into cases — every decision stays human.

Aggregating advisories across multiple independent feeds

Relying on a single vulnerability database creates dangerous blind spots. Repository alert platforms miss operating system packages and unmanaged server binaries. They also overlook commercial extensions and legacy hosting stacks. Our matching system pulls advisory updates from multiple independent feeds every morning to build a comprehensive security catalog.[1][3][4][5]

The system ingests the Open Source Vulnerability database for standard package ecosystems. It also polls GitHub Security Advisories for npm and pip packages. Infrastructure runtimes are evaluated against the endoflife.date API to detect unsupported Node and PHP versions past their maintenance window. For hosted web applications, the system monitors a dedicated WordPress vulnerability feed covering core software and plugin releases.[3][4][5]

The most urgent feed in our collection pipeline is the CISA Known Exploited Vulnerabilities catalog. The KEV feed highlights active attacks against components like Collabora Online (CVE-2026-110447) and ONLYOFFICE Docs (CVE-2021-3199). These records carry mandatory due dates established by federal operational directives. When a vulnerability appears on the KEV list, our triage pipeline escalates it immediately above generic advisory reports.[1]

Aggregating distinct feeds prevents issues from falling between development teams and system administrators. When a runtime advisory arrives alongside an application package alert, the daily matcher correlates both against our central inventory in a single pass. This unified check ensures that both container environments and standalone servers receive consistent security visibility.[1][3]

Storing advisory payloads locally ensures reliable daily execution. External APIs experience rate limits and occasional network downtime. We persist raw upstream JSON payloads into local storage before running matching algorithms. This local data store lets us rerun historical audits whenever we refine parsing logic, without hitting third-party API rate quotas.[2]

The hostile reality of package version strings

Matching software versions against vulnerability ranges sounds simple until you process strings created by package maintainers. Version strings in production are hostile to basic semantic parsers. Linux distribution backports often append custom tags like 8.3.12-1ubuntu1 to denote a patched package. A naive version check flags that release as vulnerable because the string does not match the clean upstream semver format.

Epoch prefixes used in Linux package managers break conventional string comparisons. Shorthand notation such as release 6.4 compared against 6.4.0 requires explicit normalization rules. In our matcher, version strings pass through dedicated sanitizers that strip distribution tags and normalize decimal places. Without these adjustments, automated matching produces endless false positive alerts that erode developer confidence.[3]

ts
function normalizeVersion(rawVersion: string): string {
  const strippedEpoch = rawVersion.replace(/^[0-9]+:/, '');
  const cleanSemver = strippedEpoch.split('-')[0].trim();
  const parts = cleanSemver.split('.');
  if (parts.length === 2) return `${cleanSemver}.0`;
  return cleanSemver;
}

Our matcher enforces a strict safety constraint: unparseable versions must never fail open. If a release string cannot be resolved against an advisory range, the record moves directly into a verification queue. The system is prohibited from marking an asset safe simply because a parser failed. An unhandled string represents unknown risk that requires human review.

We apply the same defensive principle to scan completeness. When a remote API query returns a truncated file list due to repository size, our inventory marks coverage as partial. If a proprietary WordPress plugin lacks public vulnerability disclosures, we tag its status as missing advisory data rather than clean. In security inventory systems, missing information must never be treated as evidence of safety.[3]

Drafting cases with automation while humans own decisions

Our triage architecture enforces a clear division between automated processing and human evaluation. Machines gather evidence, but humans own every security decision. This follows the referee-not-writer model I use across internal operational software. Background jobs excel at scheduled network polling and matching version ranges. They are also effective at clustering related CVEs into candidate incident cases.

Automated tools must never dismiss an alert or resolve an incident autonomously. When an advisory matches an inventory entry, our pipeline compiles the finding into a single incident dossier. For high or urgent severity findings, the system generates an actionable ticket with an assigned engineer. The machine prepares the technical case, but the engineer decides the operational response.[1]

Dismissing an alert requires conscious friction. In our system, marking an alert as not affected requires a mandatory written justification from the reviewer. The assigned developer must explain why the vulnerable code path cannot execute in production. They must also document any mitigating network controls. This justification is written to an immutable audit record for future compliance reviews.

We dispatch outbound alert notifications through a database outbox pattern. Fire-and-forget notification webhooks fail quietly when external chat services encounter network errors. Our outbox workers retry failed message attempts until delivery is confirmed. They also record persistent delivery timestamps. This pattern guarantees that urgent security notifications reach human responders without getting lost in transient network drops.

Incident response when advisory alerts land in production

The true value of a centralized version inventory appears during sudden upstream security disclosures. When an urgent vulnerability in a common library like serialize-javascript or Next.js is announced, standard development teams launch an emergency search. Developers pause active work to query local checkouts and inspect divergent branches. This chaotic scramble creates communication overhead and delays remediation.[5]

We experienced the difference firsthand shortly after deploying the inventory pipeline. When a serious Next.js advisory landed, the answer was a single query against our inventory table instead of a portfolio-wide fire drill: which repositories depend on it, which versions are deployed, and who owns each one. That calm, ordered response is the entire argument for the inventory. I am not going to attach a stopwatch figure to it, because the pipeline was too new for a fair comparison, but the difference between a query and a scramble was obvious in the room.

Because this pipeline is only weeks old, I make no exaggerated claims about calculated breach prevention or statistical cost reductions. The verifiable benefit is operational predictability. Knowing your exact exposure converts an emergency response into an orderly queue of verified pull requests. That structural calm is essential when AI tools continually accelerate the volume of code entering production.

Common failure modes of passive dependency tracking

Passive dependency scanning tools frequently fail because they treat every package update as an isolated pull request. Automated bots submit dozens of automated dependency changes directly to repository queues. Developers quickly suffer from notification fatigue. When engineering teams receive excessive automated pull requests, they either merge them without testing or ignore security alerts entirely.[5]

Before building our inventory system, dependency alerts were effectively turned off across our portfolio. The continuous stream of low-severity notices made it impossible to distinguish between theoretical risks and active operational emergencies. Turning off uncalibrated alerts restored developer peace, but it left the codebase blind to critical zero-day vulnerabilities.

Another structural blind spot occurs when teams manage application code and host infrastructure in separate silos. A team may diligently patch their JavaScript dependencies while running an end-of-life PHP or Node runtime on the host server. Monitoring package manifests without tracking server environments creates an illusion of security while leaving host interpreters vulnerable to remote exploits.[1][4]

A concrete triage implementation checklist

You do not need a large security department or complex enterprise software to establish rigorous vulnerability management. You can build an auditable triage system using basic background jobs and structured database tables. Follow these concrete steps to implement the workflow across your own infrastructure.[1]

Deploy a scheduled collector script that queries your Git hosting API daily. The script must inspect package lockfiles across all repositories without cloning full git trees. Store extracted package names and exact version strings in a centralized inventory database table.[3]

Build a server registry table that tracks host environments and server IP addresses. Record installed runtime versions for Node and PHP across all production instances. Update this registry whenever system administrators deploy or upgrade host servers.[4]

Configure a daily matching worker that queries the Open Source Vulnerability API for package dependencies. The worker must also cross-reference all records against the CISA Known Exploited Vulnerabilities catalog to capture actively weaponized zero-day exploits.[1][3]

Establish defensive parser rules so that unparseable version strings land in a manual verification queue. The system must never mark a package safe when a version cannot be resolved. Mark truncated repository scans and unknown commercial extensions as unverified rather than secure.

Route every high-priority vulnerability match into an accountable ticket assigned to an individual developer. Require engineers to write an explicit justification before marking any finding as not affected, and store that explanation in an auditable database log.

securitycve-triagevulnerability-managementsoftware-engineeringdevops

Sources

  1. https://www.cisa.gov/known-exploited-vulnerabilities-catalog
  2. https://nvd.nist.gov/
  3. https://osv.dev/
  4. https://endoflife.date/
  5. https://github.com/advisories

Related articles

Press ? for keyboard shortcuts