Go to file
Travis Herbranson bba1526ea5 deps: audit uv lockfile directly via pip-audit -r /dev/stdin
Replaces the PIPAPI_PYTHON_LOCATION approach (reverted in previous
commit) which assumed pip in the project venv; uv-created venvs don't
ship pip by default, so pip-audit failed when it tried to enumerate
packages via `<python> -m pip --version`.

New approach: export the lockfile as a flat requirements list via
`uv export --no-hashes --format requirements-txt` and pipe it to
`pip-audit -r /dev/stdin --disable-pip --no-deps`. This audits exactly
what uv.lock resolves to, without touching either the project venv or
pip-audit's bundled venv.

Also switch the audit_cmd invocation from `$audit_cmd` to
`eval "$audit_cmd"` so the pipeline operator survives variable
expansion. The other audit_cmd branches (requirements.txt mode,
environment mode) are simple commands and eval handles them
transparently.

Verified clean on trellis-mcp and the herbylab worktree (both uv
projects); no spurious pip/urllib3 CVEs. Trellis's editable install
produces a benign "could not deduce package version" note that
pip-audit treats as a skip, not a failure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 08:01:48 -04:00
skills/zero-check v2 added the claude skill 2026-04-18 12:05:24 -04:00
templates added the phase 3 docker stuff 2026-04-18 12:51:12 -04:00
validate deps: audit uv lockfile directly via pip-audit -r /dev/stdin 2026-05-12 08:01:48 -04:00
.gitignore v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
.python-version v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
check-deps.sh v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
main.py v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
pyproject.toml v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
README.md v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00
uv.lock v1 gauntlet: validation scripts with language detection and artifact generation 2026-04-18 11:30:24 -04:00