fix-github-vulnerabilities

Fetch Dependabot alerts, update vulnerable dependencies, and push fixes.

1|Updated Nov 26, 2014
One-click install
npx skills add https://github.com/tianhuil/dotfiles --skill fix-github-vulnerabilities
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-github-vulnerabilities
Source: https://github.com/tianhuil/dotfiles/tree/main/home/.config/opencode/skills/fix-github-vulnerabilities
Command: npx skills add https://github.com/tianhuil/dotfiles --skill fix-github-vulnerabilities

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the end-to-end process of identifying and patching open Dependabot alerts in a GitHub repository, reducing manual remediation time by detecting vulnerable dependencies, updating them to patched versions using the repo's native package manager, and generating a commit with fixes.

Core Features & Use Cases

  • Fetch open Dependabot alerts across ecosystems and group them by project and language
  • Update vulnerable dependencies to at least the patched versions, aligned with repository tooling
  • Run available tests to verify updates and push fixes or propose a pull request when needed
  • Support security remediation workflows for typical open-source and private repositories

Quick Start

Run the fix-github-vulnerabilities skill on your repository to automatically fetch open Dependabot alerts, update vulnerable dependencies, and push fixes.

Frequently Asked Questions about fix-github-vulnerabilities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix Dependabot alerts in a GitHub repository?

To automatically fix Dependabot alerts, this Skill fetches open alerts via the GitHub API, updates vulnerable dependencies using the repository's native package manager, and commits the patched versions directly to your repository.

Can I automate patching vulnerable dependencies across multiple ecosystems?

Yes, this Skill automates patching vulnerable dependencies across multiple ecosystems by grouping open Dependabot alerts by project and language, then applying updates through the repo's native package manager.

What permissions do I need to automate security remediation for GitHub repos?

Automating security remediation requires appropriate GitHub permissions to fetch Dependabot alerts via the GitHub API, install package updates locally, and push commit fixes or propose pull requests to the repository.

Does this automated vulnerability patching run tests before pushing fixes?

Yes, the automated vulnerability patching process runs the project's available test suite to verify dependency updates before committing and pushing the security fixes to the GitHub repository.

What is the best way to update vulnerable dependencies identified by Dependabot?

The best way to update vulnerable dependencies identified by Dependabot is using an automated workflow that fetches alerts, applies patched versions via the package manager, validates with tests, and pushes fixes.

When should I propose a pull request instead of directly committing Dependabot fixes?

You should propose a pull request for Dependabot fixes instead of a direct commit when repository branch protections require review, or when automated test validation indicates the dependency updates need human verification before merging.