Cryptographic Registry Provenance: Structural Defense Against Dependency Confusion in AI Package Ecosystems
Alan L. McCann

TL;DR
This paper introduces a cryptographic provenance system for software distribution that enhances security against dependency confusion attacks by cryptographically verifying registry identities and artifact origins.
Contribution
The paper proposes a novel cryptographic distribution provenance system with three layers of defense, extending to AI-generation provenance and runtime governance.
Findings
Comparison shows no existing ecosystem combines all proposed cryptographic defenses.
The system creates three defense layers requiring simultaneous compromise.
Case study demonstrates integration with runtime governance architecture.
Abstract
Dependency confusion attacks exploit a structural gap in software distribution: once a package is installed, there is no cryptographic proof of which registry distributed it. Every existing defense is configuration-based and fails silently when misconfigured. We present a cryptographic distribution provenance system comprising three components: (1) cryptographic registry identity, where every registry holds an Ed25519 keypair and signs every artifact it distributes; (2) a dual-signature model, where the publisher signs at packaging time and the registry countersigns at publication time; and (3) authoritative namespace binding, where consumers pin registry fingerprints and the resolver cryptographically rejects artifacts from unauthorized registries. These create three defense layers requiring simultaneous compromise for a successful attack. A comparison across eight ecosystems (npm,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
