Skip to content

Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.

ci(security): add dependency CVE review on PRs + pip Dependabot

Virgilio Borges53aaf67b84f4
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 1184a8b..811126a 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -11,3 +11,15 @@ updates:
groups:
github-actions:
patterns: ["*"]
+
+ # Python dependencies (the pyproject extras: pdf/epub/docx/rtf/technical).
+ # Surfaces security alerts and version bumps for the optional extractors.
+ - package-ecosystem: pip
+ directory: "/"
+ schedule:
+ interval: weekly
+ commit-message:
+ prefix: deps
+ groups:
+ python:
+ patterns: ["*"]
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9cf34ba..1420a92 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -97,3 +97,26 @@ jobs:
# description, a tool restriction that omits Bash while the skill shells
# out). Cross-agent metadata Claude ignores is reported as WARN only.
run: python3 tools/validate_skill.py SKILL.md
+
+ dependency-review:
+ name: dependency review (PR)
+ # Only runs on PRs: it diffs the base vs head dependency graph and flags any
+ # newly introduced dependency with a known CVE (or a denied license), so a
+ # contributor cannot slip a vulnerable/malicious package past review. The
+ # result is posted as a summary comment on the PR itself.
+ if: github.event_name == 'pull_request'
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write # post the vulnerability summary comment on the PR
+ steps:
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
+ with:
+ persist-credentials: false
+ - name: Dependency review
+ uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
+ with:
+ # Block the merge when an introduced dependency has a moderate+ CVE.
+ fail-on-severity: moderate
+ # Always leave the findings as a comment on the PR, even when clean.
+ comment-summary-in-pr: always