Skip to content
Skill

Durable nonce exploitation

Guides security reviews of Solana multisig flows for durable-nonce approval abuse

Durable nonce exploitation is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
227
Last commit
License
MIT
Listing updated

Similar skills

About Durable nonce exploitation

This skill walks an agent through auditing a Solana governance, multisig, or admin approval workflow for a time-shift flaw. The concern is an unprivileged actor getting authorities to sign a durable-nonce transaction whose true intent the signers cannot see, then holding that signed transaction for a later first submission that reaches an unauthorized state or moves funds.

The skill sets a precondition gate that must be met before any harness is built. The agent has to show the attacker-influenced path to the signed message, enumerate every required signer including the nonce authority, and check whether the approval display can misdescribe the signed bytes. It also treats a nonce account alone as insufficient unless it satisfies a signature or submission requirement. Paths that depend on a compromised or colluding authority are excluded.

Validation uses a causal control set on an operator-authorized local validator or isolated clone. The controls cover removing the attacker's proposal path, comparing against ordinary recent-blockhash expiry, advancing the nonce, enforcing canonical intent decoding, and asserting a concrete before-and-after terminus. A delayed first submission with no state change is classified as normal behavior, and the skill recommends remediation such as canonical decoding bound to signed bytes and nonce invalidation.

When your agent uses it

Use when reviewing a Solana governance, multisig, or admin workflow where an unprivileged proposer may obtain signatures on an opaque durable-nonce transaction and hold it for later first submission; prove attacker-controlled exact-message approval, nonce causality, and an intrinsic unauthorized state or funds terminus. Do not use for ordinary delayed submission or cases requiring a compromised or colluding authority.

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 2 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

Copy the skill folder to ~/.claude/skills/durable-nonce-exploitation to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/durable-nonce-exploitation &&
cp -R "$tmp/.agents/skills/durable-nonce-exploitation" ~/.claude/skills/durable-nonce-exploitation &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/durable-nonce-exploitation inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/durable-nonce-exploitation to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/durable-nonce-exploitation &&
cp -R "$tmp/.agents/skills/durable-nonce-exploitation" ~/.agents/skills/durable-nonce-exploitation &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/durable-nonce-exploitation inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/durable-nonce-exploitation to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/durable-nonce-exploitation &&
cp -R "$tmp/.agents/skills/durable-nonce-exploitation" ~/.cursor/skills/durable-nonce-exploitation &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/durable-nonce-exploitation 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/mtarcure/claude-vibe-squad.git --path .agents/skills/durable-nonce-exploitation

Or copy the folder to ~/.gemini/skills/durable-nonce-exploitation yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/durable-nonce-exploitation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/durable-nonce-exploitation &&
cp -R "$tmp/.agents/skills/durable-nonce-exploitation" ~/.copilot/skills/durable-nonce-exploitation &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/durable-nonce-exploitation inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git

Then copy claude-vibe-squad/.agents/skills/durable-nonce-exploitation into your agent's skills folder as durable-nonce-exploitation. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Attacker-controlled message check
Checks whether an unprivileged proposer can alter the exact serialized transaction that authorities sign.
Signer enumeration
Identifies every required signature, including the durable-nonce authority and each terminal-instruction authority.
Display-to-bytes binding
Tests whether the signing surface can misdescribe or fail to authenticate a security-relevant instruction.
Nonce causality controls
Runs controls comparing durable nonces against ordinary blockhash expiry and nonce consumption.
Terminus assertions
Requires a concrete before-and-after state or funds change before a finding is promoted.
Remediation guidance
Recommends canonical transaction decoding, least-privilege proposal rights, expiry, and nonce invalidation.

Good for

  • Review a Solana multisig proposal flow for durable-nonce abuse
  • Check whether signers can see the full instruction they approve
  • Build a local validator harness to test delayed transaction execution
  • Document the nonce consumption and intent-binding controls for an audit report
  • Assess whether an admin workflow lets an unprivileged user reach a privileged action

Durable nonce exploitation FAQ

Does Durable nonce exploitation trigger for ordinary delayed transactions?

No. The skill says ordinary delayed submission is not a finding and should not be treated as a durable-nonce issue.

Does Durable nonce exploitation assume a compromised signer?

No. Paths that need a compromised or colluding authority are out of scope, and the skill tells the agent to stop there.

Can Durable nonce exploitation run against a live target?

Live-target signing or submission is operator-gated. Validation is meant for an operator-authorized local validator or isolated clone.

Does Durable nonce exploitation include scripts?

No. The skill is a single SKILL.md file with no scripts or reference files in its folder.

How do I install Durable nonce exploitation in Claude Code?

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

Does Durable nonce exploitation 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 Durable nonce exploitation?

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 Durable nonce exploitation?

The closest alternatives to Durable nonce exploitation are Solana vulnerability scanner, Vulnhunter solana, Solana audit flow, Defi amm security and Chain construct smart contract.

Where this comes from

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

More from mtarcure/claude-vibe-squad

  1. Writes alt text, timed captions and transcripts for images, footage and audio

    • Open source
    • 227 GitHub stars
    • Design and media
  2. Guides building product agent system prompts with eval-backed boundaries and output

    • Open source
    • 227 GitHub stars
    • AI models and LLM tooling
  3. Guides authorized adversarial testing of autonomous LLM agents for injection and approval

    • Open source
    • 227 GitHub stars
    • Security
  4. Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines

    • Open source
    • 227 GitHub stars
    • Developer tools
  5. Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery

    • Open source
    • 227 GitHub stars
    • Developer tools
  6. Builds and proves multi-step exploit chains from weak bug-bounty findings

    • Open source
    • 227 GitHub stars
    • Security