AI-Era Cybersecurity, Part 2: Building the System Context, Governance and Agent Identity
Learn why AI agents writing patches need to be treated as privileged identities rather than features, and the frameworks like CISA's four-factor test, KEV, and SBOM.
Join the DZone community and get the full member experience.
Join For FreePart 1 of this series walked through why AI has compressed the gap between a vulnerability's disclosure and its exploitation from months to hours, laid out the lifecycle every vulnerability goes through, and mapped Project Glasswing, OpenAI Daybreak, Project Lightwell, Big Sleep, and CodeMender onto that lifecycle. The short version: discovery has gotten fast. Deciding what matters, fixing safely, and governing the automation doing the work have not caught up.
This second part covers that second half, the part most vendor announcements leave out.
The Layer Most Announcements Skip: Context
The three programs above, and the tools around them, mostly strengthen discovery and fixing. What most enterprises actually lack is not more findings. It is useful context about the findings they already have.
A vulnerability score alone does not say whether the affected component is deployed, reachable from the internet, connected to sensitive data, or sitting in a business-critical service. CISA's four-question test, built directly into Binding Operational Directive 26-04, is a practical version of this same idea applied to federal patch deadlines.

A critical issue in a public API that handles customer records is not equivalent to the same CVE in an unused internal test library. Security programs are more effective when their workflows reflect that difference, combining technical severity with runtime reachability, exposure, privilege, and business impact rather than sorting a queue by CVSS score alone.
This is exactly the argument I made in Graph Engineering: The Layer After Loop Engineering. Enterprise systems are defined by relationships: identities to permissions, permissions to cloud resources, resources to data, services to code, code to dependencies. Security risk lives in those same relationships, which is why an asset graph or attack-path view often does more for prioritization than another scanner.
Mapping Everything to the Lifecycle
Putting programs, tools, and supporting frameworks on the lifecycle diagram makes coverage and gaps easier to see.

The gap is visible immediately. Nothing here covers "know what you run." No program can protect a software list that does not exist, which is why that step has to be handled internally, using SBOMs and dependency inventories, before any of the tools above add real value.
Supporting work around the big three programs targets a second-order problem: faster discovery means more reports than open source maintainers can review. Anthropic has partnered with the Open Source Security Foundation's Alpha-Omega project to help maintainers triage incoming reports, and OpenAI's Daybreak commitment includes direct funding for groups such as Trail of Bits. Palo Alto Networks has also worked with IBM and Red Hat so its network-level protections can block attacks while a Lightwell fix is tested and rolled out, a practice known as virtual patching. It buys time. It does not replace the fix.
AI Agents Are Identities Now, Not Just Tools
There is a part of this system that most vendor comparisons leave out entirely: the AI agents doing the work are themselves a new attack surface that needs governance.
An agent that reads source code, opens a pull request, queries a knowledge base, or changes a cloud setting is acting with real permissions. It should be treated the same way a service account or a contractor's login is treated, not as a feature toggled on inside a chat window.
Every production agent should have a unique identity rather than a shared credential. Permissions should be scoped to the task. Tool access should be explicit. Sensitive data should be classified before it enters a prompt or a retrieval pipeline. High-impact actions, like deploying a patch or changing an IAM policy, should require a human approval step, which is exactly the control that DeepMind applies to CodeMender's own patches.
A mature security program should be able to answer, at any time: what did the agent access, what tools did it call, what changed, which policy allowed the action, who approved it, and can the agent's access be revoked immediately if something goes wrong.
I wrote about the underlying discipline this requires in Production-Grade AI Agents and in From Prompts to Harnesses: How AI Engineering Has Grown Up. Memory boundaries, tool controls, guardrails, and observability are not optional extras for a chatbot. In a security context, they are exactly the controls that keep an autonomous remediation agent from becoming its own incident.
The Rulebooks That Decide What Gets Fixed First
Tools tell you what is possible. Frameworks tell you what to prioritize and how to prove you did it.
| FRAMEWORK | PLAIN DESCRIPTION | WHERE IT FITS | SOURCE |
|---|---|---|---|
| CISA BOD 26-04 | Four-factor risk test, three-day fix for the highest-risk vulnerabilities | Decide | cisa.gov |
| KEV catalog | Bugs known to be exploited right now | Decide | CISA KEV catalog |
| CVSS | Severity score for a bug | Decide | — |
| EPSS | Likelihood a bug will be exploited | Decide | — |
| SBOM | A list of every component in your software | Know | — |
| VEX | A note on whether a listed bug actually affects your product | Know, Decide | — |
| SLSA | A trust scale for your build process | Know, Fix | — |
| OpenSSF Scorecard | Health check for open source dependencies | Know | — |
| OWASP Top 10 for LLM applications | Common risks in AI-powered applications | Defend the AI itself | — |
The frameworks without a specific source link above are widely documented industry standards rather than a single paper or announcement; readers can find the current OWASP, CVSS, and SLSA specifications through their respective maintaining bodies (OWASP Foundation, FIRST.org, and the SLSA project) rather than a single citable report.
A Practical Layered View
Combining Part 1's tools and this part's context and governance layers gives a structure any team can use to check its own coverage.

| Layer | Supported by |
|---|---|
| 1. Know what you run | SBOM, VEX, SLSA, OpenSSF Scorecard |
| 2. Find weaknesses | Glasswing, Daybreak, Big Sleep, Codex Security, Claude Security |
| 3. Decide what matters | KEV, EPSS, CISA four-question test, attack-path graphs |
| 4. Fix safely | CodeMender, Lightwell, human code review |
| 5. Cover the gap | Virtual patching, network segmentation |
| 6. Prove and learn | Incident records, metrics, post-incident review |
| 7. Govern the AI agents doing the work | Agent identity, least privilege, approval gates, audit logs |
Layer 1 remains the most commonly skipped step, and the one no vendor tool can fix for you. My earlier piece on a private, segmented network architecture using Terraform and Ansible is one example of reducing exposure at Layer 5 before a bug is even found: fewer exposed entry points means fewer urgent fixes later.
Proving a fix actually worked, at Layer 6, depends on the same operational discipline covered in Incident Management and the Rise of AI SRE Agents and How AI Is Actually Changing SRE Tools, Part 2. Security and SRE teams increasingly share telemetry, runbooks, and the same requirement that automation be observable and reversible.
Measure What Actually Matters
Counting findings or closed tickets is not the same as reducing risk. More findings can mean better visibility. Fewer tickets can mean issues were closed administratively rather than actually fixed.
| Metric | What it shows |
|---|---|
| Time from discovery to verified remediation | Whether the loop is fast and effective |
| Age of critical internet-facing exposures | Whether the highest risk issues are addressed promptly |
| Percentage of critical findings with clear ownership | Whether accountability exists |
| Recurrence rate for the same issue class | Whether root causes are actually being removed |
| Percentage of agent actions that are logged and reviewable | Whether AI automation is governed |
| Time to revoke an agent's credentials or stop an automated workflow | Whether incident response is actually ready |
| Percentage of releases with SBOMs and signed artifacts | Whether supply chain controls are operating |
The question behind every metric is the same one CISA is now asking by regulation: are you reducing real risk faster, without creating a new source of operational risk in the process?
Where to Start
You do not need an invitation to any of the programs from Part 1 to begin.
| Timeframe | Focus | Actions |
|---|---|---|
| First 30 days | Know and measure | Build an SBOM for top applications, assign owners, measure the current gap between fix availability and fix deployment |
| Days 31 to 60 | Sort and prioritize | Adopt the CISA four-question test, add KEV and EPSS scoring to the queue, identify the single slowest fix in the environment |
| Days 61 to 90 | Add tooling and governance | Trial a code scanning or patching tool, evaluate a Lightwell-style remediation service or virtual patching for the hardest upgrade, and set identity, approval, and logging rules for any AI agent given write access to code or infrastructure |
Questions Worth Asking Any Vendor
| Question | Reason |
|---|---|
| Which lifecycle step do you cover, and which do you leave to me? | No single tool covers the full lifecycle |
| Who confirms a finding is real before my team spends time on it? | Unverified reports waste effort |
| Who tests and signs the fix, and who is responsible if it breaks something? | Fixes carry their own risk |
| Does your agent operate under a unique identity with logged, revocable access? | Agents are identities, not just features |
| What data leaves my environment, and is it retained? | Access terms vary by program and are not always zero retention by default |
| What protects me while the fix is being built? | Coverage during the wait matters as much as the fix itself |
Conclusion
None of the programs covered in this series replace a basic vulnerability management program. Glasswing, Daybreak, and Big Sleep speed up discovery. CodeMender and Lightwell speed up safe delivery of fixes. CISA's directive and the supporting frameworks tell you what to fix first. Virtual patching covers the gap while you wait. Agent identity and governance keep the automation itself from becoming a new risk.
The strongest organizations will not be the ones that adopt the most tools from Part 1. They will be the ones that connect discovery, context, prioritization, remediation, governance and learning into one repeatable loop, and that treat their AI agents with the same identity discipline as any other privileged account.
Start by finding the weakest link in that loop. If you cannot see your assets, fix discovery. If you cannot tell which findings matter, fix context. If your backlog keeps growing faster than you can clear it, fix remediation capacity. If an AI agent can act without clear boundaries, fix governance before you give it more access.
Further Reading
Opinions expressed by DZone contributors are their own.
Comments