Home / Market / FarmDash Camp Guard

FarmDash Camp Guard

Read-only DeFi transaction risk analysis for AI agents: ERC-20 allowance reviews, unsigned transaction policy checks, route economics and risk verdicts before signing. https://www.farmdash.one

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

{ "name": "FarmDash Camp Guard", "version": "1.1.4", "description": "Use for pre-sign safety: allowance audits, route/health sentinel checks, policy scan of unsigned transactions. Verdicts only; never signs or broadcasts.", "tags": [ "defi", "defi-security", "smart-contract-risk", "token-allowance", "approval-revoke", "approval-risk", "transaction-risk-analysis", "transaction-policy", "wallet-security", "risk-sentinel", "pre-transaction-check", "rug-pull", "defi-scams", "scam-protection", "openclaw", "ai-agent", "mcp", "zero-custody", "web3-security", "farmdash" ], "author": "FarmDash Pioneers (@Parmasanandgarlic)", "homepage": "https://www.farmdash.one/agents", "icon": "shield", "tools": [ { "name": "audit_allowance_risk", "description": "Use this when a wallet has existing or proposed ERC20 approvals.", "inputSchema": { "type": "object", "properties": { "walletAddress": { "description": "Optional public EVM wallet for context. Halt alerts require separate wallet authorization.", "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$" }, "allowances": { "description": "Approval observations supplied by the caller. Populate each row with token, spender, allowance, and requiredAmount for a usable review.", "type": "array", "items": { "type": "object", "properties": { "token": { "description": "ERC-20 token contract address.", "type": "string" }, "spender": { "description": "EVM address entitled to spend the allowance.", "type": "string" }, "allowance": { "description": "Observed allowance as an integer string in token base units.", "type": "string" }, "requiredAmount": { "description": "Positive intended spend as an integer string in the same base units.", "type": "string" }, "amountUsd": { "description": "Estimated USD value of the approval exposure.", "type": "number" }, "spenderVerified": { "description": "True only after independent verification against the protocol canonical deployment.", "type": "boolean" } } } } }, "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false }, "outputHints": [ "verdict: pass, review, or halt.", "flags: approval risks such as unlimited allowance, unknown spender, or large dollar exposure.", "requiresUserConfirmation: true unless the verdict is clean." ], "category": "risk" }, { "name": "simulate_transaction_risk", "description": "Applies transaction policy checks to an unsigned transaction.", "inputSchema": { "type": "object", "properties": { "walletAddress": { "description": "Optional public EVM wallet for context. Halt alerts require separate wallet authorization.", "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$" }, "transaction": { "type": "object", "properties": { "to": { "type": "string", "description": "Target EVM contract or recipient." }, "data": { "type": "string", "description": "0x-prefixed calldata. Use 0x for a plain native transfer." }, "value": { "description": "Native value in base units, encoded as a decimal integer or 0x-prefixed hexadecimal string.", "type": "string" }, "chainId": { "description": "Numeric EVM network ID. Supply it for meaningful chain validation.", "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 } }, "required": [ "to", "data" ], "description": "Unsigned EVM payload proposed for local signing." }, "expectedTransaction": { "description": "Independent expected values captured before preparation. Do not derive them from the transaction under review.", "type": "object", "properties": { "to": { "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "description": "Target EVM contract or recipient." }, "chainId": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991, "description": "Numeric EVM network ID. Supply it for meaningful chain validation." }, "value": { "description": "Native value in base units, encoded as a decimal integer or 0x-prefixed hexadecimal string.", "type": "string", "pattern": "^(?:[0-9]+|0x[0-9a-fA-F]+)$" }, "dataHash": { "type": "string", "pattern": "^0x[a-fA-F0-9]{64}$", "description": "SHA-256 of lowercase UTF-8 transaction.data (0x...) or of its decoded calldata bytes, formatted as 0x + 64 hex chars." } }, "required": [ "to", "chainId", "dataHash" ] } }, "required": [ "transaction" ], "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false }, "outputHints": [ "verdict: pass, review, or halt.", "flags: target/chain/value/calldata envelope mismatches, dangerous approval/permit/ownership selectors, and payable-call review items.", "requiresUserConfirmation: true unless verdict is pass.", "simulation: { status: \"not_run\", reason } — always run RPC or Tenderly-style simulation in the signing environment before broadcast." ], "category": "risk" }, { "name": "run_risk_sentinel", "description": "Analyze compatibility-swap risk using the active provider quote boundary, allowance state, depeg checks, health factors, and positive-net-edge enforcement. x402 is machine-payment/access infrastructure, not a swap provider. Risk analysis does not authorize, broadcast, confirm, or settle a transaction.", "inputSchema": { "type": "object", "properties": { "fromChainId": { "description": "Source EVM chain ID for quoted mode.", "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "toChainId": { "description": "Destination EVM chain ID for quoted mode.", "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "fromToken": { "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "description": "ERC-20 token contract address deployed on the corresponding chain. Do not pass a wallet/EOA; the token address and chain ID must match." }, "toToken": { "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "description": "ERC-20 token contract address deployed on the corresponding chain. Do not pass a wallet/EOA; the token address and chain ID must match." }, "fromAmount": { "description": "Input token amount as an integer string in base units.", "type": "string", "pattern": "^[0-9]+$" }, "walletAddress": { "description": "Optional EVM wallet for route context. Publishing halt alerts requires independent wallet authorization.", "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$" }, "toAddress": { "description": "Optional EVM destination recipient. Defaults to the supplied wallet if present.", "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$" }, "protocol": { "description": "Optional quoted-mode route provider, LI.FI or Relay.", "type": "string", "enum": [ "lifi", "relay" ] }, "slippage": { "description": "Quoted-mode tolerance in percentage points (0.5 means 0.5%).", "type": "number", "minimum": 0.01, "maximum": 5 }, "expectedUpsideUsd": { "description": "Expected gross upside in USD for net-edge analysis.", "type": "number" }, "protocolFeeUsd": { "description": "Estimated protocol fees in USD for a manual assessment.", "type": "number" }, "gasUsd": { "description": "Estimated gas in USD for a manual assessment.", "type": "number" }, "bridgeFeeUsd": { "description": "Estimated bridge fee in USD for a manual assessment.", "type": "number" }, "riskBufferUsd": { "description": "Additional modeled risk cost in USD.", "type": "number" }, "enforcePositive": { "description": "Treat nonpositive or unknown net edge as a blocking risk when supported by the selected mode.", "type": "boolean" }, "healthFactor": { "description": "Current lending health factor as a ratio.", "type": "number" }, "liquidationBufferPct": { "description": "Estimated headroom before liquidation in percentage points.", "type": "number" }, "safetyMode": { "description": "Risk strictness mode for the quoted route assessment.", "type": "string", "enum": [ "strict", "balanced" ] } }, "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false }, "outputHints": [ "mode: manual (in-process, zero quote-provider calls) or quoted (live quote + slippage/depeg inspection).", "flags & shouldHalt (or riskReport.shouldHalt / riskReport.haltReasons): stop immediately when shouldHalt is true.", "health & netEdge: liquidation buffer and positive-net-edge economics." ], "category": "risk" } ], "operatingRules": [ "A critical flag means stop. Do not continue to signing.", "A high flag means present the issue and require explicit user confirmation after remediation.", "Never hide approval risk behind expected APY or point farming upside.", "Never use referral links inside a risk warning.", "Never claim a route is safe because it is popular. Use the returned flags.", "A valid EVM address is not a verified spender. Unknown identity is a risk state, not a pass.", "Prefer exact or narrowly buffered approvals. More than 20% above `requiredAmou