OpenParable
Skip to content
← Back to skills

Analyze Dependabot

DevOps & Security
analyze-dependabot

Analyze Dependabot is an Agent Skill for devops & security published in the ModelEngine-Group/fit-framework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

分析 Dependabot 安全告警,评估安全风险并创建修复任务。当用户要求分析 Dependabot 告警、评估依赖漏洞风险时触发。参数为告警编号。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ModelEngine-Group/fit-framework/blob/HEAD/.agents/skills/analyze-dependabot/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/analyze-dependabot, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

分析安全告警

分析指定的 Dependabot 安全告警,评估安全风险并创建修复任务。

执行步骤

  1. 获取安全告警信息:

    gh api repos/{owner}/{repo}/dependabot/alerts/<alert-number>
    

    提取: severity, summary, package name, vulnerable version range, first patched version

  2. 创建任务目录和文件,基于 .agents/templates/task.md 模板。

  3. 分析受影响范围:

    • 搜索项目中使用该依赖的所有位置
    • 分析是否直接使用了漏洞代码路径
    • 识别依赖关系(直接依赖 vs 传递依赖)
  4. 评估安全风险(可利用性、触发条件、影响程度)。

  5. 输出分析文档到 analysis.md。

  6. 更新任务状态。

  7. 提示下一步: plan-task 设计修复方案,或 close-dependabot 关闭告警。

注意: Critical/High 级别立即处理,Medium 计划处理,Low 可延后。