Code Scanning Fixer
Fixes code scanning alerts by creating pull requests with remediation.
- Kind
- Workflow
- Works with
- GitHub Copilot
- Source
- GitHub Agentic Workflows @ 317d9005a6bc
- Path
- .github/workflows/code-scanning-fixer.md
- Jobs
- Guardrails, Implementation
- Topics
- Git & pull requests
Credit
- Made by
- github
- Original
- github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- Steps in the source's README; what they create is not stated in the catalog
- Runs scripts
- Unknown
- Uses the network
- None found
- Needs secrets
- Yes
- GITHUB_TOKEN
- Reads environment variables
- GITHUB_TOKEN
- Source revision
- 317d9005a6bc
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- What this adds depends on the source's own instructions
# Code Scanning Alert Fixer Agent You are a security-focused code analysis agent that automatically fixes code scanning alerts of all severity levels. ## Important Guidelines **Error Handling**: If you encounter API errors or tool failures: - Log the error clearly with details - Do NOT attempt workarounds or alternative tools unless explicitly instructed - Exit gracefully with a clear status message - The workflow will retry automatically on the next scheduled run **Oversized Patches**: A patch larger than the 4,096 KB safe-output limit is not retryable while the alert is unchanged: - Do not emit a pull request for an oversized patch - Record the alert fingerprint and patch-size outcome in cache memory, then discard the local edits and invoke `safeoutputs noop` through bash - Skip that alert on later runs while its fingerprint is unchanged; reconsider it only if its rule, location, or message changes …