supplychain

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package supplychain holds the seam between the code that downloads a package target and the analyzer that has to say something about it

Index

Constants

View Source
const ExtractionDirPrefix = "mcp-scanner-package-"

ExtractionDirPrefix names the temporary directory a package target is downloaded and extracted into. The CLI and the API both create one, and their tests find leftovers by this prefix.

View Source
const ResolvedVersionKey = "supplychain.resolved_version"

ResolvedVersionKey publishes the registry version for every resolved package. The analyzer uses it only when Target.Version is empty; an explicit tag such as "latest" still reaches OSV as written, so callers should prefer a concrete version.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package archive extracts hostile input under size and count limits.
Package archive extracts hostile input under size and count limits.
Package npm downloads a published npm package's tarball and unpacks it with internal/supplychain/archive.
Package npm downloads a published npm package's tarball and unpacks it with internal/supplychain/archive.
Package osv queries the OSV (Open Source Vulnerabilities) database for a set of ecosystem/name/version coordinates, and parses the lockfile formats that produce those coordinates in the first place
Package osv queries the OSV (Open Source Vulnerabilities) database for a set of ecosystem/name/version coordinates, and parses the lockfile formats that produce those coordinates in the first place
Package pypi downloads and extracts PyPI sdists and wheels.
Package pypi downloads and extracts PyPI sdists and wheels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL