Skip to content
Skill

Blockchain security

Guides an agent through Solidity smart contract security testing and blockchain CTF

Blockchain security 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
641
Last commit
License
MIT
Listing updated

Similar skills

About Blockchain security

This skill gives an agent a structured approach to auditing Solidity contracts and working through blockchain capture-the-flag challenges. It walks through decompiling or fetching contract code, mapping storage layout, and checking for privileged operations before writing any exploit.

The guidance centers on specific vulnerability classes: delegatecall storage collisions, CREATE address prediction through nonce manipulation, storage slot computation for mappings and private variables, empty-array validation bypasses, ECDSA signature malleability, and a broader checklist covering reentrancy, access control, tx.origin authentication, selfdestruct, and weak randomness. Separate reference notes cover delegatecall attacks, CREATE address prediction and storage layout in more depth.

The workflow assumes a Python environment with web3.py and solcx for compiling and deploying exploit contracts, or alternatively Foundry's cast and forge. Challenge-style targets are expected to expose a connection endpoint and an on-chain win condition that the agent checks after the attack.

When your agent uses it

Smart contract security testing and blockchain CTF exploitation. Covers Solidity vulnerability analysis, EVM storage manipulation, delegatecall attacks, CREATE/CREATE2 address prediction, and common DeFi exploit patterns. Use when analyzing Solidity contracts, solving blockchain challenges, or testing smart contract security.

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 4 files (12 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/blockchain-security to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/blockchain-security &&
cp -R "$tmp/skills/blockchain-security" ~/.claude/skills/blockchain-security &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/blockchain-security inside it instead.

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/blockchain-security &&
cp -R "$tmp/skills/blockchain-security" ~/.agents/skills/blockchain-security &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/blockchain-security inside it instead.

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/blockchain-security &&
cp -R "$tmp/skills/blockchain-security" ~/.cursor/skills/blockchain-security &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/blockchain-security 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/transilienceai/communitytools.git --path skills/blockchain-security

Or copy the folder to ~/.gemini/skills/blockchain-security yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/blockchain-security &&
cp -R "$tmp/skills/blockchain-security" ~/.copilot/skills/blockchain-security &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/blockchain-security inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/transilienceai/communitytools.git

Then copy communitytools/skills/blockchain-security into your agent's skills folder as blockchain-security. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Vulnerability checklist
A table of common Solidity flaws with the specific code pattern to look for in each.
Delegatecall storage attacks
Guidance on mirroring a target's storage layout so delegatecall writes land in the right slots.
CREATE address prediction
Method for computing contract addresses from sender and nonce and targeting a specific deployment nonce.
Storage slot computation
Formulas for locating mapping entries and reading private variables with eth_getStorageAt.
Signature malleability checks
Explains how raw ecrecover without s-normalization allows a valid signature to be reshaped.
Deployment helpers
web3.py snippets for compiling Solidity, signing and sending deployment transactions.

Good for

  • Audit a Solidity contract for reentrancy and missing access control
  • Solve a blockchain CTF challenge that requires a delegatecall exploit
  • Predict the address a contract will deploy to and reach a target nonce
  • Read private state variables from a deployed contract's storage
  • Check whether a signature-verifying contract is vulnerable to malleability

Blockchain security FAQ

What does the skill need to run?

The examples use Python with web3.py and solcx to compile and deploy, or Foundry's cast and forge. The skill includes no scripts of its own.

When does the skill trigger?

When the agent is analyzing Solidity contracts, solving blockchain challenges, or testing smart contract security.

Does Blockchain security include automated tooling?

No. It provides instructions, reference notes and code snippets; the agent writes and runs the exploit itself.

How do I install Blockchain security in Claude Code?

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

Does Blockchain security 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 Blockchain security?

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 Blockchain security?

The closest alternatives to Blockchain security are Chain construct smart contract, Defi amm security, Secure workflow guide, Signature validation audit and Source code scanning.

Where this comes from

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

More from transilienceai/communitytools

  1. Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

    • Open source
    • 641 GitHub stars
    • Security
  2. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  3. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through testing web apps for XSS, CSRF, CORS, clickjacking and more

    • Open source
    • 641 GitHub stars
    • Security