github-samples / github-samples/pets-workshop
GitHub security workshop: Add dependency risk and remediation workflow
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 80
- Forks
- 161
- Avg merge
- 31m
- Merged PRs (30d)
- 1
Description
Goal
Teach learners to identify, prioritize, and remediate vulnerable dependencies using the dependency graph, Dependabot alerts, security updates, and pull-request checks.
Scope
Use a deterministic and isolated dependency fixture or a maintainer-selected advisory rather than permanently weakening the application dependencies. Cover direct versus transitive dependencies, advisory and severity information, compatibility review, update PRs, and post-merge verification.
Acceptance criteria
- Learners enable or verify the dependency graph, Dependabot alerts, and security updates.
- The lab produces a predictable dependency alert without leaving an intentionally vulnerable package on the default branch.
- Learners identify whether the package is direct or transitive and review the advisory, affected range, patched version, and severity.
- Learners review or create a remediation pull request and run the project tests against the update.
- The alert is verified as resolved after the safe version is merged.
- The exercise discusses grouped updates, compatibility risk, dismissals, and remediation ownership.
- Timing and no-fix-available scenarios have documented fallback data.
- The content coordinates with #237 rather than duplicating its repository-wide Dependabot configuration work.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing workshop structure and issue #237 to understand the repository-wide Dependabot configuration work and avoid duplication. Define how the lab will use an isolated dependency fixture or maintainer-selected advisory, including fallback data for timing and no-fix scenarios. Done means the documented exercise covers alert discovery, risk review, remediation testing, safe merging, resolution verification, and the listed workflow topics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, github-actions, python
- Domain
- devops, documentation, security
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100