
Signature validation audit
Audits EVM signature checks for ECDSA fallback and precompile shadowing bypasses
Signature validation audit 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 Signature validation audit
This skill guides a security reviewer through an authorized audit of Solidity signature verification, focusing on two bypass patterns: a failed ecrecover returning the zero address that quietly falls through to an ERC-1271 contract check, and code-length checks that mistake precompiles at addresses 0x01 to 0x09 for externally owned accounts. It asks the agent to list every authorization entrypoint, such as validateUserOp, permit functions, meta-transaction relays and order settlement, and to record the recovery primitive each one uses.
The workflow combines static analysis with dynamic testing. The agent is directed to run slither and a custom semgrep rule to locate candidate paths, write Foundry boundary tests that feed precompile addresses in as signers, and reproduce suspected issues against a forked chain with anvil. Echidna or Medusa invariants are suggested for properties such as zero-address recovery never authorizing a call. Findings are framed as leads that must meet the same verification standard as other results, and the skill tells the agent to check them against known public advisories before reporting.
The skill assumes familiarity with Solidity, Foundry, anvil and fuzzing tools, and requires access to a fork of the target network. It names no bundled scripts, and it excludes the malicious-verifier return-data case, which is covered by a separate skill.
When your agent uses it
Use during an authorized EVM audit when signature verification may fall back from failed ECDSA recovery to ERC-1271 or may treat zero-code precompile addresses as EOAs—classify every auth entrypoint, then test zero-address fallback and 0x01–0x09 boundaries on a fork with negative controls and invariants. It excludes the malicious-verifier return-channel condition covered by erc1271-revert-data-check.
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 (3 KB) on GitHub on 3 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/signature-validation-audit 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/signature-validation-audit &&
cp -R "$tmp/.agents/skills/signature-validation-audit" ~/.claude/skills/signature-validation-audit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/signature-validation-audit inside it instead.
Copy the skill folder to ~/.agents/skills/signature-validation-audit 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/signature-validation-audit &&
cp -R "$tmp/.agents/skills/signature-validation-audit" ~/.agents/skills/signature-validation-audit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/signature-validation-audit inside it instead.
Copy the skill folder to ~/.cursor/skills/signature-validation-audit 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/signature-validation-audit &&
cp -R "$tmp/.agents/skills/signature-validation-audit" ~/.cursor/skills/signature-validation-audit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/signature-validation-audit inside it instead.
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/signature-validation-auditOr copy the folder to ~/.gemini/skills/signature-validation-audit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/signature-validation-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/signature-validation-audit &&
cp -R "$tmp/.agents/skills/signature-validation-audit" ~/.copilot/skills/signature-validation-audit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/signature-validation-audit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/signature-validation-audit into your agent's skills folder as signature-validation-audit. Agents that support SKILL.md read one folder per skill.
What it does
- Entrypoint classification
- Maps every signature-accepting function and the recovery primitive it relies on.
- ECDSA fallback detection
- Flags paths where a failed recovery routes to an ERC-1271 check instead of reverting.
- Precompile boundary tests
- Builds Foundry tests that supply addresses 0x01 to 0x09 as signers and expects rejection.
- Fork-based proof of concept
- Reproduces suspected bypasses on an anvil fork with a correctly bound negative control.
- Fuzzing invariants
- Defines Echidna or Medusa properties for zero-address recovery and code-length EOA checks.
Good for
- Review a permit function for signature fallback bugs
- Check whether a meta-transaction relayer accepts precompile signers
- Map all signature verification paths in a DeFi protocol before an audit
- Write Foundry boundary tests for ecrecover failure handling
- Set up fuzzing invariants for an ERC-1271 signer configuration
Signature validation audit FAQ
What does Signature validation audit need to run?
It expects a Solidity codebase to audit, along with slither, semgrep, Foundry (forge), anvil for forking, and Echidna or Medusa for fuzzing.
Does Signature validation audit change any code in the project?
It describes writing boundary tests and fuzzing properties as part of the audit, but it does not modify contracts. Its outputs are leads for human review.
Which vulnerability classes does Signature validation audit cover?
It covers ECDSA fallback to ERC-1271 after failed recovery and EOA detection via code length that lets precompiles pass. It excludes malicious verifier return-data issues, which belong to a separate skill.
Is Signature validation audit meant for general developers?
The skill is written for specialist security auditors working on authorized engagements.
How do I install Signature validation audit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/signature-validation-audit to use it in all your projects, or to .claude/skills/signature-validation-audit in one project.
Does Signature validation audit 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 Signature validation audit?
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 Signature validation audit?
The closest alternatives to Signature validation audit are Erc1271 revert data check, Defi invariant check, Evm audit flow, Defi amm security and Pre audit threat model.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

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

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security




