TL;DR: Application security testing spans threat modeling, SAST, SCA, DAST, and IAST, but findings only become actionable when teams add cloud, IAM, and runtime context to separate theoretical defects from exposures that can actually be reached, according to Orca Security. Static checks alone do not resolve production risk; governance must connect code, infrastructure, and identity.
At a glance
What this is: This is an analysis of application security testing as a lifecycle programme, with the key finding that cloud and runtime context are needed to prioritise what matters.
Why it matters: It matters because IAM, NHI, and platform teams all influence whether a code flaw becomes an exposed, reachable, and remediable risk in production.
👉 Read Orca Security's analysis of application security testing in cloud environments
Context
Application security testing is not a single scan, but a set of controls that find defects across design, code, dependencies, and running systems. The article argues that the real governance gap appears when AST findings are assessed without cloud exposure, IAM permissions, or runtime reachability, because then teams cannot tell which issues are merely present and which are exploitable.
For identity programmes, the important link is that application risk now depends on more than code quality. APIs, service accounts, cloud roles, and deployment paths can turn a low-level defect into a production incident, so AST has to sit alongside identity governance rather than underneath it.
Key questions
Q: How should security teams prioritise application security testing findings?
A: Prioritise by combining defect severity, exploitability, cloud exposure, identity reach, and data sensitivity. A medium-severity issue on an internet-facing workload with privileged access can matter more than a critical issue in an isolated environment. The right order is the one that reflects real attack path, not scanner severity alone.
Q: Why do cloud environments change application security testing results?
A: Cloud environments add permissions, public exposure, secrets, and cross-account paths that code-only testing cannot see. The same flaw can be harmless in one deployment and exploitable in another because the environment supplies the missing conditions for reachability and escalation. That is why AST needs deployment context, not just source findings.
Q: What do teams get wrong about SAST and SCA?
A: They often treat SAST and SCA as a complete risk picture when they are really early signals. SAST tells you what looks dangerous in code, and SCA tells you what you shipped, but neither proves whether attackers can reach the flaw in production. Reachability still has to be tested separately.
Q: How do teams know if an AST programme is working?
A: A mature AST programme reduces repeat findings, shortens remediation time, blocks critical issues before release, and aligns scanner results with actual incidents. If the programme produces many findings that never map to exposure or real exploit paths, it may be generating noise instead of governance value.
Technical breakdown
Threat modeling and shift-left security
Threat modeling defines entry points, trust boundaries, and the data flows that matter before code hardens around wrong assumptions. In practice, it gives SAST, DAST, and manual testing a map to test against, rather than leaving teams to chase generic findings after the fact. Shift-left security works because developers still have context when flaws are cheaper to fix, but the model must be updated when APIs, federation, or cloud services change the real attack surface.
Practical implication: keep threat models versioned with architecture changes so security tests stay aligned with what is actually deployed.
SAST and software composition analysis in CI
SAST inspects source or compiled code without executing it, which makes it useful for fast feedback on injection patterns, weak crypto, and hard-coded secrets. SCA complements that by inventorying third-party packages and flagging vulnerable or risky dependencies, including transitive ones. Together they answer different questions: what the code is doing, and what the shipped software contains. Neither technique alone proves whether a flaw is reachable in the deployed environment.
Practical implication: route SAST and SCA findings into owner-based remediation workflows and validate coverage against your real language and dependency stack.
DAST, IAST, and runtime exposure
DAST tests the running application through its external interfaces, which makes it good at finding auth bypasses, configuration issues, and flaws that only appear once the app is live. IAST adds runtime instrumentation so teams can trace data paths with more precision, but it brings operational overhead and depends on the environment being representative. Both techniques are strongest when they are used to confirm exploitability, not just identify a vulnerability class.
Practical implication: pair runtime testing with production-like auth, routing, and data paths so findings reflect real exposure rather than lab-only conditions.
Threat narrative
Attacker objective: The attacker aims to move from a software defect to a production-reachable path that exposes data, privileges, or business-critical workflows.
- Entry occurs when attackers reach an exposed application, API, or dependency path that was not accounted for in code-only testing.
- Escalation happens when a reachable weakness combines with cloud permissions, identity access, or unsafe deployment defaults to expand impact.
- Impact follows when the flaw touches sensitive data, privileged interfaces, or multi-account cloud paths that the AST programme did not model.
Breaches seen in the wild
- Azure Key Vault privilege escalation exposure — Azure Key Vault Contributor role misconfiguration enabled privilege escalation.
- Codefinger AWS S3 ransomware attack — Codefinger used compromised AWS credentials to encrypt S3 buckets via SSE-C.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Cloud context is now part of application security testing, not an optional add-on. AST has always found defects in code and dependencies, but those findings do not become risk until they are mapped to exposure, permissions, and reachable paths. The article correctly pushes teams to ask whether a vulnerability sits on an internet-facing workload, a privileged identity path, or an isolated build system. Practitioners should treat exposure context as the deciding layer, not a reporting enhancement.
Application security testing fails when it stops at repository hygiene. A scanner can prove that a flaw exists, but not whether the flaw can be reached in the deployed system or amplified by cloud identity. That is why identity-aware prioritisation matters: service accounts, cloud roles, and deployment paths change the practical severity of the same code defect. Practitioners should align AST triage with runtime access, not just CVSS.
Runtime reachability is the named concept that separates signal from noise. A finding has governance value only when teams can show that code, dependency, and environment conditions line up to create an actual attack path. This is where AST, cloud posture, and identity governance converge into one decision model. Practitioners should stop treating exploitability as a lab property and start treating it as a production context question.
Secure software development frameworks need identity context to stay relevant. NIST SP 800-218 supports integrating security into delivery, but modern delivery now includes API exposure, federation, and machine access paths that earlier models underemphasise. The important shift is not more scanning, but better linkage between development controls and the identities that can activate defects. Practitioners should make AST accountable to the same governance chain that owns runtime access.
AST and cloud security are converging into a single control plane for remediation decisions. The article points to a broader operating model where source, pipeline, infrastructure, and identity evidence are reviewed together. That reduces blind spots where a high-severity issue is harmless in one environment but urgent in another. Practitioners should organise remediation around reachable risk, not tool category.
From our research:
- 69% of security leaders agree identity management must fundamentally shift to address agentic AI systems, according to The 2026 Infrastructure Identity Survey.
- 67% of organisations still rely heavily on static credentials despite the risks they pose to agentic AI deployments.
- That shift is explored further in Ultimate Guide to NHIs , Key Challenges and Risks, which frames why visibility and access scope remain the central governance problem.
What this signals
Runtime reachability will become the main dividing line between useful AST and expensive noise. As cloud estates grow more dynamic, the programme that matters is the one that can explain which findings can actually be reached from an exposed workload, a privileged identity, or a production integration. The same defect may be low priority in one environment and critical in another, so triage has to be environment-aware.
Identity will keep absorbing application risk. When service accounts, workload roles, and deployment permissions determine whether code defects become incidents, AST cannot stay separate from IAM and cloud governance. Teams that keep these controls in different operating lanes will continue to over-respond to scanner output while underestimating real attack paths.
Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security, according to The 2026 Infrastructure Identity Survey. That gap is a warning sign for broader application governance, because the same pattern appears when teams can observe defects but cannot govern the runtime identities that expose them.
For practitioners
- Map AST findings to runtime exposure Join code findings to cloud context, public exposure, and identity permissions before assigning remediation priority. A vulnerability on an isolated internal service should not be treated the same as the same flaw on an internet-facing workload with customer-data reach.
- Version threat models with architecture changes Revisit data flows when you add APIs, federation, new service accounts, or cloud integrations. Store the model with the application so security review happens alongside code and infrastructure changes.
- Triage dependency risk with ownership and reachability Require SBOM-backed SCA results to identify which package is actually shipped and whether the vulnerable path is reachable in production. Route only the exposed and exploitable cases into urgent remediation.
- Extend quality gates into deployment workflows Keep SAST and SCA in CI, then add a promotion gate for critical cloud exposures before production release. That keeps security review tied to the environment that can actually be attacked.
- Instrument runtime testing around real auth paths Run DAST and IAST against production-like authentication, routing, and data handling so scans cover the flows attackers can actually traverse. Validate results against cloud access paths and business workflows before closing findings.
Key takeaways
- Application security testing is most effective when it connects code defects to real exposure, not when it stops at repository findings.
- Cloud permissions, public reachability, and runtime paths can turn the same flaw into very different risk levels across deployments.
- Teams should organise AST around reachability, ownership, and production context so remediation effort goes to the issues attackers can actually use.
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 |
|---|---|---|
| NIST CSF 2.0 | PR.AC-4 | AST prioritisation depends on whether the flaw is reachable through authorised access paths. |
| NIST Zero Trust (SP 800-207) | SC-7 | Cloud context and runtime exposure determine whether a defect can be reached across trust boundaries. |
| OWASP Non-Human Identity Top 10 | NHI-06 | Identity and secrets context can turn code issues into production risk through overexposed machine access. |
Review application findings alongside machine identity and secret exposure before release.
Key terms
- Application Security Testing: Application security testing is the practice of finding security defects across design, code, dependencies, and runtime systems. It combines multiple techniques so teams can see both where software is weak and whether those weaknesses are reachable in the deployed environment.
- Static Application Security Testing: Static Application Security Testing, or SAST, examines source code or compiled artifacts without running the application. It is useful for fast feedback on insecure patterns, but it cannot prove whether a flaw is reachable in production without additional runtime and environment context.
- Software Composition Analysis: Software Composition Analysis, or SCA, inventories open-source and third-party components and checks them against known vulnerability and license data. It helps teams understand what they shipped, but it does not replace patching discipline or runtime reachability testing.
- Runtime Reachability: Runtime reachability is the question of whether a vulnerability or misconfiguration can actually be triggered in the deployed system. In practice, it depends on routing, authentication, identity permissions, cloud exposure, and business workflow, not just the existence of a flawed component.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or programme maturity in your organisation, it is worth exploring.
This post draws on content published by Orca Security: application security testing in cloud environments. Read the original.
Published by the NHIMG editorial team on 2026-06-19.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org