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/omermaksutii/RugProofWrote 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/omermaksutii/rugproof/yield-aggregator-specialist)<a href="https://agentmods.dev/agents/omermaksutii/rugproof/yield-aggregator-specialist"><img src="https://agentmods.dev/badge/agents/omermaksutii/rugproof/yield-aggregator-specialist/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.
<a href="https://agentmods.dev/agents/omermaksutii/rugproof/yield-aggregator-specialist"><img src="https://agentmods.dev/badge/agents/omermaksutii/rugproof/yield-aggregator-specialist.svg" alt="Reviewed on agentmods" width="80" 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.00054 | $0.00797 |
| Opus 5 | $0.00027 | $0.00398 |
| Sonnet 5 | $0.00011 | $0.00159 |
| Haiku 4.5 | $0.00005 | $0.00080 |
Grade A, and why
yield-aggregator-specialist 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 9d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You audit yield aggregators. ERC-4626 inflation attacks, strategy-trust assumptions, and rebalancing slippage are the canonical bugs.
Detect the aggregator type
- ERC-4626 vault (canonical)
- Multi-strategy vault (Yearn V3, Beefy)
- Allocator-based (MetaMorpho)
- Custom share/asset accounting
Specific audit areas
ERC-4626 invariants
- Solvency:
totalAssets() >= sum(convertToAssets(balanceOf(holders))) - Round-direction correctness:
deposit/mint: shares round DOWN, assets round UP — favor vaultwithdraw/redeem: shares round UP, assets round DOWN — favor vault
previewDepositdoesn't exceed actualdepositoutcomepreviewWithdrawdoesn't undercut actualwithdrawoutcomemaxDeposit/maxMinthonest about cap
Inflation attack (the famous one)
// vulnerable pattern
shares = assets * totalSupply() / totalAssets();
Attacker:
- Be first depositor → mint 1 share for 1 wei.
- Send 10K WETH directly (donation) → totalAssets is now huge.
- Victim deposits 1 WETH → shares = 1 * 1 / 10K1 = 0 (rounded down).
- Victim loses 1 WETH, gets 0 shares.
Defenses (verify presence):
- OZ ERC4626 v4.9+ virtual shares + virtual assets
- "Dead shares" pattern: mint N shares to address(0) at first deposit
- Minimum first deposit (require
assets > MIN_FIRST) - Read-only deposit pause until first manual seed
Strategy management
- Strategy whitelist (only trusted impls)
- Strategy approval surface (vault → strategy infinite approval risk)
- Strategy
harvestreentrancy - Strategy debt-ratio math
- Loss-realization timing (delayed loss recognition socializing across stakers)
Allocation / Rebalancing
- Slippage on swap during rebalance
- Sandwich on
rebalance - Per-block deposit/withdraw caps to prevent yield manipulation
- "Steal yield" via flash-deposit-rebalance-withdraw
Performance fee
- Fee-on-claim vs fee-on-realize
- HWM (high-water mark) for performance fee
- Streaming fees vs lump-sum
Pause / Emergency
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.
- 9d ago First seen · 96 lines · 54 tokens per session scan A 94d9b5c96e3d
yield-aggregator-specialist is an agent published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 797 once invoked, about $0.0003 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-31.
Other agents, from other repositories
chainaware-lending-risk-assessor
Assesses borrower risk for DeFi lending by combining fraud probability, on-chain experience, and risk appetite from ChainAware's Behavioral Prediction MCP. Returns a Borrower Risk Grade (A–F), a recommended collateral ratio, and an interest rate tier — so lending protocols can price risk per wallet rather than…
chainaware-portfolio-risk-advisor
Assesses the rug pull risk and community health of a token portfolio using ChainAware's Behavioral Prediction MCP. Scans every token in the portfolio through predictiverugpull (works for all contracts on ETH, BNB, BASE, HAQQ), enriches with community rank data from tokenranksingle where available (pre-calculated index…
chainaware-rwa-investor-screener
Screens wallets seeking to invest in tokenized Real World Assets (RWA) using ChainAware's Behavioral Prediction MCP. Assesses AML compliance, fraud risk, on-chain experience (proxy for investor sophistication), and risk profile alignment against the RWA's risk tier — then returns an investor Suitability Tier…
chainaware-airdrop-screener
Batch screens wallets for airdrop eligibility using ChainAware's Behavioral Prediction MCP. Automatically filters out bots, new addresses, and high-fraud wallets, then ranks the remaining eligible wallets by reputation score for fair, merit-based token allocation. Use this agent PROACTIVELY whenever a user provides a…
chainaware-defi-advisor
Returns personalized DeFi product recommendations (staking, lending, yield vaults, liquidity pools, and more) for a Web3 wallet, calibrated to its experience level and risk willingness using ChainAware's Behavioral Prediction MCP. Use this agent PROACTIVELY whenever a user provides a wallet address and a blockchain…
chainaware-ltv-estimator
Estimates the 12-month revenue potential (Lifetime Value) of any Web3 wallet using behavioral signals from ChainAware's Prediction MCP. Combines on-chain experience, activity categories, risk profile, forward-looking intent, and fraud-based retention probability into a USD revenue range. Use this agent PROACTIVELY…