Join our Newsletter — 33% off our NHI Course

Who is accountable when third-party code or AI tooling expands breach exposure?

Accountability sits with the owning product security and governance teams, because third-party involvement is now part of the software trust boundary. Organisations need clear ownership for dependency risk, AI tooling approval, and identity permissions across the delivery chain. If those controls are fragmented, no one can close the loop fast enough.

Why This Matters for Security Teams

Once third-party code, build pipelines, and AI tooling can reach production data or deploy changes, accountability is no longer a procurement question. It becomes a control ownership question. The practical issue is not whether a supplier was involved, but whether the organisation can prove who approved the dependency, who granted the token, and who will revoke access when risk changes. Current guidance from NIST SP 800-53 Rev 5 Security and Privacy Controls treats supplier and access control as shared governance concerns, not one-time paperwork.

This matters because modern breach exposure often comes from the combination of code provenance, over-permissioned service identities, and unreviewed AI assistants that can read, write, or trigger actions in connected systems. The risk is higher where teams assume a vendor-managed feature or AI copilot is outside the internal security boundary. In practice, many security teams encounter the real exposure only after a dependency update, a compromised token, or an AI-enabled workflow has already widened the blast radius, rather than through intentional control design.

How It Works in Practice

Accountability should be assigned across the full trust path, from source intake to runtime access. Product security typically owns the technical gatekeeping for third-party packages, model integrations, and tool approvals. Platform or DevSecOps teams usually own enforcement in pipelines and environments. Governance, risk, and compliance teams define the policy baseline and evidence requirements. For AI tooling, the security boundary should include prompts, connectors, agent permissions, and any retrieval layer that can expose internal content. That is especially important when a tool can act with delegated authority or persist secrets.

A workable operating model usually includes:

  • a named risk owner for every external dependency and AI integration;
  • an approval workflow for new code libraries, models, plugins, and agents;
  • inventory of secrets, tokens, certificates, and service accounts used by third parties;
  • least-privilege scoping with time-bound access and explicit revocation paths;
  • logging that ties tool activity back to a human approver or system owner;
  • periodic revalidation when suppliers, model behaviour, or integrations change.

For non-human access, the control problem is increasingly an identity problem. The OWASP Non-Human Identity Top 10 is useful here because it frames the operational reality: service identities, API keys, and agent credentials can be as risky as human accounts when they are poorly governed. If an AI agent can call tools, retrieve data, or open tickets, someone must own the permission model and the kill switch. The same applies to third-party code that arrives through build systems, where provenance and integrity checks need to be verified before release, not after an incident. These controls tend to break down when teams use shared service accounts across multiple vendors because attribution and revocation become ambiguous.

Common Variations and Edge Cases

Tighter control over external code and AI tooling often increases delivery overhead, requiring organisations to balance speed against review depth. That tradeoff is real, especially in product teams that ship frequently or rely on rapidly changing model features. Best practice is evolving, but there is no universal standard for how much autonomy an AI tool can have before it requires the same governance as a privileged integration.

Edge cases usually appear in three places. First, open-source components may be technically “third-party” but operationally treated as internal, which leads to weak ownership and stale patching. Second, AI assistants embedded in developer workflows may seem low risk until they can access repositories, secrets managers, or ticketing systems. Third, supplier-managed services can create a false sense of separation when the organisation still controls the identity, network path, or data being exposed. The Anthropic report on the first AI-orchestrated cyber espionage campaign shows why this matters: once tooling is capable of autonomous action, accountability has to cover the person or team that allowed those permissions in the first place.

For regulated environments, the answer may also be shaped by contractual and sector obligations. Financial services, healthcare, and critical infrastructure programmes often need stronger evidence of supplier oversight, access review, and incident reporting. The practical rule is simple: if a third party can increase breach exposure, then the owning team must also own the approval, monitoring, and removal decisions, even when execution is shared.

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 and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 GV.SC-1 Supplier risk governance is central when third-party code expands breach exposure.
OWASP Non-Human Identity Top 10 Non-human identities cover service accounts, API keys, and AI tool credentials in the trust boundary.
OWASP Agentic AI Top 10 Agent permissions and tool access are the core accountability issue for AI tooling.
NIST AI RMF AI governance requires accountable ownership for risks introduced by model and tool use.

Constrain agent actions, review tool permissions, and require human approval for sensitive steps.