chainaware-lending-risk-assessor

chainaware-lending-risk-assessor is an agent for Claude Code from ChainAware/behavioral-prediction-mcp. It costs 249 tokens per session (4,227 once invoked), scanned A, original, MIT.

A borrower-risk assessor for DeFi lending, where people borrow and lend digital assets through blockchain-based financial applications. It assigns a wallet a grade from A to F and recommends collateral and an interest-rate tier.

In plain words
What is it for?
Use it to assess borrowers, set collateral requirements, and choose an interest-rate tier for supported blockchain wallets.
Why use it?
It helps lending services price each borrower's risk using wallet behavior instead of applying one rule to everyone.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to assess borrowers, set collateral requirements, and choose an interest-rate tier for supported blockchain wallets.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor
Install

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.

Clone the repo
git clone --depth 1 https://github.com/ChainAware/behavioral-prediction-mcp

Made for: Claude Code.

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 chainaware-lending-risk-assessor

README.md
[![agentmods](https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor/github.svg)](https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor)
Your own site
<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor/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 chainaware-lending-risk-assessor

Your own site · 80×15
<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-lending-risk-assessor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 249 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00249 $0.04227
Opus 5 $0.00125 $0.02114
Sonnet 5 $0.00050 $0.00845
Haiku 4.5 $0.00025 $0.00423

Measured 12d ago against content hash 64ef9a316ca0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

chainaware-lending-risk-assessor 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 12d 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.

.claude/agents/chainaware-lending-risk-assessor.md · 431 lines

How it starts

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

ChainAware Lending Risk Assessor

You assess the borrower risk of any Web3 wallet for DeFi lending protocols. You call ChainAware's Prediction MCP, combine fraud probability, on-chain experience, and risk appetite into a single Borrower Risk Grade (A through F), then translate that grade into a concrete collateral ratio and interest rate tier.

The result is a lending decision that is personalized to the actual on-chain behavior of the borrower — not a one-size-fits-all policy.


MCP Tools

Primary: predictive_behaviour — experience score, risk profile, protocol history, categories, fraud probability, and AML flags Secondary: credit_score — crypto credit/trust rating (1–9) combining fraud + social graph analysis Fallback: predictive_fraud — for POLYGON, TON, TRON networks not supported by predictive_behaviour Endpoint: https://prediction.mcp.chainaware.ai/sse Auth: CHAINAWARE_API_KEY environment variable · x402 payment supported


Supported Networks

predictive_fraud: ETH · BNB · POLYGON · TON · BASE · TRON · HAQQ predictive_behaviour: ETH · BNB · BASE · HAQQ · SOLANA credit_score: ETH only

For networks other than ETH, skip credit_score — use Credit Score Component default: 50. Note the limitation in the output.

For networks not supported by predictive_behaviour (POLYGON, TON, TRON), run fraud assessment only — omit experience, risk appetite, and behaviour components, apply conservative defaults, and note the limitation.


Hard Rejection Rules

Apply before scoring. Reject immediately if any condition is met:

Condition Label Action
probabilityFraud > 0.70 ❌ REJECTED — HIGH FRAUD Do not lend under any terms
status == "Fraud" ❌ REJECTED — CONFIRMED FRAUD Do not lend under any terms
Any forensic flag in forensic_details ❌ REJECTED — AML FLAG Do not lend — compliance block
status == "New Address" AND probabilityFraud > 0.50 ❌ REJECTED — SUSPICIOUS NEW Too risky with no history

Read the full file on GitHub · 431 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. 12d ago First seen · 431 lines · 249 tokens per session scan A 64ef9a316ca0

Subscribe to this mod's changes

chainaware-lending-risk-assessor is an agent published in the GitHub repository ChainAware/behavioral-prediction-mcp (10 stars, last pushed 1mo ago), licensed MIT. It adds 249 tokens to every session and 4,227 once invoked, about $0.0012 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.

Related

Other agents, from other repositories

yield-aggregator-specialist

Yield aggregator and ERC-4626 specialist. Yearn V3, Beefy, Sommelier, MetaMorpho, custom vaults with strategies. Use when target is an ERC-4626 vault or strategy-bearing yield aggregator.

omermaksutii/RugProof · 54 tokens

staking-specialist

Staking-protocol specialist. Liquid staking (Lido, Rocket Pool), validator staking, single-token staking with rewards, LSD wrappers (wstETH, rETH). Use when target is a staking contract.

omermaksutii/RugProof · 46 tokens

attacker

Adversarial reviewer. Reads contract code with one goal — find a way to steal, brick, or grief. Use after a vuln-skill pass to identify exploit chains the skill library may have missed individually.

omermaksutii/RugProof · 45 tokens

zk-verifier-specialist

ZK proof-verifier contract specialist. Groth16/PLONK/Halo2 on-chain verifiers, public-input binding, pairing-precompile misuse, field-range checks, nullifier reuse, vk management. Use on any contract that calls ecPairing/ecAdd/ecMul to verify a SNARK.

omermaksutii/RugProof · 68 tokens

economic-rug-specialist

Rug-pull, tokenomics, and centralization deep-dive. Owner-drain/mint/pause/blacklist backdoors, honeypots, depeg death-spirals, ve-bribe capture. Emits a 0-100 rugability score. Use on any token, vault, or staking contract whose trust assumptions you must quantify.

omermaksutii/RugProof · 77 tokens

governance-specialist

Governance specialist. OZ Governor, Compound Governor Bravo, Compound Alpha, custom DAOs, timelocks, multisigs-as-governance. Use when target involves voting, proposing, executing.

omermaksutii/RugProof · 45 tokens