supplychain

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScoreMCP

func ScoreMCP(in MCPInput) float64

ScoreMCP computes a deterministic 0-10 trust score from offline signals.

func SeverityFromTrust

func SeverityFromTrust(score float64) string

Types

type MCPInput

type MCPInput struct {
	Transport      string
	Pinned         bool
	HasLockfile    bool
	CredentialRefs int
}

MCPInput carries deterministic offline trust signals.

Jump to

Keyboard shortcuts

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