Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› Why do provenance attestations not prevent malicious package…
Cyber Security

Why do provenance attestations not prevent malicious package releases?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 12, 2026 Domain: Cyber Security

Provenance attests to the build path, not the intent or safety of the inputs. If an attacker controls the triggering commit or branch, the pipeline can still create a cryptographically valid package that is operationally malicious. Teams should use provenance as evidence of origin, then combine it with commit integrity and workflow governance.

Why provenance does not equal safety

Provenance attestations prove where a package build came from and which workflow produced it. They do not prove that the source commit was benign, that the branch was trusted, or that the package contents were safe to ship. A malicious release can still be cryptographically valid if the attacker controls the triggering code path or the build inputs.

That distinction matters because provenance is an origin signal, not a trust verdict. In other words, it can tell you that the build happened in the expected system, but not whether the build should have happened in the first place.

How a malicious release still passes provenance checks

The common failure mode is upstream compromise, not broken cryptography. If an attacker gains control of a maintainer account, poisons a branch, lands malicious code in a tagged commit, or abuses a release workflow, the pipeline can emit a perfectly valid attestation for an operationally hostile package. The attestation is honest about the build path, but the build path itself was abused.

This is why provenance must be paired with commit integrity, protected branch rules, review discipline, and release approval boundaries. Without those controls, the attestation can become evidence that a dangerous artifact was built exactly as designed.

For release integrity, build provenance should be treated as one layer in a broader supply-chain control set. Frameworks such as SLSA and the OpenSSF ecosystem both emphasise that build assurance is only useful when the source, workflow, and release process are also controlled.

What teams should verify before trusting provenance

Practitioners should verify who can trigger the build, which refs are allowed to release, and whether the attested commit was protected from silent tampering. If a package can be published from an unreviewed branch, an unpinned dependency, or an ungoverned automation path, provenance alone is not a reliable release gate.

It is also worth checking whether the package release process separates source approval from artifact publication. A valid attestation attached to a malicious artifact usually means the control problem sits in source governance, workflow permissions, or maintainer compromise rather than in the attestation mechanism itself.

  • Require protected release branches and reviewed commits for production package publication.
  • Confirm the attestation refers to the exact artifact consumers will install, not just a nearby build output.
  • Block publishing rights for identities that can also modify release inputs without oversight.

NHIMG’s AI Supply Chain Security and AI-BOM Guide is useful here because it extends the same logic to packages, models, tools, and credential containment across the software supply chain. The LiteLLM PyPI package breach also illustrates how a package can remain operationally harmful even when it arrives through a normal release path.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

SLSA and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
SLSASupply-chain Levels for Software ArtifactsProvenance attestations are a SLSA concern because they secure build integrity, not package intent.
Recommendation — Require protected source and release paths before treating provenance as meaningful assurance.
NIST SP 800-53 Rev 5CM-5 — Access Restrictions for ChangeRelease compromise often comes from who can change or trigger the build path.
IA-5 — Authenticator ManagementMalicious releases often follow stolen maintainer or automation credentials.
Recommendation — Restrict who can modify release inputs and trigger publication workflows. Rotate and tightly manage credentials that can publish packages or alter workflows.
ISO/IEC 27001:2022A.8.32 — Change managementPackage publication is a change-control problem when release inputs can be altered.
A.5.15 — Access controlRelease rights and workflow permissions determine whether provenance can be trusted.
Recommendation — Apply formal change control to release branches, workflows, and publishing steps. Limit package release permissions to approved, well-governed identities.

Practitioner Guidance

What to prioritise: Treat provenance as a trust amplifier, not a substitute for source control. The first question is whether the commit, branch, and release actor were governed well enough that the attestation is worth trusting.

What to verify: Validate branch protection, maintainer access, workflow permissions, and artifact identity before relying on the attestation. If any of those are weak, the package can still be malicious while remaining fully provenance-compliant.

What practitioners underestimate: A valid attestation can increase confidence in delivery integrity while leaving content integrity untouched. That is why the control has to sit alongside code review, change governance, and identity hardening for release automation.

Practitioner takeaway: Provenance tells you the package was built as declared, but only commit and workflow governance tell you whether the declared build was trustworthy.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org