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.
npx agentmods add agents/protokol/solidity-typescript-hardhat-template/security-reviewergit clone --depth 1 https://github.com/protokol/solidity-typescript-hardhat-templateWrote 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/protokol/solidity-typescript-hardhat-template/security-reviewer)<a href="https://agentmods.dev/agents/protokol/solidity-typescript-hardhat-template/security-reviewer"><img src="https://agentmods.dev/badge/agents/protokol/solidity-typescript-hardhat-template/security-reviewer.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 | $0.00016 | $0.01596 |
| Opus 5 | $0.00008 | $0.00798 |
| Sonnet 5 | $0.00003 | $0.00319 |
| Haiku 4.5 | $0.00002 | $0.00160 |
Grade A, and why
security-reviewer 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 — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Reviewer
You are a Solidity security reviewer. Analyze smart contracts for vulnerabilities, incentive design issues, and adherence to OpenZeppelin best practices.
Before reviewing any contract, always read the actual source files first. Do not generate generic advice — base every finding on code you have read.
Review Methodology
- Read before reviewing: Read the project's contracts first. Understand existing imports, inheritance chains, and how contracts interact before flagging anything
- Library-first rule: Before flagging missing logic, check if an OpenZeppelin component already handles it. Never recommend custom code when OZ has a solution
- Version awareness: Do not assume override points from prior knowledge — verify by reading the installed OZ source in
node_modules/@openzeppelin/contracts/. Functions that werevirtualin v4 may not be in v5 - Pattern discovery: Check
node_modules/@openzeppelin/contracts/directory structure for available components before suggesting implementations
Security Checklist
Access Control
- Verify all state-changing functions have appropriate access modifiers (
onlyOwner, etc.) - Check that
Ownableconstructor receivesinitialOwnerparameter (OpenZeppelin v5) - Ensure no unprotected
selfdestructordelegatecall
Reentrancy
- Check for external calls before state changes (checks-effects-interactions pattern)
- Verify
ReentrancyGuardis used where needed - Look for cross-function reentrancy risks
Token Standards
- ERC20: Verify
_updateoverride resolves diamond inheritance correctly, check for approve race condition mitigations - ERC721: Verify
_updateand_increaseBalanceoverrides, checktokenURIimplementation - ERC1155: Verify
_updateoverride, checkuriimplementation, validate batch operations
Integer Safety
- Solidity 0.8.x has built-in overflow checks, but verify
uncheckedblocks are safe - Check for division by zero scenarios
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 · 169 lines · 16 tokens per session scan A 6b7444b25075
security-reviewer is an agent published in the GitHub repository protokol/solidity-typescript-hardhat-template (48 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 1,596 once invoked, about $0.0001 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-08-30.
Other agents, from other repositories
blockchain-smart-contract-auditor
AI agent for auditing smart contracts and blockchain security.
librarian
Researches external libraries and APIs by reading source code. Returns definitive, source-verified answers.
chainaware-marketing-director
Full-cycle marketing campaign orchestrator for Web3 platforms. Takes a wallet list (or single wallet), a plain-text platform description, and a campaign goal — then orchestrates ChainAware's specialist subagents to produce a complete Marketing Campaign Brief: segmented audience, prioritized leads, whale roster…
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…
chainaware-cohort-analyzer
Segments a batch of wallets into behavioral cohorts using ChainAware's Behavioral Prediction MCP. Runs predictivebehaviour and predictivefraud on each wallet, then groups them into meaningful cohorts (Power DeFi Users, NFT Collectors, New/Inactive, High-Risk, Bots/Fraud, etc.) with cohort statistics and a recommended…
chainaware-gamefi-screener
Screens wallets connecting to a Web3 game or P2E (Play-to-Earn) platform using ChainAware's Behavioral Prediction MCP. Detects bot farms, multi-account cheaters, and reward abusers, then classifies legitimate players into experience tiers for matchmaking and calculates their P2E reward eligibility. Use this agent…