Skip to content
@git-pkgs

git-pkgs

Dependency tools for git

git-pkgs tracks package dependencies across your repository's git history. It answers questions like "who added this dependency?", "when was it introduced?", and "how long were we exposed to this vulnerability?" Works with 45+ package managers.

Install it with:

brew install git-pkgs

Or download a binary from the releases page.

Or build from source:

go install github.com/git-pkgs/git-pkgs@latest

Tools

  • brief - Detect a project's toolchain, configuration, and conventions
  • capcheck - Fail CI when Go code or dependencies gain new privileged operations
  • distill - Train and run repository classifiers from code-derived signals
  • downstream - Test library changes against projects that depend on them
  • forge - Work with GitHub, GitLab, Gitea, Forgejo, Bitbucket, Gerrit, and Tangled through one CLI
  • git-pkgs - Track package dependencies across a repository's git history
  • licenses - Scan repositories for license text using ScanCode's rule corpus
  • pin - Vendor browser assets without npm
  • proxy - Lightweight caching proxy for package registries
  • silo - Prototype Git host with gittuf verification in the receive path

Utilities

  • actions - Reusable GitHub Actions for git-pkgs dependency analysis
  • claude-plugin - Claude Code skills plugin for git-pkgs, brief, forge, pin, and capcheck

Modules

Identity & versions

  • purl - Package URL construction, parsing, and registry URL mapping
  • vers - Version range parsing and comparison per the VERS spec
  • platforms - Translating platform identifiers across package ecosystems
  • artifacts - Describing package files with package URLs, content digests, and byte counts

Manifests & resolution

  • manifests - Parsing package manager manifest and lockfiles
  • managers - Wrapping package manager CLIs behind a common interface
  • resolve - Parsing package manager resolve output into dependency trees
  • pom - Resolving effective POMs for Maven artifacts

Data sources

  • registries - Fetching package metadata from registry APIs
  • enrichment - Fetching package metadata from multiple sources
  • vulns - Fetching vulnerability data from multiple sources
  • nexus - Reading Maven repository indexes without Java or Lucene
  • cooldown - Filtering package versions by minimum age across ecosystems

Provenance

  • attestation - Parsing SLSA provenance v1 attestation bundles
  • sigstore - Verifying attestation bundles against the Sigstore TUF trust root
  • integrity - Parsing Subresource Integrity metadata and verifying streams

Formats

  • sbom - Reading and writing Software Bill of Materials documents
  • sarif - Reading, writing, and validating SARIF 2.1.0 logs
  • cwe - Looking up MITRE CWE entries and categories

Licensing

  • licenses - Matching license text against ScanCode's rule corpus
  • reuse - Extracting SPDX license and copyright data from REUSE-compliant projects
  • spdx - SPDX license expression parsing, normalization, and validation

Files & content

  • archives - Reading and browsing archive files in memory
  • changelog - Parsing changelog files into structured entries
  • gitignore - Matching paths against gitignore rules
  • magic - Detecting file formats and MIME types from content
  • markup - Rendering markup files to HTML

Source & repository

  • clone - Managing local checkouts of remote Git repositories
  • dependents - Finding and ranking repositories that depend on a package
  • outline - Reduce a source tree to a structural skeleton for LLM context
  • provides - Mapping package identities to names used in source code

Storage

  • gcs - Minimal Google Cloud Storage client over the JSON API

License

MIT.

Pinned Loading

  1. git-pkgs git-pkgs Public

    A git subcommand for analyzing package/dependency usage in git repositories over time

    Go 195 11

  2. forge forge Public

    Go library and CLI for working with git forges. Supports GitHub, GitLab, Gitea/Forgejo, and Bitbucket Cloud through a single interface.

    Go 226 17

  3. proxy proxy Public

    A lightweight caching proxy for package registries.

    Go 248 49

  4. brief brief Public

    A single-binary CLI tool that detects a software project's toolchain, configuration, and conventions, then outputs a structured report.

    Go 87 6

  5. manifests manifests Public

    A Go library for parsing package manager manifest and lockfiles.

    Go 6 4

  6. managers managers Public

    A Go library that wraps package manager CLIs behind a common interface.

    Go 6 2

Repositories

Showing 10 of 73 repositories
  • languages Public

    Pure Go library and CLI for detecting programming languages from source content and file paths.

    git-pkgs/languages's past year of commit activity
    Go 1 MIT 0 0 1 Updated Oct 28, 2026
  • proxy Public

    A lightweight caching proxy for package registries.

    git-pkgs/proxy's past year of commit activity
    Go 248 GPL-3.0 49 37 (1 issue needs help) 15 Updated Oct 28, 2026
  • purl Public

    Go library for working with Package URLs (PURLs).

    git-pkgs/purl's past year of commit activity
    Go 5 MIT 3 1 0 Updated Oct 28, 2026
  • registries Public

    Go library for fetching package metadata from registry APIs.

    git-pkgs/registries's past year of commit activity
    Go 8 MIT 8 10 0 Updated Oct 28, 2026
  • licenses Public

    Go library and CLI for fast license detection and repository scanning against ScanCode's rule corpus.

    git-pkgs/licenses's past year of commit activity
    Go 7 MIT 1 2 0 Updated Oct 28, 2026
  • tiers Public

    Compute a release order across a set of local package checkouts by layering the induced dependency graph.

    git-pkgs/tiers's past year of commit activity
    Go 1 MIT 0 0 0 Updated Oct 28, 2026
  • manifests Public

    A Go library for parsing package manager manifest and lockfiles.

    git-pkgs/manifests's past year of commit activity
    Go 6 MIT 4 18 1 Updated Oct 28, 2026
  • spam Public

    An offline Go library for detecting promotional spam signals in software package text.

    git-pkgs/spam's past year of commit activity
    Go 1 MIT 0 0 0 Updated Oct 28, 2026
  • certs Public

    Pure Go library and CLI for inventorying X.509 certificates and trust stores in files and package archives.

    git-pkgs/certs's past year of commit activity
    Go 1 MIT 0 0 0 Updated Oct 28, 2026
  • budget Public

    Measure Go source LOC and complexity budgets for coding agent feedback loops

    git-pkgs/budget's past year of commit activity
    Go 1 MIT 0 0 0 Updated Oct 28, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.