<< All versions

Skill v1.0.0

currentAutomated scan100/100
inceptyon-labs/tenet-skills/tenet-supply-chain-license
──Details
PublishedNovember 16, 2026 at 04:52 AM
Content Hashsha256:b2fadc3c91fb6a64...
Git SHAffe05ada334b
──Files
Files (1 file, 5.5 KB)
SKILL.md5.5 KBactive
SKILL.md · 121 lines · 5.5 KB

name: tenet-supply-chain-license description: "Audits dependency provenance, lockfiles, action/image pinning, licenses, and supply-chain risk." when_to_use: "tenet supply-chain-license, tenet-supply-chain-license dimension, Tenet supply chain and license audit. Run via /tenet-skills:tenet-orchestrator or directly with /tenet-skills:tenet-supply-chain-license." model: sonnet disable-model-invocation: true allowed-tools: Bash Read Grep Glob Write metadata: version: "1.0.0"


Tenet Supply Chain & License

Audits whether build inputs are traceable, pinned, licensed intentionally, and resistant to common supply-chain attacks.

Calibration — read first

Follow shared/scan-discipline.md (complete every step, enumerate rather than sample, and §2a: report only issues that actually exist), shared/verification.md (every finding is confirmed against the code before it ships; unconfirmed candidates are dropped, not demoted), and shared/severity.md (severity is confirmed impact, never a hedge for doubt).

A finding must exist in this codebase on a path that can run. Do not report hypotheticals, dead code, style preferences, or anything an upstream check already prevents. Zero findings for a step is the normal result on healthy code; do not fill a step to show you looked. Do not overthink it: read the code and its context, decide, move on.

Language Support Matrix

yaml
support:
native: [typescript, javascript, python, go, rust, java]
heuristic: [ruby, php, csharp, swift, kotlin]
config-only: [yaml, json, dockerfile]

Toolchain Inputs

Consume these files when present:

  • .healthcheck/toolchain/osv_scanner.json, trivy.json, npm_audit.json, pip_audit.json
  • .healthcheck/toolchain/syft.json for SBOM/package inventory
  • .healthcheck/toolchain/grype.json for vulnerability data

Procedure

Step 0: Detect Ecosystems

Check for manifests and lockfiles: package.json, lockfiles, pyproject.toml, requirements.txt, go.mod, Cargo.toml, pom.xml, build.gradle, Dockerfiles, and .github/workflows.

If no dependency manifests, container files, or CI workflow files exist, mark applicable: false.

Step 1: Lockfile and Reproducibility

Flag missing or conflicting lockfiles for application projects.

Severity:

  • critical: app has manifest but no lockfile and CI/build installs dependencies
  • major: multiple lockfiles for one ecosystem create ambiguous install behavior
  • minor: lockfile exists but CI does not use frozen install mode

Step 2: Provenance and Pinning

Check:

  • GitHub Actions pinned to full commit SHA rather than mutable tags
  • Docker base images pinned by digest
  • Package manager config for private scopes/registries
  • npm publishConfig, .npmrc, pip.conf, poetry sources for dependency confusion risk
  • Commit provenance: whether recent commits are cryptographically signed (GPG/SSH/Sigstore). Heuristic check:

``bash git log --pretty=%G? -n 20 | sort | uniq -c # G/U = signed, N = unsigned ``

Severity:

  • critical: public registry can satisfy internal package names or private scope has no registry binding
  • major: Actions or Docker images use mutable major/version tags in protected CI
  • minor: tool versions are unpinned in CI but not on a release path
  • info: recent commits are unsigned, so commit authorship has no verifiable provenance

Step 3: SBOM Coverage

Look for generated SBOMs or CI steps using Syft, CycloneDX, SPDX, Trivy SBOM, or equivalent.

Severity:

  • major: deployable app/container has no SBOM generation evidence
  • minor: SBOM exists but is not generated in CI/release
  • info: SBOM generated but not archived as a release artifact

Step 4: License Risk

Use available tool output first. Otherwise inspect package manifests for license metadata and known high-risk licenses.

Also confirm the repository declares its own license — a LICENSE/LICENSE.md/LICENCE/COPYING file in the root, or a license field in the primary manifest (package.json, pyproject.toml, Cargo.toml, etc.). Without one, reuse terms are legally undefined ("all rights reserved" by default).

Severity:

  • critical: AGPL/GPL dependency appears in distributed proprietary product path without documented approval
  • major: unknown/missing licenses in runtime dependencies
  • minor: weak license metadata in dev-only dependencies; or a public/distributed project (git remote, published package, or open-sourced) has no LICENSE file and no license metadata
  • info: license policy file is missing; or a private/internal project has no LICENSE file

Step 5: Toolchain Vulnerability Signals

Import supply-chain-relevant toolchain findings from OSV, Trivy, Grype, npm audit, and pip-audit. Deduplicate against tenet-dependencies by preferring this dimension for provenance/license/SBOM issues and dependencies for package CVEs.

Step 6: Compile and Score

Every finding uses:

  • dimension: "supply-chain-license"
  • confidence: "deterministic" for scanner output, native for parsed manifests/workflows, heuristic for grep-only checks
  • fix_prompts following shared/fix_prompt_template.md
  • Every fix_prompt Location section MUST include - File:, - Line:, and - Dimension: entries

Output

  • .healthcheck/reports/supply-chain-license.json

Constraints

  • Do not make legal conclusions. Report license facts and recommend review where needed.
  • Do not require SBOMs for tiny libraries unless they publish packages or containers.
  • Use Line: N/A in the fix_prompt and top-level line: null for package-level, license-policy, or project-level findings.
All versions