# Durable nonce exploitation

> Durable nonce exploitation is an open-source agent skill for security. Guides security reviews of Solana multisig flows for durable-nonce approval abuse. 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/mtarcure/claude-vibe-squad/tree/main/.agents/skills/durable-nonce-exploitation
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** durable-nonce-exploitation
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

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

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/durable-nonce-exploitation)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/durable-nonce-exploitation)

## Features

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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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 Vulnhunter solana, Solana audit flow, Chain construct smart contract, Signature validation audit and Solana vulnerability scanner.

## Where this comes from

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

## Alternatives

- [Vulnhunter solana](https://ai-powered.com/skills/vulnhunter-solana): Vulnhunter solana is an open-source agent skill for security.
- [Solana audit flow](https://ai-powered.com/skills/solana-audit-flow): Solana audit flow is an open-source agent skill for security.
- [Chain construct smart contract](https://ai-powered.com/skills/chain-construct-smart-contract): Chain construct smart contract is an open-source agent skill for security.
- [Signature validation audit](https://ai-powered.com/skills/signature-validation-audit): Signature validation audit is an open-source agent skill for security.
- [Solana vulnerability scanner](https://ai-powered.com/skills/solana-vulnerability-scanner): Solana vulnerability scanner is an open-source agent skill for security.
- [Agentic safety audit](https://ai-powered.com/skills/agentic-safety-audit): Agentic safety audit is an open-source agent skill for security.
- [Systematic attacking](https://ai-powered.com/skills/systematic-attacking): Systematic attacking is an open-source agent skill for security.
- [Defi amm security](https://ai-powered.com/skills/defi-amm-security): Defi amm security is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/durable-nonce-exploitation
