fleetlint Policy for a fleet of repositories
v0.7
Getting started

deps/vulnerability-scan/hugo

Dependencies are scanned for known vulnerabilities

Implements deps/vulnerability-scan for hugo.

Severitywarning
Tiers1, 2
Stackshugo
Scopeeach
Kindexpr
Sourcelibrary v0.4.0
Selected byfleetlint-recommended@v0.4.0

Requirement

A Hugo site has no dependency manager of its own: Hugo modules live in go.mod and npm tooling in package.json, and both are checked as their own stacks. Themes added as git submodules are pinned by commit.

Why

A lockfile pins yesterday’s versions; only a scan says which of them are known to be exploitable today.

Applies when

false

Check

true

Fix

Add the stack’s scanner to the audit target (see https://fleetlint.org/stacks/) so check runs it.

Agent instruction: Add the stack’s vulnerability scanner to the audit target of the task runner; use osv-scanner against the lockfile when the stack has no native tool. Do not fix the findings in the same change; list them.

Sources


Generated by fleetlint docs from catalog v0.4.0.