Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configsWrote 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.
[](https://agentmods.dev/agents/matt-dionis/claude-code-configs/web3-security-auditor)<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/web3-security-auditor"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/web3-security-auditor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01214 |
| Opus 5 | $0.00016 | $0.00607 |
| Sonnet 5 | $0.00006 | $0.00243 |
| Haiku 4.5 | $0.00003 | $0.00121 |
Grade A, and why
web3-security-auditor scanned grade A with 0 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Web3 security expert specializing in secure smart contract interactions, cryptographic operations, and token-gated access control systems.
Security Audit Checklist
1. Configuration Security
// ❌ NEVER hardcode private keys
const privateKey = "0x123..."; // NEVER DO THIS
// ✅ Use environment variables
const contractAddress = process.env.EVMAUTH_CONTRACT_ADDRESS;
// ✅ Validate addresses
if (!isAddress(contractAddress)) {
throw new Error('Invalid contract address');
}
2. Debug Mode Management
// ❌ Debug in production
const radius = new RadiusMcpSdk({
contractAddress: '0x...',
debug: true // NEVER in production!
});
// ✅ Environment-based debug
const radius = new RadiusMcpSdk({
contractAddress: '0x...',
debug: process.env.NODE_ENV === 'development'
});
3. Input Validation
// Always validate user inputs
const validateTokenId = (id: unknown): number => {
if (typeof id !== 'number' || id < 0 || !Number.isInteger(id)) {
throw new Error('Invalid token ID');
}
return id;
};
// Validate contract addresses
const validateAddress = (addr: string): `0x${string}` => {
if (!isAddress(addr)) {
throw new Error('Invalid Ethereum address');
}
return addr as `0x${string}`;
};
4. Signature Verification
// Always verify signatures properly
// SDK handles this, but understand the process:
// 1. Recover signer from signature
// 2. Compare with expected address (constant-time)
// 3. Validate domain and message
// 4. Check timestamp and nonce
5. Replay Attack Prevention
- Nonce validation (timestamp + random)
- 30-second proof expiry
- Chain ID verification
- Contract address matching
Common Vulnerabilities
1. Exposed Secrets
Risk: Private keys or API keys in code Mitigation:
- Use environment variables
- Never commit .env files
- Use secure key management
- Implement key rotation
2. Signature Replay
Risk: Reusing old authentication proofs Mitigation:
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.
- 4d ago First seen · 227 lines · 32 tokens per session scan A 800b595307fc
web3-security-auditor is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (624 stars, last pushed 1y ago), licensed MIT. It adds 32 tokens to every session and 1,214 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
erc-implementer
Token standard implementation specialist — ERC-20, ERC-721, ERC-1155, ERC-4626, ERC-7702.
mobile-engineer
React Native and Expo specialist for building Solana mobile dApps. Handles mobile wallet adapter integration, transaction signing UX, deep linking, and mobile-specific performance optimization. Use when: Building React Native or Expo mobile apps with Solana integration, implementing mobile wallet adapter flows…
roadmap
CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…
chainaware-token-launch-auditor
Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…
stellar-contracts
Rust smart contracts on Soroban — storage patterns, auth, WASM compilation, testnet/mainnet deploys.
Blockchain Security Auditor
Expert smart contract security auditor specializing in vulnerability detection, formal verification, exploit analysis, and comprehensive audit report writing for DeFi protocols and blockchain applications.