원클릭으로
dependabot
Handle Dependabot security vulnerability alerts with standardized workflow
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Handle Dependabot security vulnerability alerts with standardized workflow
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Orchestrate complete issue implementation workflow from branch to PR
Create Pull Requests with pre-flight checks and proper formatting
Decompose a large GitHub Issue (epic, refactor, or feature) into subtask Issues, each small enough for a single focused PR
Standardized release workflow with version updates and CHANGELOG management
Spawn a Reviewer Agent to evaluate code changes against architecture, design, and quality criteria
Create commits with code quality checks and conventional commit messages
| name | dependabot |
| description | Handle Dependabot security vulnerability alerts with standardized workflow |
Handle Dependabot security vulnerability alerts with a standardized workflow, from alert analysis to PR submission.
IMPORTANT: All outputs (commits, PRs) MUST be written in English.
Dependabot alert numbers MUST NOT appear in any of the following:
Reason: Alert numbers are repository-specific and not readable by third parties. Use standard identifiers instead.
Use these identifiers in order of priority:
| Priority | Identifier | Format | Example |
|---|---|---|---|
| 1 (Primary) | CVE ID | CVE-YYYY-NNNNN | CVE-2026-25541 |
| 2 (Fallback) | GHSA ID | GHSA-xxxx-xxxx-xxxx | GHSA-434x-w66g-qw3r |
Use GHSA only when CVE is not available.
Alert Analysis → Branch Creation → Fix Application → Commit → PR Creation
gh api repos/{owner}/{repo}/dependabot/alerts/{alert_number}
Extract the following information:
| Field | JSON Path | Description |
|---|---|---|
| CVE ID | .security_advisory.cve_id | Primary identifier |
| GHSA ID | .security_advisory.ghsa_id | Fallback identifier |
| Package | .security_vulnerability.package.name | Affected package |
| Severity | .security_vulnerability.severity | low/medium/high/critical |
| Vulnerable Range | .security_vulnerability.vulnerable_version_range | Affected versions |
| Fixed Version | .security_vulnerability.first_patched_version.identifier | Target version |
| Summary | .security_advisory.summary | Vulnerability description |
Determine the fix approach:
| Scenario | Approach |
|---|---|
| Dependency update resolves | Run cargo update -p <package> |
| Code changes required | Implement necessary fixes |
| Breaking changes in fix | Evaluate and document migration |
Decision Criteria:
Branch Naming Format:
bugfix/CVE-YYYY-NNNNN
Or if CVE is not available:
bugfix/GHSA-xxxx-xxxx-xxxx
Commands:
# Verify current branch
git branch --show-current
# Create branch from develop
git fetch origin
git checkout -b bugfix/<CVE-or-GHSA-ID> origin/develop
CRITICAL: Never include the Dependabot alert number in the branch name.
# Update specific package
cargo update -p <package-name>
# Verify the update
cargo tree -p <package-name>
If code modifications are required:
cargo test
Note: No additional security-specific tests required. Standard test suite is sufficient.
Invoke /commit skill with:
fix (for security fixes)deps (for dependency updates) or affected moduleCommit Message Format:
fix(deps): update <package> to fix <CVE-ID>
<brief description of the vulnerability>
Advisory: <GHSA-ID>
Invoke /pr skill with the following PR body template:
## Security Fix
- **Advisory**: GHSA-xxxx-xxxx-xxxx
- **CVE**: CVE-xxxx-xxxxx (if available)
- **Package**: <package-name>
- **Severity**: <low|medium|high|critical>
- **Fixed Version**: <version>
- **Summary**: <vulnerability summary>
## Changes
<description of changes made>
## Test Plan
- [ ] `cargo test` passes
- [ ] Vulnerability is resolved (Dependabot will auto-close alert)
CRITICAL:
security label for the PRNo manual action required.
GitHub Dependabot automatically closes alerts when:
Do not manually dismiss or close alerts.
If gh api returns 404:
If cargo update -p <package> fails:
Cargo.tomlIf the fixed version introduces breaking changes:
If only GHSA ID is available:
User: "dependabot alert 36を対応して"
Claude executes /dependabot skill:
gh apibugfix/CVE-2026-25541cargo update -p bytescargo tree -p bytescargo test/commit skill with security fix message/pr skill with security fix templatehttps://github.com/{owner}/{repo}/security/dependabot/{number}https://github.com/advisories/{GHSA-ID}https://nvd.nist.gov/vuln/detail/{CVE-ID}