TL;DR: AI-driven code security can now find more than 500 high-severity vulnerabilities in production open-source codebases, according to Aqua Security citing Anthropic’s Claude Code Security results. That improves pre-deployment analysis, but it does not replace runtime security, because production-only misconfigurations, privilege escalation, and workload drift still determine real exposure.
At a glance
What this is: This analysis argues that AI-powered code scanning improves pre-deployment security, but runtime remains the decisive control layer for exposure that only appears in production.
Why it matters: It matters because IAM, NHI, and platform security teams cannot treat better code review as a substitute for runtime visibility, privilege control, and behavioural enforcement.
By the numbers:
- Claude Code Security found over 500 high-severity vulnerabilities in production open-source codebases.
- $15 billion in market cap was wiped out, iped out in a single day.
👉 Read Aqua Security's analysis of why runtime security still matters for AI-assisted code review
Context
AI code scanning is getting better at finding flaws before software ships, but runtime security still governs what happens when code is assembled, deployed, and executed. For identity teams, that means the security problem is not only code quality. It is whether production identities, privileges, and workload behaviour are controlled once the application is live.
The primary keyword here is runtime security, and the article’s core claim is that pre-deployment analysis and production enforcement solve different problems. In cloud-native environments, AI can help narrow vulnerability noise, but it cannot see misconfigured runtime access, drifting workload behaviour, or privilege escalation paths that emerge only after deployment.
That makes this a governance issue as much as a detection issue. IAM, NHI, and container security teams have to decide which controls belong in the build pipeline and which must remain live in production. The article’s starting position is typical for modern cloud environments, where shift-left has improved analysis without eliminating runtime exposure.
Key questions
Q: How should security teams combine AI code scanning with runtime security?
A: Use AI code scanning to reduce obvious pre-deployment defects, then use runtime security to validate what is actually executing in production. The two controls answer different questions. Scanning improves code quality, while runtime controls expose privilege changes, process behaviour, and reachable attack paths that only appear after deployment.
Q: When does pre-deployment scanning stop being enough for cloud-native systems?
A: Pre-deployment scanning stops being enough when the security question depends on runtime state, not source code. If exploitability hinges on live privileges, container behaviour, dependency drift, or authentication chains in production, the scanner cannot answer it alone. That is where runtime enforcement and telemetry become mandatory.
Q: What do security teams get wrong about shift-left and AI-assisted review?
A: The common mistake is assuming better analysis of code automatically means lower production risk. In reality, AI-assisted review narrows one part of the problem while deployment state, workload identity, and operational drift still create exposure. Security teams need both stronger build-time review and live runtime controls.
Q: Why does runtime security matter for workload identities in containers?
A: Workload identities control what a live container can do once it is running, so they define the practical blast radius of a compromise. If permissions are too broad or inherited by default, runtime exposure becomes much larger than source code review suggests. That is why identity scope must be managed in production, not just at build time.
Technical breakdown
Why AI code scanning stops at the deployment boundary
Reasoning-based code analysis can inspect source, trace data flow, and infer logic flaws across commits, but it still works on static artefacts. It cannot execute the application inside a live container, observe real authentication chains, or test whether privilege changes emerge under runtime conditions. That limitation is architectural, not a product gap. Once code is assembled into frameworks, libraries, images, and operating-system layers, the security question changes from "what is in the code" to "what is actually running."
Practical implication: keep static analysis in the pipeline, but do not let it replace runtime policy enforcement or workload telemetry.
Container runtime behaviour is where exploitable exposure appears
Containers are not just application code. They include frameworks, dependencies, base images, utilities, and configuration states that can drift independently of source changes. Many serious exposures only appear when a workload starts processes, opens network connections, touches files, or inherits privileges from its runtime environment. That is why a scanner can report a vulnerability that is not actually reachable in production, while runtime observation can prove whether it is exposed, exploitable, or already contained.
Practical implication: validate exploitability in live workloads before prioritising remediation effort.
Why shift-left creates a stronger runtime security requirement
As AI accelerates code review and remediation, more software reaches production faster and changes more often. That increases the number of moving parts around the code itself, especially dependencies and deployment state. The paradox is that better pre-deployment tooling does not reduce runtime complexity, it increases the need to watch it closely. Runtime security becomes the control that separates theoretical vulnerabilities from the ones that can actually be reached, abused, or chained in production.
Practical implication: pair AI-assisted code scanning with runtime detection, policy, and response controls sized for faster release velocity.
NHI Mgmt Group analysis
Runtime security is becoming the trust boundary that code scanning cannot cross. AI can improve pre-deployment detection, but it does not change the fact that exploitable exposure is often created after deployment by configuration, privilege, and workload behaviour. The important shift for the field is that the control plane moves from code correctness to runtime observability and enforcement. Practitioners should treat production behaviour as the authoritative security state.
Identity blast radius is the right named concept for this problem. Static analysis can reduce vulnerable code, but it cannot define how far a compromised workload identity can move once the application is live. That blast radius is shaped by permissions, service-to-service trust, and runtime context, not by source-code quality alone. The implication is that identity scope, not just vulnerability count, becomes the decisive measure of exposure.
Shift-left and runtime security are not competing models. They are different answers to different questions. Shift-left narrows what ships, while runtime controls govern what survives contact with production reality. The article is right to reject the false choice between them. For practitioners, the field is moving toward a layered model where code review, workload identity, and runtime policy each carry a separate part of the burden.
For cloud-native security programmes, the weakest assumption is that better AI will eliminate operational risk. That assumption fails because AI improves analysis faster than it removes dependency drift, privilege sprawl, or execution-time misconfiguration. The implication is that governance must stop equating earlier detection with lower exposure and start measuring runtime containment as the real security outcome.
Runtime telemetry is now a governance signal, not just a detection signal. Process activity, network paths, and file access patterns tell security teams whether a workload is behaving inside its intended boundary. That makes runtime data useful to IAM, NHI, and DevSecOps teams at the same time. Practitioners should treat production telemetry as evidence for risk acceptance, not only incident response.
From our research:
- 1 in 4 organisations are already investing in dedicated NHI security capabilities, with an additional 60% planning to do so within the next twelve months, according to The State of Non-Human Identity Security.
- Only 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, compared to nearly 1 in 4 for securing human identities, according to the same research.
- For a wider governance baseline, see Ultimate Guide to NHIs , Key Challenges and Risks, which frames the visibility and privilege problems that runtime controls must contain.
What this signals
Identity blast radius is the practical issue hidden inside the runtime security debate. As AI improves pre-deployment review, the deciding factor becomes how far a compromised workload identity can move once production begins, which is why runtime containment needs to sit alongside scanning and code review.
The governance signal is that faster software delivery increases the value of live telemetry, not lessens it. Teams that already struggle with NHI visibility should expect the same pattern to show up in containerised workloads, where the problem is not only what was built but what is still allowed to execute.
If your programme treats workload identity as a build-time concern, the operational gap will widen. Runtime behaviour, privileged access, and production drift are becoming the indicators that separate theoretical security from demonstrable control.
For practitioners
- Separate build-time and runtime control ownership Assign static analysis, container scanning, and dependency review to engineering pipelines, then assign workload monitoring, policy enforcement, and privileged-access control to runtime security owners. The goal is to prevent one control set from being treated as a substitute for the other.
- Prioritise exploitable runtime exposure over raw CVE volume Use live workload context to decide whether a vulnerability is reachable, whether the process is actually running, and whether the container can escalate privileges or move laterally. This filters out theoretical noise and focuses remediation on what attackers can touch.
- Map workload identities to their production blast radius Review which service accounts, tokens, and runtime identities are available after deployment, what they can reach, and what containers inherit them by default. Tighten the permissions that matter most in the live environment rather than assuming upstream code review is enough.
- Instrument runtime drift as a security event Alert when processes, network destinations, mounted files, or effective privileges diverge from the approved baseline. That gives teams a practical way to spot when an AI-checked build has become a materially different production workload.
Key takeaways
- AI code scanning improves pre-deployment detection, but it does not replace the need to control what workloads can do in production.
- The real security boundary is runtime behaviour, where privilege, reachability, and drift determine whether a vulnerability is actually exploitable.
- Practitioners should align scanning, workload identity, and runtime enforcement as separate controls, not as interchangeable layers.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Runtime workload identities and credential exposure shape the attack surface discussed here. |
| NIST CSF 2.0 | DE.CM-1 | Continuous monitoring is central to distinguishing real exposure from theoretical findings. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Least-privilege enforcement in production is the runtime control the article elevates. |
Instrument production workloads so drift and privilege changes are visible in continuous monitoring.
Key terms
- Runtime Security: Runtime security is the set of controls that observe and enforce what software does while it is actually running. It focuses on live processes, network activity, file access, and privilege use, because those are the conditions that determine real-world exposure after deployment.
- Workload Identity: Workload identity is the identity assigned to a running application, service, or container so it can authenticate and access resources. In practice, it defines the effective permissions available to a live workload and therefore shapes the blast radius of compromise.
- Identity Blast Radius: Identity blast radius is the amount of damage an identity can cause if it is abused or compromised. For workloads and containers, it is determined by privileges, network reach, and runtime context, not by how secure the source code looked before deployment.
Deepen your knowledge
NHI governance, machine identity security, and workload identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
This post draws on content published by Aqua Security: When AI Writes, Scans and Fixes Code, Runtime Becomes the Last Line of Defense. Read the original.
Published by the NHIMG editorial team on 2026-02-26.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org