Skip to content

Guide · Agent skill

How to use the Blockchain Contract Attack agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The blockchain-contract-attack skill is a reference file that gives an AI agent a checklist of smart contract and blockchain weaknesses, written from a penetration-testing point of view. It is aimed at security auditors reviewing Solidity contracts, testers who are authorized to assess DeFi protocols or blockchain infrastructure, and developers who want a quick list of common problems. After reading this guide you will know what the skill covers, how to install it, how to ask for it in plain language, and what it needs before you use it.

Blockchain Contract AttackAIPentest/CyberStrikeAI · Apache-2.0

Quick start

  1. 1Download the ZIP. Download the blockchain-contract-attack skill ZIP from this page.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project.
  3. 3Or upload in the Claude apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the ZIP.
  4. 4Set up your tools. Get an Etherscan API key and install Slither, Mythril, and/or Manticore, since the skill points to them but does not include them.
  5. 5Ask a plain-language question. Describe the authorized contract or system and the weaknesses to check, such as reentrancy or oracle manipulation.
  6. 6Verify the findings. Check the agent's leads with the static analysis tools and a professional review before relying on them.

What the skill makes the agent do

Agent skills are folders of instructions that an AI agent loads when a task matches them. This one contains a SKILL.md file with a checklist for reviewing smart contracts and blockchain systems. Its description says it is used when auditing smart contracts, DeFi, or blockchain attack surfaces.

The checklist names specific weaknesses to look for: reentrancy (external calls that send value before state is updated, which the file notes breaks the checks-effects-interactions pattern), missing access control such as absent onlyOwner checks, integer overflow in Solidity versions below 0.8 without SafeMath, oracle price manipulation through flash loans, predictable randomness where block.timestamp can be influenced, and abuse of token approvals such as unlimited approve or permit replay. It also lists DeFi attack types like sandwich attacks, governance attacks and signature replay, cross-chain bridge issues such as signature threshold bypass, and exposed blockchain RPC endpoints on port 8545 that accept eth_sendTransaction.

What you need before you start

The skill itself only adds guidance. To use the tooling it points to, you need to set up the following yourself. The file mentions an Etherscan API key for the getsourcecode lookup, which the agent uses to pull verified contract source code. It also refers to static analysis tools: Slither, Mythril, and/or Manticore, which must be installed separately.

The file does not include those tools or the API key, and it does not contain a step-by-step audit method.

  • An Etherscan API key, needed for the getsourcecode lookup
  • Slither, Mythril, and/or Manticore installed for static analysis
  • An agent environment that supports Agent Skills, such as the Claude apps or Claude Code

Install the skill

Download the skill ZIP from this page. You can install it in one of two ways.

For Claude Code, unzip the download into your personal skills folder at ~/.claude/skills/ so it is available in every project. To limit it to one project, unzip it into that project's .claude/skills/ folder instead.

In the Claude apps, upload the ZIP under Settings → Capabilities → Skills.

Trigger the skill with natural requests

You do not need a special command. The skill is meant to load when your request is about auditing smart contracts, DeFi protocols, or blockchain attack surfaces. Describe the job in plain language and name the contract or system you are authorized to review.

Useful phrasing includes the target, the kind of review, and the scope. Mention the weaknesses you care about, such as reentrancy or flash loan price manipulation, so the agent focuses the checklist on those areas.

  • Review this Solidity contract for reentrancy and missing access control. I am authorized to test it.
  • Check this DeFi lending protocol for oracle price manipulation through flash loans.
  • Look at our cross-chain bridge's signature verification for threshold bypass or replay risks.
  • Assess whether our exposed RPC endpoint on port 8545 accepts unauthenticated transactions.

Safety notes on scripts and network access

The skill runs no scripts of its own, but it does use the network, because the Etherscan lookup calls an external API. Only use it on contracts and infrastructure you own or have written permission to test. The content is attack-oriented, and misuse could cause real financial loss.

Treat the agent's findings as leads to verify. The checklist is a short list of keywords and techniques, not a complete audit, so it will not replace a professional review before deployment.

Tips for better results

The skill's own text is mostly in Chinese, with English tool names and technical terms, so English requests still match the same topics. Give the agent the exact contract source or its verified address, and say which Solidity version it uses, since the checklist treats versions below 0.8 differently for overflow risk.

Ask the agent to name which checklist item each finding relates to. That makes it easier to check the result with Slither or Mythril output.

What people use it for

  • Pre-deployment checklist review of a Solidity contract for reentrancy, access control, and approval risks
  • Authorized penetration test of a DeFi protocol for flash loan oracle manipulation and sandwich exposure
  • Reviewing a cross-chain bridge's signature threshold and replay protections
  • Checking whether an owned blockchain RPC endpoint on port 8545 is exposed to unauthorized transactions

Frequently asked questions

Is the Blockchain Contract Attack skill free to use?

The source lists the skill under Apache-2.0 licence. The skill itself is a text file, but you must supply your own Etherscan API key and install Slither, Mythril, or Manticore separately.

How do I install the blockchain-contract-attack skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.

What does the blockchain-contract-attack skill require?

It requires an Etherscan API key for the getsourcecode lookup and Slither, Mythril, and/or Manticore installed for static analysis. It runs no scripts but uses the network.

Can I use this skill to attack live contracts?

No. It is intended only for contracts and infrastructure you own or have written permission to test. Attacking protocols without permission can cause real financial loss.

Will this skill replace a smart contract audit?

No. It is a short checklist of keywords and techniques, not a step-by-step methodology. Use it to guide your own review, then have a professional audit the code before deployment.

How does it compare to running Slither or Mythril directly?

The skill does not replace those tools. It gives the agent a checklist of weaknesses to think about and points to Slither and Mythril for static analysis, plus the Etherscan API for pulling verified source code.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Security auditors, penetration testers with written authorization, and developers who want a quick vulnerability checklist will find this skill useful as a focused reference. Anyone looking for a complete, step-by-step smart contract audit or who lacks permission to test the target should choose a full audit service or a dedicated methodology instead.

Download the skill