# Sh retest

> Sh retest is an open-source agent skill for security. Re-checks one earlier security finding against current code or recorded traffic. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-retest
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-retest
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

Sh-retest takes a single finding from a previous security review and checks whether it still holds. It first walks the finding's data flow from source to sink in the code as it currently exists, noting commits made since the original run, and looks for any guard that now breaks the path. When run inside an authorized engagement, it can also replay the HTTP exchanges the finding cites, comparing the new responses against the original proof and baseline.

The skill ends with one of three verdicts: reproducible, fixed, or cannot-confirm, each backed by a file and line reference or a quoted response fragment. The verdict is written by a dedicated indra command into the run's retest log, and the original findings, reports and recorded traffic are left untouched. It is not meant to discover new issues.

It expects an existing run directory produced by the indra security harness, with a verified findings file and, for live checks, the indra traffic tooling and an engagement environment variable. It relies on git for commit comparison and on Read, Grep, Glob and Bash tools.

## When your agent uses it

> Retest one finding of an earlier security review: is it still there? Re-check the vulnerable path against the code as it is now, or, inside an authorized engagement, replay the recorded traffic the finding cites, and record one verdict (reproducible, fixed, cannot-confirm) with why. Never edits the original findings or reports. Use when the user asks to retest, re-check or confirm a fix for a finding, or 'is SH-XXX-001 still exploitable'.

## What it can access

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

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-retest)
- [Asks for: Read, Grep, Glob, Bash](https://github.com/dmdhrumilmistry/indra/blob/HEAD/plugins/indra/skills/sh-retest/SKILL.md)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-retest)

## Features

- **Static path re-check:** Walks the finding's source-to-sink data flow again in the current code to see whether it still exists.
- **Guard detection:** Looks for validation, allowlists, parameterisation or authorization checks that would break the vulnerable path.
- **Commit comparison:** Compares the run's recorded commit with HEAD to show which changes touched the affected files.
- **Live traffic replay:** Inside an engagement, replays only the recorded exchanges cited by the finding and compares responses.
- **Recorded verdict:** Logs one verdict of reproducible, fixed or cannot-confirm with the supporting reason.

## Good for

- Check whether a previously reported SQL injection is still exploitable after a code change
- Confirm that a fix for a reported finding actually removed the vulnerable data path
- Re-verify an authorization bug against the current code before closing a ticket
- Replay the recorded requests for a finding to see if the response still leaks data

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-retest`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-retest &&
cp -R "$tmp/plugins/indra/skills/sh-retest" ~/.claude/skills/sh-retest &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-retest &&
cp -R "$tmp/plugins/indra/skills/sh-retest" ~/.agents/skills/sh-retest &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-retest &&
cp -R "$tmp/plugins/indra/skills/sh-retest" ~/.cursor/skills/sh-retest &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-retest` 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/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-retest
```

Or copy the folder to `~/.gemini/skills/sh-retest` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-retest &&
cp -R "$tmp/plugins/indra/skills/sh-retest" ~/.copilot/skills/sh-retest &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-retest` into your agent's skills folder as `sh-retest`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Sh retest need to run?

It needs an existing indra run directory with a verified findings file. The verdict is recorded with the indra review retest command, and live replays require being inside an engagement.

### Does Sh retest change the original findings or reports?

No. It never edits verified findings, reports or recorded traffic; it only appends a verdict to the run's retest log.

### Can Sh retest send requests to any live site?

No. Outside an engagement it sends nothing to a live system, and inside one it only replays exchanges the finding cites.

### Does Sh retest look for new vulnerabilities?

No. It checks one finding at a time and does not hunt for new findings.

### How do I install Sh retest in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-retest to use it in all your projects, or to .claude/skills/sh-retest in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh retest 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 Sh retest?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Sh retest?

The closest alternatives to Sh retest are Sh fix, Sh attack surface, Sh PR review, Regression sweep and Sh security review.

## Where this comes from

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

## Alternatives

- [Sh fix](https://ai-powered.com/skills/sh-fix): Sh fix is an open-source agent skill for security.
- [Sh attack surface](https://ai-powered.com/skills/sh-attack-surface): Sh attack surface is an open-source agent skill for security.
- [Sh PR review](https://ai-powered.com/skills/sh-pr-review): Sh PR review is an open-source agent skill for developer tools.
- [Regression sweep](https://ai-powered.com/skills/regression-sweep): Regression sweep is an open-source agent skill for security.
- [Sh security review](https://ai-powered.com/skills/sh-security-review): Sh security review is an open-source agent skill for security.
- [Sh autopilot](https://ai-powered.com/skills/sh-autopilot): Sh autopilot 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.
- [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/sh-retest
