Modern applications pull code from multiple sources, including open source and AI-generated content, which expands the attack surface and introduces provenance and legal questions. At the same time, apps now run across cloud and multi-cloud environments, making posture management, API security, and consistent governance harder to enforce across the full build and runtime chain.
Why the risk profile expands in modern application delivery
Modern software is assembled, deployed, and updated from a far wider set of components and trust relationships than older monolithic systems. Code may arrive from open source, internal packages, third-party APIs, managed cloud services, container images, and AI-assisted output, so security is no longer just about the application code you wrote. It is also about what you imported, how it was verified, and whether it can be traced back to a trustworthy source.
That shift matters because modern delivery chains multiply points where a malicious or simply broken dependency can enter production. The practical consequence is a larger attack surface, more transitive dependency risk, and more opportunities for secrets, credentials, and build artifacts to leak or be reused in ways that were less common in older release models. NHIMG’s The State of Secrets in AppSec is useful context for how often credentials and secrets sprawl across the delivery pipeline, while the OWASP API Security Top 10 remains a strong reference for API-driven failure modes that are now built into many applications by default.
A practical way to think about the difference is this: older software models concentrated risk inside a relatively bounded codebase and release process, while modern environments distribute risk across source control, build systems, package registries, containers, cloud infrastructure, and runtime integrations. That distribution improves velocity, but it also means one weak control can affect many downstream systems at once.
Why legal exposure increases alongside technical exposure
The legal risk is not just a by-product of more components, it comes from uncertainty about rights, provenance, and accountability. Open source code can carry licence obligations, AI-generated content can introduce authorship and usage questions, and third-party dependencies can create compliance issues if the organisation cannot prove where a component came from or what terms apply to it.
In older software models, the provenance problem was narrower because teams often controlled more of the code they shipped. In modern systems, organisations may need to evidence the origin of dependencies, the terms under which they are used, and whether they were checked against policy before release. That is especially important where software is redistributed, embedded in commercial products, or subject to sector-specific regulatory obligations. The NIS2 Directive, official EU legal text is a relevant benchmark because it links supply-chain governance and ICT risk management to broader operational duty of care, while PCI DSS v4.0 shows how access restriction and account control expectations now reach into application and system-account management.
Legal and security risk also intersect when the organisation cannot demonstrate control over the full chain of custody. If a dependency is copied from an untrusted source, modified without review, or shipped without adequate attribution and licence checks, the issue is not only technical compromise. It can become a governance failure, a contractual problem, or a compliance event.
Why cloud, multi-cloud, and AI-assisted development make control harder
Modern applications often run across multiple cloud environments and are built with tooling that changes faster than the governance model around it. That creates a gap between how quickly code and infrastructure move, and how consistently teams can apply posture management, API security, configuration review, and runtime policy across the full environment.
Multi-cloud and distributed delivery increase the chance of inconsistent controls, duplicate permissions, and blind spots between platforms. API-first architectures add more externally reachable interfaces, while containers and ephemeral infrastructure make it harder to rely on static baselines. If AI-generated code enters that environment, the review burden increases again because teams must validate not only functionality, but also provenance, licensing, and whether the generated code inherits insecure patterns from its training or prompt context. The NIST SP 800-190 Container Security guidance is a good fit for understanding how image, registry, orchestrator, and runtime issues accumulate, and the OWASP ASVS helps translate that complexity into concrete verification requirements for authentication, access control, and validation.
For organisations that also rely on strong identity controls, the operational lesson is that more dynamic application delivery means more places where authentication material, tokens, and service access can be mishandled. NHIMG’s 230M AWS environment compromise and Code Formatting Tools Credential Leaks both illustrate how modern tooling can turn convenience into exposure when secrets and configuration are not controlled throughout the chain.
Risk and Threat Considerations
The main risk is correlation: one weak dependency, leaked secret, or ungoverned cloud control can expose many applications at once. Attackers favour modern delivery pipelines because they can abuse shared tooling, inherited trust, and broad permissions to move from a single weak point into multiple environments.
Failure mechanism: Dependency ingestion, CI/CD compromise, exposed secrets, or inconsistent cloud policy creates a path where untrusted code or stolen credentials can reach build, deploy, or runtime systems without adequate verification.
Impact: The result can include code tampering, data exposure, unauthorized access, licence or compliance disputes, and expensive remediation across several environments instead of one bounded system.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS 6 — Access Control Management | Modern app risk increases when access paths and privileges sprawl across build and runtime systems. |
| CIS 15 — Service Provider Management | Multi-cloud and third-party dependencies expand supplier and shared-responsibility risk. | |
| CIS 16 — Application Software Security | The question centers on modern application delivery risk across code, APIs, and deployment chains. | |
| Recommendation — Centralize access control for build, cloud, and runtime systems and remove unnecessary privileges. Assess service providers and dependencies before allowing them into the delivery chain. Embed security checks into the software life cycle for code, dependencies, and deployment artifacts. | ||
| NIST CSF 2.0 | GV.SC — Cybersecurity Supply Chain Risk Management | Modern applications rely on external code sources and cloud services with supply-chain implications. |
| PR.DS — Data Security | Secrets, credentials, and build artifacts are central exposure points in modern delivery pipelines. | |
| PR.AC — Identity Management, Authentication, and Access Control | Distributed cloud and API environments amplify access-control and authorization failures. | |
| Recommendation — Define and enforce supply-chain risk requirements for third-party code, services, and dependencies. Protect sensitive build and runtime data, including secrets, credentials, and configuration. Apply least privilege and strong authentication across applications, APIs, and cloud operations. | ||
| OWASP Agentic AI Top 10 | A1 — Agentic Supply Chain Risks | AI-generated or AI-assisted code introduces provenance and supply-chain concerns in application delivery. |
| A4 — Tool and API Misuse | Modern apps often depend on APIs and tools whose misuse can cause security and operational exposure. | |
| A8 — Insecure Output Handling | Generated code and content can introduce unsafe patterns if accepted without review. | |
| Recommendation — Verify the origin and trustworthiness of AI-assisted outputs before they enter production. Constrain tool and API access so each integration can only perform explicitly approved actions. Review generated outputs before reuse and block unsafe patterns from reaching production. | ||
Practitioner Guidance
What to verify: Treat provenance, licence status, and runtime trust as separate checks. A component can be technically functional but still unacceptable if you cannot prove where it came from or whether it is permitted for the intended use.
What practitioners underestimate: The hardest part is usually not one control, but consistency across the chain. If build systems, package sources, cloud policies, and API review do not share the same governance standard, the weakest stage becomes the entry point.
Decision rule: If a component can reach production without a clear owner, source, and approved deployment path, treat it as a governance issue first and a code issue second.
Practitioner takeaway: Modern application risk is higher because trust has become distributed, so the control objective is no longer just secure code, it is defensible provenance, bounded access, and consistent enforcement from source to runtime.
Related resources from NHI Mgmt Group
- Why do containers create more security risk than older application models?
- Why does fragmented application security tooling create risk in complex software environments?
- Why do application vulnerabilities create such high risk in modern software environments?
- Why do operational documents create more security risk than traditional regulated data in modern environments?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org