metasploit-cursor-harness: Skill for Cursor

.cursor/skills/blockchain-pentest/SKILL.md

blockchain-pentest is a skill for Cursor from Suzu-Testing/metasploit-cursor-harness. It costs 57 tokens per session (1,627 once invoked), scanned A, original, MIT.

A guide for testing the security of blockchain applications and smart contracts, which are programs deployed on a blockchain. It focuses on Solidity contracts, decentralized finance systems, and Web3 signing flows.

In plain words
What is it for?
Use it to map a protocol, run Slither or other static analysis, test contracts on local or test networks, validate test coverage, and document findings with reproducible proof scripts.
Why use it?
It provides a structured way to find risks such as reentrancy, flash-loan abuse, weak access controls, and arithmetic errors before interacting with live blockchain systems.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is Suzu-Testing/metasploit-cursor-harness's own configuration. It tells Cursor how to work on metasploit-cursor-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything metasploit-cursor-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Suzu-Testing/metasploit-cursor-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Suzu-Testing/metasploit-cursor-harness/main/.cursor/skills/blockchain-pentest/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Suzu-Testing/metasploit-cursor-harness

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blockchain-pentest

README.md
[![agentmods](https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest/github.svg)](https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest)
Your own site
<a href="https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest"><img src="https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for blockchain-pentest

Your own site · 80×15
<a href="https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest"><img src="https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/blockchain-pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01627
Opus 5.5 $0.00023 $0.00651
Sonnet 5.5 $0.00011 $0.00325
Haiku 4.5 $0.00006 $0.00163

Measured 1mo ago against content hash 9dcca0c2645d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

blockchain-pentest scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST http://<node_ip>:8545 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://<node_ip>:8545 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'
.cursor/skills/blockchain-pentest/SKILL.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blockchain Pentest

Prerequisites

  • Target contract addresses and chains are in scope (scope/scope-master.txt, engagement ROE).
  • Use testnet forks or local Anvil/Hardhat before mainnet interaction.
  • Flash loan and reentrancy tests may require ROE authorization for live DeFi pools.

Workflow

Task Progress:
- [ ] Map protocol architecture (contracts, oracles, admin keys)
- [ ] Static analysis (Slither, Mythril) and manual review
- [ ] Test reentrancy, access control, and arithmetic edge cases
- [ ] Run mutation testing to validate test coverage
- [ ] Document findings with transaction hashes and PoC scripts

Phase 1: Architecture mapping

Information gathering

MSF: No direct module. Use block explorers and on-chain queries.

CLI fallback:

# Etherscan/Sourcify contract source verification
# Proxy pattern detection (EIP-1967, EIP-1822, beacon proxies)
# cast call, cast storage for on-chain state reads
cast code 0xContractAddress --rpc-url $RPC_URL
cast storage 0xContractAddress 0 --rpc-url $RPC_URL

Key concepts

Term Relevance
Smart contract On-chain logic with immutable/deployed code
DeFi Financial primitives (lending, AMM, staking)
Flash loan Uncollateralized loan within single transaction
MEV Miner/validator extractable value from tx ordering
Proxy Upgradeable contract pattern via delegatecall

Phase 2: Vulnerability classes

Reentrancy

MSF: No direct module. Use Foundry/Slither for testing.

CLI fallback:

// Vulnerable pattern: external call before state update
function withdraw() external {
    uint amount = balances[msg.sender];
    (bool ok,) = msg.sender.call{value: amount}("");
    balances[msg.sender] = 0;
}

Test: single-function, cross-function, read-only (ERC-777 hooks), cross-contract.

Access control

MSF: No direct module. Use Slither detectors.

CLI fallback:

function setOwner(address _new) external { owner = _new; }
require(tx.origin == owner);

Read the full file on GitHub · 233 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 233 lines · 57 tokens per session scan A 9dcca0c2645d

Subscribe to this mod's changes

blockchain-pentest is a skill published in the GitHub repository Suzu-Testing/metasploit-cursor-harness (3 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 1,627 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.