endor-dependency-provenance

Resolve package-version provenance by manifest path and source ref or sha.

4|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-dependency-provenance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: endor-dependency-provenance
Source: https://github.com/endorlabs/endorlabs-sdk/tree/main/agent-knowledge/skills/endor-dependency-provenance
Command: npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-dependency-provenance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you determine exactly where a package version came from when the same dependency appears through multiple manifests, refs, or commit shas. It prevents incorrect rollups that hide whether a package was introduced directly or transitively.

Core Features & Use Cases

  • Exact provenance grouping: Separates dependency paths by package coordinate, manifest file path, and source ref or sha.
  • Direct vs transitive analysis: Distinguishes whether a package was introduced explicitly or inherited through another dependency.
  • Evidence-backed reporting: Produces a path-by-path matrix with parent package details and resource identifiers when available.
  • Use case: A project shows the same package at different versions across requirements, lockfiles, and branches, and you need to explain each introduction path without merging them.

Quick Start

Use the dependency provenance skill to identify every distinct introduction path for the specified package across the given project, manifest files, and source ref or commit sha.

Frequently Asked Questions about endor-dependency-provenance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace where a specific package version came from in my dependency manifest?

To trace dependency provenance, group by package coordinate, manifest file path, and source ref or sha to produce path-specific evidence showing exactly where a package version was introduced.

Why does the same dependency show different versions across multiple lockfiles and branches?

Multiple package versions appear across lockfiles and branches because they are introduced through distinct manifest paths; grouping by dependency file path and source ref separates each provenance path without merging them.

How do I distinguish direct dependencies from transitive introduction paths?

Direct versus transitive dependency analysis distinguishes whether a package was introduced explicitly in the manifest or inherited transitively through another dependency, producing a path-by-path matrix with parent package details.

Can I check dependency lineage across different commit snapshots and source refs?

Dependency lineage applies across different commit snapshots and source refs by requiring grouping by package coordinate, dependency file path, and source ref or sha to produce path-specific provenance evidence for each commit.

What is the best way to investigate duplicate package versions across multiple manifest files?

The best way to investigate duplicate package versions is to resolve package-version lineage by manifest path and source ref, separating direct from transitive introduction paths to prevent incorrect rollups that hide provenance.

When should I not roll up duplicate dependency versions into a single entry?

You should not roll up duplicate dependency versions when the same package appears through multiple manifests, refs, or commit shas, as merging hides whether a package was introduced directly or transitively.