pip-audit.sh 641 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. # Local pip-audit wrapper — mirrors the ignore list in
  3. # .github/workflows/security.yml so `./scripts/pip-audit.sh` matches what CI sees.
  4. # Keep both sides in sync when adding or removing ignores.
  5. #
  6. # CVE-2025-45768 (PYSEC-2025-183 / GHSA-65pc-fj4g-8rjx): disputed by PyJWT
  7. # maintainers; no fix version exists. Bambuddy uses secrets.token_urlsafe(64)
  8. # (~86 chars) and rejects file-loaded secrets shorter than 32 chars
  9. # (backend/app/core/auth.py:177, :184). Safe to ignore permanently.
  10. set -euo pipefail
  11. source /opt/claude/projects/bambuddy/venv/bin/activate
  12. exec pip-audit \
  13. --ignore-vuln CVE-2025-45768 \
  14. "$@"