# Regression sweep

> Regression sweep is an open-source agent skill for security. Re-runs confirmed security PoCs on a schedule to flag patched or regressed findings. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/regression-sweep
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** regression-sweep
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

Regression Sweep walks a tree of previously validated security findings, re-executes each finding's proof-of-concept script against its target, and compares the new output with the recorded baseline. Each finding is sorted into a status such as still valid, severity drift, newly invalid, newly revalidated, or inconclusive, and the results are written to a weekly JSON and Markdown report.

The skill is meant to run on a cron schedule, with a default weekly run, and can also be triggered after a major patch deployment. Each PoC run is capped at 60 seconds and at most five run in parallel. Output is normalized to strip timestamps, request IDs and session tokens before comparison, and timeouts are reported as inconclusive rather than as patched.

The sweep only observes: it may change the status of existing findings but does not create new ones. It expects a folder of validated findings with their PoC scripts and baseline outputs, plus a lookup helper for CVE severity data. The skill ships no scripts of its own.

## When your agent uses it

> Re-validates every previously-confirmed finding against its current target — detects drift (patched, mitigated, re-introduced). Cron-driven weekly sweep across the org's validated finding tree.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/regression-sweep)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/regression-sweep)

## Features

- **Scheduled PoC re-execution:** Re-runs each validated finding's proof-of-concept script on a recurring schedule.
- **Baseline output comparison:** Diffs fresh output against the original validator run using normalized line sets.
- **Drift status classification:** Sorts findings into still valid, severity drift, newly invalid, revalidated or inconclusive.
- **CVE severity recheck:** Looks up each finding's CVE again to see whether its severity score has changed.
- **Weekly drift reports:** Writes machine-readable JSON and a human-readable Markdown summary for each sweep week.
- **Bounded, safe re-runs:** Applies per-script timeouts, limits parallel runs and aborts scripts that attempt mutating actions.

## Good for

- Check whether previously confirmed vulnerabilities still reproduce after a patch rollout
- Generate a weekly report of findings that have been fixed or have reappeared
- Flag findings whose CVSS score changed after NVD re-scoring
- Re-validate an existing finding tree on a recurring cron schedule

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/regression-sweep` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/regression-sweep &&
cp -R "$tmp/skills/regression-sweep" ~/.claude/skills/regression-sweep &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/regression-sweep` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/regression-sweep` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/regression-sweep &&
cp -R "$tmp/skills/regression-sweep" ~/.agents/skills/regression-sweep &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/regression-sweep` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/regression-sweep` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/regression-sweep &&
cp -R "$tmp/skills/regression-sweep" ~/.cursor/skills/regression-sweep &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/regression-sweep` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/regression-sweep
```

Or copy the folder to `~/.gemini/skills/regression-sweep` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/regression-sweep`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/regression-sweep &&
cp -R "$tmp/skills/regression-sweep" ~/.copilot/skills/regression-sweep &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/regression-sweep` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/regression-sweep` into your agent's skills folder as `regression-sweep`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does the sweep run?

By default it runs weekly on Mondays at 02:00 UTC through a cron-driven cloud agent task, and it can also be started manually after a major patch deployment.

### Can Regression sweep create new findings?

No. It can only change the status of existing validated findings; newly observed vulnerabilities belong to a separate validation task.

### What happens if a PoC times out?

Timeouts and errors are classified as inconclusive and retried in the next sweep, so network problems are not reported as patches.

### Does Regression sweep require any scripts or extra tools?

The skill folder contains no scripts of its own. It relies on the finding folders with their poc.py files and a CVE lookup tool in the repository.

### How do I install Regression sweep in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/regression-sweep to use it in all your projects, or to .claude/skills/regression-sweep in one project.

### Does Regression sweep run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Regression sweep?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Regression sweep?

The closest alternatives to Regression sweep are Post patch validation, Security audit, Variant analysis, Replay regression and Pentest engagement.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Post patch validation](https://ai-powered.com/skills/post-patch-validation): Post patch validation is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit): Security audit is an open-source agent skill for security.
- [Variant analysis](https://ai-powered.com/skills/variant-analysis-mtarcure): Variant analysis is an open-source agent skill for security.
- [Replay regression](https://ai-powered.com/skills/replay-regression): Replay regression is an open-source agent skill for security.
- [Pentest engagement](https://ai-powered.com/skills/pentest-engagement): Pentest engagement is an open-source agent skill for security.
- [Cve poc generator](https://ai-powered.com/skills/cve-poc-generator): Cve poc generator is an open-source agent skill for security.
- [Validate bug](https://ai-powered.com/skills/validate-bug): Validate bug is an open-source agent skill for security.
- [Findings filter](https://ai-powered.com/skills/findings-filter): Findings filter is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/regression-sweep
