Skip to content
Skill

Sh retest

Re-checks one earlier security finding against current code or recorded traffic

Sh retest is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
44
Last commit
License
MIT
Listing updated

Similar skills

About Sh retest

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'.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Sh retest 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.

More from dmdhrumilmistry/indra

  1. Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines

    • Open source
    • 44 GitHub stars
    • Security
  2. Gives a security review agent persistent Markdown memory of past findings and learnings

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  3. Security-reviews a GitHub pull request and reports findings as inline comments

    • Open source
    • 44 GitHub stars
    • Developer tools
  4. Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  5. Plans and runs approved purple-team tests to check whether SIEM detections fire

    • Open source
    • 44 GitHub stars
    • Security
  6. Runs a multi-agent static security review of a codebase, with verified findings

    • Open source
    • 44 GitHub stars
    • Security