Index of every page on this site: llms.txt
All skills
tracer-cloud avatar

/fixing-github-security-alerts

@df137ad
by Tracertracer-cloud/opensre15k stars
1,982
Run it yourself

Remediate GitHub security / Dependabot / CodeQL / code-quality alerts via fix_github_security_alert

Use this Skill: https://skilld.dev/gh/tracer-cloud/opensre/fixing-github-security-alerts

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈33 tokens for metadata: the name and description. ≈1.1k when used: this file.

Description uses 1.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈131 characters, or 1.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

GitHub security and quality fix

Use fix_github_security_alert to remediate a supported security or quality finding, producing a local diff or a pull request as requested.

When to use

  • The user asks to fix/remediate GitHub security and quality issues, security alerts, Security and quality findings, Code Quality findings, Dependabot alerts, CodeQL/code-scanning alerts, vulnerable dependencies, or repo security issues.
  • The user says "hey fix the security issues", "fix the security issues in owner/repo", "fix the security and quality issues", or "fix the opensre repo security issues and raise a PR".
  • A GitHub security alert URL, /security/code-scanning page URL, or /security/quality URL is provided.

Scope

Use other workflows for these requests:

  • Ordinary GitHub issue/PR create, close, comment, assign, label, merge, or repo reads. Use github_cli.
  • Secret-scanning remediation. The tool will refuse it because the secret must be revoked/rotated outside the repo before code cleanup.

Workflow rules

  • For broad repo requests, call: fix_github_security_alert(owner?, repo?, alert_type="auto", open_pr=<user asked PR>) and let the tool select one open supported security or quality finding.
  • If no owner/repo is named, omit both and let the tool use the current checkout's GitHub origin.
  • If the user supplies an alert URL, /security/code-scanning page URL, or /security/quality URL, pass it as alert_url.
  • If they name a Dependabot alert, code-scanning alert, CodeQL alert, or Code Quality finding number, pass alert_type and alert_number.
  • Use alert_type="code_quality" for GitHub /security/quality standard findings such as unused import, empty except, unreachable code, or mixed returns.
  • Use alert_type="code_scanning" for GitHub /security/code-scanning pages or broad CodeQL/code-scanning requests.
  • Set open_pr=true only when they ask to open/raise/create a PR or "ship" the fix; otherwise leave it false for a local diff.
  • Never use github_cli to run a raw gh workflow around this. The fixer owns alert context, fix execution, branch safety, and PR creation.
  • The tool runs one alert per call. Do not loop over multiple alerts unless the user explicitly asks to continue after the first result.
  • The tool fixes findings itself: built-in fixers first, then an auto-detected coding agent CLI (no configuration needed). Never add coding-agent advice, CLI names, or install commands beyond what the tool's error text already says, and never make an external agent the user's next step.
  • If the tool returns response_text, output exactly that text and stop.
  • If the tool reports no automatic patch, reply in one short line from error. Do not say "next steps", do not add numbered options, do not list example commands, and do not ask a broad follow-up question.
  • After the tool returns, reply briefly from the result: finding type/number, changed files, and PR URL if present. If error_kind is set, explain the required next step from error.

Examples

  • "fix the security issues in Tracer-Cloud/opensre and raise a PR"

    fix_github_security_alert(owner="Tracer-Cloud", repo="opensre", alert_type="auto", open_pr=true)
  • "hey fix the security issues"

    fix_github_security_alert(alert_type="auto")
  • "fix the code quality findings on https://github.com/Tracer-Cloud/opensre/security/quality"

    fix_github_security_alert(alert_url="https://github.com/Tracer-Cloud/opensre/security/quality", alert_type="code_quality")
  • "fix Dependabot alert 12 in this repo"

    fix_github_security_alert(alert_type="dependabot", alert_number=12)
  • "fix https://github.com/acme/app/security/code-scanning/7 and open a PR"

    fix_github_security_alert(alert_url="https://github.com/acme/app/security/code-scanning/7", open_pr=true)
  • "fix the code scanning errors on https://github.com/Tracer-Cloud/opensre/security/code-scanning and raise a PR"

    fix_github_security_alert(alert_url="https://github.com/Tracer-Cloud/opensre/security/code-scanning", alert_type="code_scanning", open_pr=true)

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1d3 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    The skill automates the remediation of GitHub security and quality alerts using a specialized tool. While it uses authorized capabilities for its primary purpose, it ingests untrusted content from external GitHub URLs, which establishes a surface for indirect prompt injection.

  • Socket1d

    No alerts

  • Snyk1d

    Risk: MEDIUM · 1 issue

Signed by skilld at df137ad. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "owner": "Vaibhav",
  "last_changed_by": "Jan",
  "last_changed_at": "2026-09-12",
  "usecases": [
    "For repository maintainers remediating Dependabot, CodeQL, or code-quality alerts.",
    "For users requesting a fix from an exact security alert or repository security page."
  ],
  "requires": [
    "GitHub authentication with repository write access and security-events read access.",
    "An installed and authenticated coding agent.",
    "The fix_github_security_alert tool and its supported local execution environment."
  ],
  "version": "1.0"
}

README badge

README badge for tracer-cloud/opensre/fixing-github-security-alerts