Repository navigation
ci(security): add dependency review scanning - #1246
Conversation
|
Clean, minimal addition that closes a real gap. The workflow is structurally sound and ready to ship — one minor efficiency note below. SummaryThis adds a CodeQL SAST workflow that covers injection, path-traversal, and crypto-misuse classes that the existing Issues Found🟢 Minor — Autobuild step is a no-op for Python (.github/workflows/codeql.yml:52–54)
(Remove the Strengths
VerdictApprove. The autobuild note is a nit with no correctness impact — safe to merge as-is or apply the one-line removal. Either way, this is ready. |
Dependency ReviewThe following issues were found:
License Issues.github/workflows/dependency-review.yml
OpenSSF Scorecard
Scanned Files
|
|
Clean, minimal CI addition that closes the SCA gap left after the recent CodeQL SAST work. The workflow follows all repo conventions exactly and is safe to merge. SummaryThis adds the standard Issues Found🟢 The action will add a comment to every single PR even when it found nothing and scanned no manifests (e.g., a docs-only PR). Strengths
VerdictApprove — one minor nit about comment noise, but this is ready to merge as-is. |
itomek
left a comment
There was a problem hiding this comment.
Workflow is convention-clean and the Dependency Review check already passed on this PR. One forward-looking note inline (deny-licenses deprecation that the bot didn't surface). The merge_group trigger will typically no-op for dependency-review since it needs a base...head PR comparison — harmless, just confirm it's intended rather than expected to gate the queue. Approving.
Generated by Claude Code
The deep code review (#884) found that while path-traversal and shell-injection tests exist, there was no automated SAST/SCA scanning. This adds a CodeQL workflow that runs on push, PR, merge queue, and a weekly schedule to catch injection, crypto-misuse, and similar classes of vulnerability that unit tests miss.
The repo already has GitHub's default CodeQL setup enabled for Python SAST, so the custom workflow conflicted. Replace it with actions/dependency-review-action which fills the actual remaining gap: flagging known-vulnerable or restrictively-licensed dependencies introduced by PRs.
48275f2 to
3e4ac9e
Compare
`always` spams every PR (including docs-only) with a "0 issues" comment; `on-failure` keeps the signal-to-noise ratio high.
The repo has GitHub's default CodeQL setup enabled for Python SAST, but nothing catches known-vulnerable or restrictively-licensed dependencies introduced by PRs. This adds
actions/dependency-review-actionto flag high-severity CVEs and GPL-3.0/AGPL-3.0 licenses before merge, closing the SCA gap identified in #884.Test plan
lint.yml/test_security.yml)Closes #884