TL;DR: 2025 AppSec is shifting toward runtime risk, according to Backslash Security, as static scanning, GenAI-generated code, CNAPP gaps, reachability analysis, and legacy-tool churn push teams to separate true exposure from noise. The identity implication is that application security is now inseparable from secrets, service credentials, and tool access moving through delivery pipelines.
At a glance
What this is: This is a 2025 AppSec trends roundup that argues the field is moving toward runtime-aware prioritisation, with reachability analysis and better data flow context reducing noise from static tools.
Why it matters: It matters because IAM, NHI, and developer security teams now have to govern code, secrets, and service access as one delivery-chain problem rather than separate control planes.
Context
Application security now has to account for how code behaves after deployment, not only what static analysis can infer before release. The problem is that modern software pipelines combine generated code, open-source dependencies, secrets, and runtime services in ways that create real exposure without always producing clear pre-deployment signals.
For identity and access teams, that makes AppSec partly an identity governance problem. Secrets, service credentials, tokens, and tool permissions move through CI/CD and application runtimes together, so control decisions increasingly depend on reachability, provenance, and whether access is actually used in production.
Backslash Security frames the issue as a 2025 trend shift, but the underlying pattern is broader: teams are trying to reduce low-value findings while preserving the ability to catch the paths that matter. That is typical of mature programmes facing scale, not a niche issue.
Key questions
Q: How can teams prioritise AppSec findings more effectively?
A: Prioritise findings by exploitability, reachability, and privilege. A low-severity issue that exposes a valid credential or reaches a sensitive API is often more urgent than a high-volume category of theoretical findings. This approach reduces noise and focuses remediation on the issues that can actually change access or impact.
Q: Why do AI-generated code changes increase application security risk?
A: AI-generated code can increase risk because it accelerates output faster than review, testing, and secret hygiene can keep up. The issue is not only flawed logic. It is also the possibility that tokens, credentials, unsafe dependencies, or insecure defaults are reproduced at scale across the delivery pipeline.
Q: What breaks when package scanning is not tied to runtime context?
A: Teams either miss risk because scans run too early, or they burn CI capacity on scans that cannot change the outcome. Runtime context matters because package installs, local shells, IDE activity, and subsystem use all affect what actually needs to be checked.
Q: How do SAST, SCA, secrets detection, and runtime analysis fit together?
A: They cover different stages of the delivery chain. SAST and SCA identify defects and dependency risk before release, secrets detection catches exposed credentials early, and runtime analysis confirms whether a weakness is actually reachable in production. Together they create a fuller risk picture than any one method alone.
Technical breakdown
Static scanning versus runtime agents in AppSec
Static scanning inspects code, dependencies, and build artefacts before the application runs. Runtime agents watch execution in the live environment and can confirm whether a vulnerable path is actually invoked. The architectural difference matters because static findings are broad and preventive, while runtime signals are narrower and evidence-based. Reachability analysis bridges the two by tracing whether a code path, dependency, or sink is present in the app’s execution graph. In practice, that shifts AppSec from generic flaw discovery toward risk-context validation, which is a better fit for modern pipelines with dense dependencies and frequent releases.
Practical implication: Use static analysis for breadth, but prioritise runtime context and reachability for remediation decisions.
How GenAI changes code security and secrets exposure
Generative AI accelerates code production, but it does not change the security model of the resulting software. AI-generated code can reproduce insecure patterns, copy vulnerable logic, or embed dependency choices that expand attack surface. In identity terms, the more code flows through assistants and automated build steps, the more likely secrets, tokens, and service credentials will also traverse those same paths. That makes AppSec a delivery-chain discipline rather than a code-review-only discipline. The core governance issue is not just vulnerable syntax, but whether the pipeline can detect leaked secrets, unsafe dependencies, and untrusted code paths before release.
Practical implication: Treat AI-assisted development as a higher-volume pipeline that needs stronger validation of code, secrets, and dependency trust.
Why reachability analysis is changing prioritisation
Reachability analysis asks a simple question: can this vulnerability actually be exercised in the application’s current architecture and data flow? That matters because traditional scanners often report every theoretical weakness they can see, even when the code path is dead, unreachable, or irrelevant in production. By adding call-graph, data-flow, or dependency context, teams can distinguish exploitable risk from static noise. In security operations terms, this is a prioritisation engine, not a replacement for discovery. It helps teams focus scarce remediation effort on findings that can be reached from live functionality rather than on every abstract defect.
Practical implication: Adopt reachability context to rank findings by exploitability instead of by scanner volume.
Threat narrative
Attacker objective: Exploit the gap between theoretical findings and reachable risk to keep real application weaknesses hidden in noisy security workflows.
- Entry begins in development and build pipelines, where GenAI-generated code, third-party libraries, and secrets can enter the delivery chain together.
- Credential exposure or abuse follows when hidden secrets, service credentials, or tokens are carried into code, logs, or deployment artefacts without enough contextual filtering.
- Impact occurs when teams chase large volumes of low-value findings and miss the paths that are actually reachable in production, leaving exploitable issues unaddressed.
Breaches seen in the wild
- DeepSeek database exposure 2025: An unauthenticated DeepSeek ClickHouse database exposed over a million log lines with plaintext chat history and API keys in 2025.
- Indian government breach 2021: Sakura Samurai found exposed .git and .env files across Indian government sites, leaking 35 credential pairs, private keys and personal data.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Runtime risk is becoming the organising principle for AppSec. Static finding volume no longer tells practitioners what matters, because modern delivery pipelines generate more code, more dependencies, and more noise than review teams can sort manually. Reachability and execution context are now the better indicators of whether a weakness is operationally relevant. The implication is that AppSec programmes have to measure exploitability, not just presence.
GenAI has turned code security into a velocity and trust problem at the same time. AI-generated code increases production speed, but it also multiplies the number of paths through which insecure logic, copied patterns, and embedded secrets can enter the build. That changes governance from individual code review to pipeline trust assurance. The implication is that teams must govern code provenance and secret handling as one control surface.
Reachability context is the named concept that best captures this shift. A finding without a reachable path is not the same as an exploitable weakness, and 2025 AppSec maturity is increasingly defined by the ability to separate the two. This is especially important where CNAPP covers production posture but leaves development-stage exposure under-governed. The implication is that prioritisation must move closer to live execution.
CNAPP does not close the AppSec gap by itself. Production protection and early development testing solve different problems, and one cannot substitute for the other. The article’s own trend line shows that SAST, SCA, and secrets detection remain necessary before deployment, while runtime context helps after deployment. The implication is that teams need a layered control model that spans the SDLC.
Legacy AppSec churn is a signal of control fatigue, not just tool dissatisfaction. When teams are overwhelmed by irrelevant findings, they are revealing a governance mismatch between detection capacity and operational decision-making. That is a programme design problem as much as a tooling problem. The implication is that security teams should re-centre on signal quality and remediation economics, not alert count.
From our research library:
- 43% of security professionals are concerned about AI systems learning and reproducing sensitive information patterns from codebases, according to the State of Secrets in AppSec.
What this signals
Reachability is the control-quality filter that AppSec programmes now need. When scanners produce more findings than teams can action, governance has to shift from detection volume to exploitability. That is the point where runtime context becomes a prioritisation mechanism, not just a technical enhancement.
Code generation and identity governance are converging inside the same pipeline. AI-assisted development does not only raise code quality concerns; it also increases the likelihood that secrets, service credentials, and tool permissions will move through build and release systems together. The control challenge is to govern the delivery path as a single trust boundary.
Backslash Security's trend summary aligns with a broader market anxiety: 43% of security professionals are concerned about AI systems learning and reproducing sensitive information patterns from codebases, according to the State of Secrets in AppSec. That concern is operationally meaningful because secret exposure is no longer just a code defect, but a pipeline behaviour problem.
For practitioners
- Prioritise reachable findings Re-rank scanner output by whether the vulnerable code path is actually reachable in the application’s deployed architecture and data flow.
- Separate pre-release and runtime controls Use SAST, SCA, and secrets detection in the pipeline, then add runtime context where live execution evidence is needed for remediation decisions.
- Validate GenAI-assisted code Require stronger testing and dependency review for AI-generated code so copied insecure patterns and hidden third-party risk do not pass unchecked.
- Tighten secret handling across pipelines Scan code, build artefacts, and logs for embedded secrets, service credentials, and tokens before release, not after exposure in production.
- Reduce false-positive remediation churn Measure whether the team’s backlog is dominated by findings that cannot be exploited in practice, then adjust triage rules around actual risk.
Key takeaways
- AppSec in 2025 is less about collecting more findings and more about deciding which findings are actually reachable in production.
- GenAI changes the security conversation by increasing code throughput and making secret and dependency trust harder to govern.
- Teams that combine static scanning with reachability and runtime context are better positioned to reduce noise without losing sight of real exposure.
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, OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | The article repeatedly references secrets exposure in code and pipelines. |
| NHI-10 — Human Use of NHI | The post links AppSec risk to secrets, service credentials, and tool access moving through delivery pipelines. | |
| Recommendation — Scan code, logs, and artefacts for leaked secrets before release and revoke exposed credentials immediately. Separate human development workflows from non-human credentials and govern pipeline-issued access explicitly. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article’s identity angle is about access scope across delivery pipelines and runtime environments. |
| Recommendation — Review application and pipeline entitlements for actual necessity, then remove unused access paths. | ||
| OWASP API Security Top 10 | API2 — Broken Authentication | Secrets and service credentials are central to how modern AppSec failures become exploitable access problems. |
| Recommendation — Validate API and service authentication flows so leaked credentials do not translate into unintended access. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | The article discusses secret exposure and the downstream risk of exploitable application paths. |
| Recommendation — Map exposed secrets and reachable paths to credential access and exfiltration risk in your detections. | ||
Key terms
- Reachability analysis: Reachability analysis checks whether a vulnerability can actually be exploited in the application’s real code paths and dependency graph. It helps teams distinguish theoretical findings from issues that an attacker can reach, which makes prioritisation far more accurate for both AppSec and identity risk management.
- Runtime Risk Controls: Runtime risk controls are safeguards that evaluate and constrain AI agent behaviour while the agent is operating. They help prevent unsafe actions by tying decisions to identity, policy, approvals, and context, rather than relying only on setup-time configuration or trust in the application owner.
- GenAI Generated Code: GenAI generated code is source code produced or heavily shaped by a generative AI system rather than written line by line by a developer. The code may be functional, but it still needs the same controls as human authored code, including review, testing, dependency checks, and security validation.
- Secrets In Pipelines: Secrets in pipelines are credentials, tokens, or keys that move through source control, build systems, logs, or deployment artefacts. The security issue is not only exposure, but persistence, because a leaked secret can remain reusable long after the code has changed.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle 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.
Published by the NHIMG editorial team on June 1, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org