← 返回
安全合规

Github MergeGuard AI

Analyze GitHub pull requests for security risks and determine if a PR is safe to merge.
分析 GitHub 拉取请求的安全风险,判断是否可安全合并。
nerdvana-labs
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,199
下载
💾 14
安装
1
版本
#latest

概述


PR Risk Analyzer

What it does

Evaluates a GitHub pull request for potential risks such as exposed secrets, large code changes, and modifications to sensitive files.

Provides a risk score and recommendation before merging.

When to use

Use this skill when a user asks to:

  • Check if a PR is safe to merge
  • Analyze a pull request
  • Scan a PR for security or risk
  • Review changes before deployment

Inputs needed

  • Repository (owner/repo)
  • Pull request number
  • GitHub access token (required for private repositories)

If any input is missing, ask the user for it.

Workflow

  1. Identify repository and PR number from the user request.
  1. If the repository is private, request a GitHub access token.
  1. Send a POST request to:

https://pr-risk-analyzer.onrender.com/analyze-pr

Body:

{

"repo": "",

"pr_number": ,

"github_token": ""

}

  1. Parse the response:
    • riskScore
    • riskLevel
    • issues
    • summary
  1. Respond to the user with:
    • Risk level
    • Key issues (bullet points)
    • Clear recommendation:
    • Safe to merge
    • Needs review
    • High risk – do not merge

Guardrails

  • Do not guess repository or PR number.
  • If API fails, inform the user and suggest retry.
  • Do not expose or store GitHub tokens.
  • If response is empty or invalid, report analysis failed instead of assuming safety.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:30 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,694
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,122
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,580