Subscribe to the Non-Human & AI Identity Journal

Who is accountable when a compromised dependency exposes model traffic and internal services?

Accountability sits with the teams that own software provenance, runtime segmentation, and AI traffic governance. Security, platform, and application owners all have a role, because the attack succeeds when dependency trust, host access, and model relay paths are treated as separate problems.

Why This Matters for Security Teams

A compromised dependency can expose model traffic, internal APIs, secrets, and orchestration paths in a single incident, which is why accountability cannot sit in one silo. Security, platform, and application owners all share responsibility for the trust decisions that made the exposure possible. The real issue is not just whether the package was malicious, but whether dependency provenance, service-to-service access, and AI relay controls were treated as one risk surface. Current guidance from NIST SP 800-53 Rev 5 Security and Privacy Controls supports this shared-control model.

For AI-enabled environments, this matters because model traffic often carries prompts, retrieved context, tool outputs, and session data that can reveal business logic or privileged internal endpoints. If a dependency is inserted into a build path, runtime image, or agent toolchain, the blast radius can extend well beyond the affected service. NHI governance also becomes relevant when workloads use non-human identities to call models, vector stores, or control planes, because those identities can inherit unsafe trust if their access is not segmented. In practice, many security teams encounter the incident only after model relay paths and internal service exposure have already been combined into one exploitation chain, rather than through intentional dependency risk review.

How It Works in Practice

Accountability usually maps to the control layer that failed first, then to the owners of the downstream systems that were exposed. The software owner is responsible for dependency approval, the platform team for runtime isolation, and the security function for policy, detection, and escalation. In AI environments, that same split extends to model gateways, prompt brokers, retrieval services, and agent tool access. A useful reference point is the Anthropic — first AI-orchestrated cyber espionage campaign report, which shows how AI workflows can be abused when trust is overextended across components.

  • Track the dependency from source to build artifact, then from image to runtime host, so provenance gaps are visible.
  • Segment model traffic from general application traffic, especially where prompts, retrieval results, and tool calls cross trust boundaries.
  • Restrict non-human identities to the minimum service, model, and data scopes required for the workload.
  • Log dependency changes, outbound model calls, and lateral service access in a way that supports incident triage.
  • Assign a named owner for each control plane, because shared responsibility without a primary accountable party tends to fail during response.

This is also where cloud and identity controls intersect: if the compromised dependency can reach internal services, then IAM decisions, network policy, and workload identity become part of the same failure path. A mature program should be able to answer who approved the dependency, who owned the service account, who monitored the relay path, and who can isolate it quickly. These controls tend to break down when development, platform, and AI operations are split across separate toolchains because each team assumes another owns the trust boundary.

Common Variations and Edge Cases

Tighter dependency control often increases release overhead, requiring organisations to balance deployment speed against provenance assurance and runtime isolation. That tradeoff becomes sharper in fast-moving AI environments, where new packages, connectors, and model gateways appear frequently and not every dependency is security-reviewed in advance.

Best practice is evolving for agentic AI and model routing layers, so there is no universal standard for assigning accountability to every intermediary service yet. In some organisations, the platform team owns service mesh and network segmentation, while the application team owns prompt handling and retrieval logic. In others, the security team must enforce policy centrally because multiple products share the same model relay. The practical test is whether ownership is explicit enough to stop unsafe trust from passing between build, runtime, and AI access layers.

Where regulated data or high-value internal systems are involved, teams should treat the dependency as part of a broader control chain rather than an isolated software issue. That means aligning change management, access review, and incident response so the same owner cannot deny visibility once the compromise is suspected. For identity-heavy environments, that also includes reviewing whether NHI credentials can reach model endpoints or internal services that were never meant to be exposed.

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 OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST AI RMF and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 ID.RA-01 Compromised dependencies are a supply chain risk that must be identified and owned.
NIST AI RMF GOVERN AI traffic governance and ownership fit the AI RMF governance function.
NIST SP 800-53 Rev 5 SA-12 Supply chain protection is directly relevant to dependency compromise and provenance control.
OWASP Non-Human Identity Top 10 NHI-01 Non-human identities may inherit access to exposed model and service paths.
OWASP Agentic AI Top 10 A2 Agent tool access and model relay paths are common escalation points in this scenario.

Identify dependency risk early and assign accountable owners for software provenance and exposure paths.