Accountability usually spans platform engineering, security, and the owners of the credential-bearing workflow. If developer tools can bypass central controls, the governance failure is shared. Frameworks such as NIST CSF and NIST SP 800-53 push organisations toward clearer control ownership, especially where machine credentials and software supply chains overlap.
Why This Matters for Security Teams
A poisoned package that reaches a build environment can expose far more than source code. It may capture secrets, tokens, signing keys, or cloud credentials that were meant to exist only for a narrow automation step. The accountability question matters because the failure is rarely a single bad commit. It usually reflects gaps in dependency trust, build isolation, secret handling, and approval paths.
Security teams often discover that package risk is also an identity problem. Build systems frequently act with privileged non-human identities, and those identities are sometimes over-entitled, long-lived, or reused across pipelines. The OWASP Non-Human Identity Top 10 is useful here because it frames machine credentials as governed assets, not incidental configuration. Where a package can reach those secrets, ownership cannot sit only with the security team or only with the platform team.
In practice, many security teams encounter this failure only after build credentials have already been used outside the intended workflow, rather than through intentional control testing.
How It Works in Practice
Responsibility in a poisoned-package incident should be traced across the control path, not the final breach. Platform engineering usually owns the build runner, dependency source controls, and execution boundaries. Application owners own what gets introduced into the dependency graph. Security owns policy, detection, and control assurance. If secrets were available to the build, the credential owner also has accountability for how those secrets were issued, scoped, and rotated.
In a mature setup, the practical workflow is straightforward:
- Pin and verify dependencies through trusted registries or approved mirrors.
- Keep build-time secrets short-lived, narrowly scoped, and injected only when needed.
- Separate build identities from human user accounts and production service identities.
- Log dependency resolution, package integrity checks, and secret access events.
- Assign incident ownership before the build starts, including who can revoke tokens and pause pipelines.
This aligns well with the control intent in NIST SP 800-53 Rev 5 Security and Privacy Controls, especially where organisations need defined responsibility for access control, system integrity, and configuration management. The important point is that package trust and secret governance are linked. If the package manager can execute code during install, then the build environment must be treated as a sensitive execution zone, not a convenience layer. These controls tend to break down when build runners are shared across projects and secret injection is automated without per-job isolation, because one compromised dependency can inherit credentials meant for many workflows.
Common Variations and Edge Cases
Tighter build isolation often increases pipeline complexity and developer friction, requiring organisations to balance delivery speed against secret exposure risk. That tradeoff becomes more visible in monorepos, containerised builds, and ephemeral CI systems where teams prefer broad automation to avoid manual approvals. Current guidance suggests that the highest-risk pattern is not the package itself, but the combination of untrusted code execution and standing credentials.
There is no universal standard for exactly how accountability should be split between platform, security, and application teams. In practice, the best answer depends on who approved the dependency source, who controlled the build environment, and who owned the credentials that were stolen. If the build pipeline uses non-human identities, the relevant question is whether those identities were designed with least privilege and revocation visibility. If not, the accountability gap is structural, not accidental.
For organisations handling software supply chain risk at scale, the right response is to define ownership before an incident: who curates dependencies, who approves secret access, who monitors anomalous package behaviour, and who can shut down the pipeline. That is the operational boundary that turns a shared failure into a manageable control model.
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 SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | GV.OC-1 | Clarifies organisational roles and accountability for supply-chain control ownership. |
| OWASP Non-Human Identity Top 10 | NHI-01 | Machine credentials in CI/CD are a core non-human identity governance issue. |
| NIST SP 800-53 Rev 5 | CM-8 | Asset and configuration knowledge is needed to know which builds can reach secrets. |
Define who owns build trust, secret handling, and incident response so control failures are assigned before an event.
Related resources from NHI Mgmt Group
- Who should be accountable for secrets hidden inside build and release pipelines?
- Who is accountable when a compromised package exposes cloud or developer secrets?
- Who is accountable when a supply chain package steals credentials and machine access?
- Who is accountable when a build dependency steals source code?