Commit a50610a
authored
ci: pin Security-workflow deps via uv (Scorecard Pinned-Dependencies) (#157)
* ci: install security-workflow deps via uv to pin by hash
The Security workflow used unpinned `pip install` for the project and for
bandit / cyclonedx-bom / pip-audit, which OpenSSF Scorecard flags under
Pinned-Dependencies. Switch to the same pattern as ci.yml: SHA-pinned
astral-sh/setup-uv plus `uv sync --frozen` (installs from the hash-pinned
uv.lock) for the project, and `uvx` / `uv run --with` for the standalone
tools. No `pip install` remains in this workflow.
Behavior is preserved: bandit runs the same static scan, SBOM generation
produces the same environment SBOM, and pip-audit runs with the identical
documented --ignore-vuln set.
release.yml still uses pip (it publishes to PyPI) and is intentionally left
for a separate, test-released change.
Signed-off-by: Igor Racic <iracic82@gmail.com>
* fix: bump starlette 0.52.1 -> 1.1.0 for PYSEC-2026-161
The Dependency Audit (now auditing the pinned uv.lock rather than a fresh
resolve) surfaced starlette 0.52.1 as vulnerable to PYSEC-2026-161, fixed
in 1.0.1. The lockfile was stale; constraints already allow the patched
line. Refresh to 1.1.0.
Verified: full unit suite (1688) and MCP/SSE tests (147) pass; pip-audit
reports no known vulnerabilities.
Signed-off-by: Igor Racic <iracic82@gmail.com>
---------
Signed-off-by: Igor Racic <iracic82@gmail.com>1 parent 4511b41 commit a50610a
2 files changed
Lines changed: 17 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 23 | + | |
| 24 | + | |
30 | 25 | | |
31 | 26 | | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
36 | | - | |
| 31 | + | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
| |||
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
57 | 55 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | | - | |
| 59 | + | |
65 | 60 | | |
66 | 61 | | |
67 | 62 | | |
| |||
81 | 76 | | |
82 | 77 | | |
83 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
84 | 82 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 83 | + | |
89 | 84 | | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | 88 | | |
94 | | - | |
| 89 | + | |
95 | 90 | | |
96 | 91 | | |
97 | 92 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments