TL;DR: SAST and SCA still find code and dependency flaws, but AI-generated code, fast release cycles, and fragmented cloud identities make isolated findings hard to triage, according to OXSecurity. Exposure-aware ASPM is now the decisive layer because reachability, identity bindings, and runtime context determine what is actually exploitable.
At a glance
What this is: This is an analysis of why static AppSec tools are no longer enough on their own, and how exposure-aware ASPM changes prioritisation by adding runtime, cloud, and identity context.
Why it matters: It matters because IAM, NHI, and security teams need to know which code flaws and dependency issues are reachable through real identities, not just which ones exist in scan output.
By the numbers:
- The average estimated time to remediate a leaked secret is 27 days, despite 75% of organisations expressing strong confidence in their secrets management capabilities.
- AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers.
- 28.65 million new hardcoded secrets were detected in public GitHub commits in 2025 alone, a 34% year-over-year increase and the largest single-year jump ever recorded.
👉 Read OXSecurity's analysis of why SAST and SCA need ASPM context
Context
Static analysis remains essential, but it cannot judge exposure on its own. The primary gap in modern AppSec is not finding flaws, but understanding which flaws are reachable through public routes, cloud identities, container paths, or runtime behaviour. In AI-assisted development, that gap widens because code is generated faster than teams can inspect it.
That problem sits close to identity governance because many exploitable findings only matter when an application path is reachable through an over-privileged service account, an exposed token, or a mis-scoped workload identity. In practice, AppSec now depends on correlating code, dependency, CI/CD, cloud, and identity signals. That starting position is becoming typical rather than exceptional.
Key questions
Q: How should security teams decide between SAST and SCA?
A: Use SAST for code your organisation wrote and SCA for software it imported. If the application has both custom logic and third-party packages, you need both controls because they answer different questions. The correct decision model is coverage, not replacement, especially when runtime exposure and privilege change the impact of each finding.
Q: Why do identity and workload bindings change AppSec risk?
A: Because many application flaws only become exploitable when a real identity can invoke them. A service account with broad permissions, a token exposed in a pipeline, or a workload identity on a public route can turn a static finding into an active attack path. Without identity context, AppSec teams often underestimate blast radius.
Q: What do teams get wrong when they rely on vulnerability counts alone?
A: They treat inventory as exposure. Vulnerability counts tell you what exists, but not what is reachable, loaded, or connected to sensitive data. That leads to noisy backlogs, arbitrary fix-first lists, and poor use of engineering time. Exposure-aware prioritisation reduces triage debt by separating theoretical issues from practical attack paths.
Q: How do AppSec and IAM teams work together on exposure-based prioritisation?
A: AppSec should map findings to service identities, permissions, and runtime routes, while IAM validates which identities can actually invoke risky paths. Together, they can spot over-privileged services, hidden trust boundaries, and access paths that static tools miss. This coordination is essential when AI-generated code and fast deployments compress review windows.
Technical breakdown
Why SAST sees flaws but not exposure
SAST inspects source code for insecure patterns such as injection, broken validation, and unsafe authentication logic. It is strong at finding defects introduced by developers or AI coding tools, but it cannot see how code is deployed, which routes are public, or whether an issue sits behind a restrictive gateway. That means SAST reports potential weakness, not realised risk. In fast-moving environments, the same flaw may be harmless in one service and critical in another because of routing, identity enforcement, or data sensitivity.
Practical implication: Treat SAST as a defect detector, then enrich it with runtime and identity context before deciding what to fix first.
How SCA maps dependency risk, but still misses runtime reality
SCA inventories third-party libraries, packages, container layers, and transitive dependencies. That is useful because supply chain exposure often enters through code you did not write. The limitation is that presence in a bill of materials does not prove execution in production. A vulnerable package can exist in a dormant layer, a dev-only path, or a service that is never called. Without runtime telemetry, teams confuse inventory with exposure.
Practical implication: Use SCA to locate inherited risk, then confirm whether the dependency is actually loaded, invoked, or connected to sensitive systems.
Why ASPM changes AppSec prioritisation
ASPM correlates SAST, SCA, CI/CD, cloud configuration, identity bindings, and runtime behaviour into a single exposure model. The key idea is reachability: a finding matters more when it sits on a live execution path, has network exposure, or intersects with privileged identities. This turns long vulnerability lists into a ranked map of business risk. In modern software delivery, that correlation is the difference between busywork and governance.
Practical implication: Build triage around reachability, privilege, and data paths instead of severity scores alone.
Threat narrative
Attacker objective: The attacker objective is to exploit a reachable application weakness or dependency path that static scanners flagged but teams failed to contextualise.
- Entry begins when insecure code or a vulnerable dependency is introduced through AI-assisted development, copied snippets, or fast-moving CI/CD pipelines.
- Escalation occurs when static findings are deployed without runtime, identity, or cloud-context checks, allowing reachable flaws to sit behind public interfaces or privileged workload identities.
- Impact follows when an exposed route or dependency enables unauthorized access, sensitive data exposure, or misuse of cloud-bound credentials.
NHI Mgmt Group analysis
Exposure, not inventory, is the real AppSec control plane: SAST and SCA remain valuable, but they only describe what exists in code and dependencies. They do not tell you whether a flaw is reachable, whether an identity can invoke it, or whether the data path is sensitive. In modern software delivery, that gap creates false confidence and wasted remediation effort. Practitioners should judge risk by reachability and privilege, not by scan volume alone.
AI-generated code makes static-only governance weaker: Code generation accelerates release velocity, but it also multiplies the number of places where unsafe defaults can appear. Missing authorisation checks, unsafe SQL, and hard-coded secrets can enter codebases faster than teams can review them manually. That does not make SAST obsolete, but it does make contextual triage mandatory. Practitioners should expect AI-assisted development to increase the need for control correlation, not reduce it.
Identity binding is now part of AppSec prioritisation: A code flaw becomes materially more important when it is reachable through an over-privileged service account, workload identity, or exposed token. That is where AppSec and IAM intersect in a way many programmes still under-model. Identity-reachability gap: the failure to connect code findings to the identities that can actually invoke them. Practitioners should fold identity metadata into every exposure decision.
ASPM is succeeding because it resolves governance debt, not because it replaces scanners: The market is moving toward correlation layers that turn fragmented signals into decision-grade risk. That validates the existing SAST and SCA stack, but it also shows why isolated tooling produces governance debt over time. Security leaders should expect prioritisation to shift from tool output to exposure model ownership. Practitioners should align AppSec, cloud, and identity teams around a shared risk graph.
What this signals
Identity-reachability gap: AppSec programmes will increasingly be judged on whether they can connect code findings to the identities that can actually invoke them. That means service accounts, workload identities, tokens, and pipeline credentials move from an infrastructure detail to a prioritisation input. Security leaders should expect their triage process to shift from issue volume to exposed execution paths.
AI-assisted development shortens the window between flaw creation and deployment, which makes correlation more important than ever. Teams that still run SAST and SCA as isolated scanners will keep producing backlogs that look comprehensive but do not reflect real attack surface. The practical response is to align AppSec, cloud security, and IAM around one exposure model and one remediation queue.
For practitioners
- Correlate static findings with runtime reachability Map SAST and SCA output to live routes, deployed services, and execution paths so teams fix issues that an attacker can actually reach. Prioritise any flaw on a public API, privileged workflow, or data-bearing service first.
- Add identity context to every high-risk finding Tag vulnerable services with the service accounts, tokens, and workload identities that can invoke them. This reveals whether an issue is isolated or exposed through over-privileged access that expands blast radius.
- Separate dormant dependencies from active ones Use SBOM and runtime telemetry together to determine whether vulnerable packages are loaded in production, only present in dev builds, or never executed. That prevents teams from treating inventory as exposure.
- Embed security checks inside AI coding workflows Place policy and context in IDEs, coding agents, and pull-request gates so AI-generated code is reviewed before it reaches commit or deployment. Focus especially on authentication, input validation, and secret handling.
Key takeaways
- SAST and SCA still matter, but they are incomplete without runtime and identity context.
- AI-generated code and fast deployments increase the chance that static findings reach production before review catches them.
- Exposure-based prioritisation is now the control that turns AppSec output into defensible risk decisions.
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 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AC-4 | Access control and least privilege shape which findings are truly reachable. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is central when code flaws become exploitable through identity bindings. |
| CIS Controls v8 | CIS-5 , Account Management | Account governance matters when CI/CD and service identities expand blast radius. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Secret handling and NHI exposure are relevant where AI and pipelines create credential risk. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0008 , Lateral Movement | Credential abuse and movement through exposed paths are the main downstream threats. |
Map exposed secrets and service credentials to NHI-03 and prioritise remediation by reachability.
Key terms
- Identity Security Posture Management: Identity security posture management is the continuous assessment of identity configuration, privilege, and exposure across an environment. It focuses on drift, overprivilege, and control gaps so teams can see where IAM, PAM, and NHI governance are failing before those gaps become incidents.
- Exposure-based prioritisation: Exposure-based prioritisation ranks findings by whether they can actually be reached in the live environment. It goes beyond severity scores by considering runtime paths, identity permissions, network exposure, and data sensitivity, which makes it more useful for triage in large engineering organisations.
- Static Application Security Testing: Static Application Security Testing is a method for finding security flaws by examining code, binaries, or configuration without executing the application. It is strongest when used early in development, where teams can fix issues before deployment and prevent avoidable defects from reaching production.
- Software Composition Analysis: Software composition analysis is the inspection of dependencies and packages to identify known vulnerabilities in third-party or transitive code. It complements secret scanning by answering a different question: what exploitable software weaknesses are present in the container, regardless of whether credentials are embedded.
What's in the full article
OXSecurity's full article covers the operational detail this post intentionally leaves for the source:
- Inline examples of how the vendor maps SAST and SCA findings to execution context inside AI coding tools and pipelines.
- The step-by-step ASPM correlation model used to join cloud configuration, CI/CD metadata, runtime behaviour, and code findings.
- Developer workflow examples showing how findings are presented at the point of creation rather than only in post-build dashboards.
- Practical implementation detail on how exposure-aware prioritisation is used to separate reachable issues from dormant ones.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, secrets management, and workload identity. It is designed for practitioners who need to connect identity controls to broader security operations and risk management.
Published by the NHIMG editorial team on August 1, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org