patchbot v0.2.0
patchbot v0.2.0
Vulnerability scanning with your own scanners and threat feeds, plus a coding agent that opens the fix PR.
Highlights
- Tiered fix loop: deterministic version bump + lockfile regeneration first; a coding agent only when the bump fails, briefed with the failure itself. Every PR is re-scanned before it opens.
- Four agent backends:
claude/codexCLIs,api(Anthropic SDK, no Node),command(bring your own agent), andmanaged(Claude Managed Agents: the agent runs off your CI runner and your GitHub token never enters the sandbox). - Scheduled deployments:
patchbot managed deployruns scan + fix on a cron schedule with no CI at all. - GitHub Action: SARIF upload to the Security tab, optional auto-fix PRs,
modelandmanaged-*inputs. - Bring your own threat feed (any OSV-format file or URL) and bring your own scanner (trivy, grype, osv-scanner, or any tool that emits SARIF).
Usage
- uses: PrismorSec/patchbot@v0
with:
fail-on: highSee the README for auto-fix and Managed Agents setups.