# Web3 Systemic Agent

> Web3 security & DAO auditor: free bytecode/honeypot/Snapshot tools + x402 Gemini LLM deep audit.

- name: io.github.RafaCoelho33/web3-systemic-agent
- version: 1.0.2
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 80/100 (good)
- charges per call: the server says so (`` deep_semantic_audit `` $0.015)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.RafaCoelho33%2Fweb3-systemic-agent
- tools: https://api.protogrid.dev/v1/servers/io.github.RafaCoelho33%2Fweb3-systemic-agent/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "web3-systemic-agent": {
      "type": "http",
      "url": "https://web3-systemic-agent.onrender.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-1d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 80/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 6 of 6 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 2,082 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 50 (weight 15)

- warn `stability.changes`: 15 tool changes in 30 days
- fail `stability.rug_pull`: 4 tools kept their name but changed most of their description in 30 days; review before trusting them
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 2,082 tokens to load them all
- tool set hash: cf147d9d0eaee75a221e33f5a52ad153
- tools last changed: 2026-11-26T23:05:20.553Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.RafaCoelho33/web3-systemic-agent.svg)](https://protogrid.dev/servers/io.github.RafaCoelho33/web3-systemic-agent)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-26 prompt `audit-dao-governance-space` added
  - Governance security workflow scanning recent Snapshot DAO proposals for hostile takeover payloads and escalating suspicious execution calldata.
- 2026-11-26 prompt `pre-sign-transaction-firewall` added
  - Pre-sign transaction security firewall workflow inspecting calldata, unlimited approvals, Permit2, EIP-712 typed data phishing, prompt injections, and eth_call simulation.
- 2026-11-26 prompt `audit-token-before-swap` added
  - Guided pre-swap security workflow for evaluating an ERC-20 token for honeypot traps, privileged selectors, proxy upgradability, and optional deep LLM source audit.
- 2026-11-26 `inspect_proxy_and_source` added
  - Stage 1 Free ($0.00) EIP-1967/Beacon proxy slot inspector and verified Solidity source resolver. Probes on-chain implementation, admin, beacon, owner(), and paused() states via AsyncWeb3 and retrieves verified source metadata from Sourcify/Etherscan v2 without invoking any LLM. Supports offline_mode=True for deterministic dry-run or network-free verification.
- 2026-11-26 `preflight_tx_firewall` added
  - Stage 1 Free ($0.00) pre-sign security firewall evaluating EVM transaction risks, calldata decoding, unlimited token approvals, Permit2 signatures, EIP-712 typed data phishing, Indirect Prompt Injections in untrusted calldata/descriptions, and simulated state changes via eth_call. Returns JSON with verdict (ALLOW, BLOCK, MANUAL_REVIEW), risk_score (0.0-10.0), reasons, and simulation details.
- 2026-11-26 `deep_semantic_audit` changed (description, inputSchema)
  - before: Stage 2 Paid ($0.05 USDC via x402 on Base Mainnet) hybrid audit combining Stage 1 on-chain gatekeeping with Stage 2 Gemini LLM evaluation to verify proposal_description claims against target_address bytecode and calldata under policy_prompt. Non-idempotent due to LLM evaluation and single-use EIP-3009 x402_payment_header nonce; omitting x402_payment_header safely returns an HTTP 402 payment challenge without charging. Breaching risk_threshold (0.0-10.0) escalates decision to REJECT. Returns JSON with status, decision (APPROVE, MANUAL_REVIEW, REJECT), risk_score, reasoning, and flagged_issues.
  - after: Stage 2 Paid ($0.015 USDC standard / $0.25 USDC deep proxy + verified source via x402 on Base Mainnet) hybrid audit combining Stage 1 on-chain gatekeeping with Stage 2 Gemini LLM evaluation to verify proposal_description claims against target_address bytecode and calldata under policy_prompt. Non-idempotent due to LLM evaluation and single-use EIP-3009 x402_payment_header nonce; omitting x402_payment_header safely returns an HTTP 402 payment challenge without charging. Breaching risk_threshold (0.0-10.0) escalates decision to REJECT. Returns JSON with status, decision (APPROVE, MANUAL_REVIEW, REJECT), risk_score, reasoning, and flagged_issues.
- 2026-11-16 `deep_semantic_audit` changed (inputSchema)
- 2026-11-16 `scan_dao_proposals` changed (outputSchema)
- 2026-11-16 `check_token_honeypot` changed (outputSchema)
- 2026-11-16 `scan_contract_selectors` changed (outputSchema)

Full history: https://api.protogrid.dev/v1/servers/io.github.RafaCoelho33%2Fweb3-systemic-agent/changes

## Remotes

- https://web3-systemic-agent.onrender.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (6)

- `check_token_honeypot`: Stage 1 Free ($0.00) static DEX token bytecode scanner that detects blacklist traps (isBlacklisted, setBlacklist), 100% sell-tax modifiers (setTax, setFee), trading freezes (pause), and SELFDESTRUCT opcodes. Fetches live token_address bytecode on chain_id unless bytecode_override (0x hex) is provided for offline execution; returns safe EOA status if bytecode is empty. Returns JSON with is_contract, is_honeypot_suspect (bool), risk_score (0.0-10.0), threat_categories, risk_flags, and recommendation.
- `deep_semantic_audit`: Stage 2 Paid ($0.015 USDC standard / $0.25 USDC deep proxy + verified source via x402 on Base Mainnet) hybrid audit combining Stage 1 on-chain gatekeeping with Stage 2 Gemini LLM evaluation to verify proposal_description claims against target_address bytecode and calldata under policy_prompt. Non-idempotent due to LLM evaluation and single-use EIP-3009 x402_payment_header nonce; omitting x402_payment_header safely returns an HTTP 402 payment challenge without charging. Breaching risk_threshold (0.0-10.0) escalates decision to REJECT. Returns JSON with status, decision (APPROVE, MANUAL_REVIEW, REJECT), risk_score, reasoning, and flagged_issues.
- `inspect_proxy_and_source`: Stage 1 Free ($0.00) EIP-1967/Beacon proxy slot inspector and verified Solidity source resolver. Probes on-chain implementation, admin, beacon, owner(), and paused() states via AsyncWeb3 and retrieves verified source metadata from Sourcify/Etherscan v2 without invoking any LLM. Supports offline_mode=True for deterministic dry-run or network-free verification.
- `preflight_tx_firewall`: Stage 1 Free ($0.00) pre-sign security firewall evaluating EVM transaction risks, calldata decoding, unlimited token approvals, Permit2 signatures, EIP-712 typed data phishing, Indirect Prompt Injections in untrusted calldata/descriptions, and simulated state changes via eth_call. Returns JSON with verdict (ALLOW, BLOCK, MANUAL_REVIEW), risk_score (0.0-10.0), reasons, and simulation details.
- `scan_contract_selectors`: Stage 1 Free ($0.00) deterministic EVM bytecode inspector that extracts 4-byte function selectors and flags privileged backdoors (transferOwnership, upgradeTo, mint, selfdestruct). Queries live RPC for chain_id (8453 Base, 84532 Base Sepolia, 42161 Arbitrum) unless bytecode_override (0x hex) is supplied for offline analysis; falls back to empty bytecode on RPC error. Returns JSON with is_contract, bytecode_size_bytes, selectors_found, high_risk_selectors, risk_level (HIGH, LOW, EOA), and recommendation.
- `scan_dao_proposals`: Stage 1 Free ($0.00) governance scanner that fetches up to limit (1-20) recent Snapshot DAO proposals for space_id (e.g. arbitrumfoundation.eth, aavedao.eth, ens.eth) and extracts on-chain target addresses and calldata to spot hostile takeover payloads. Queries Snapshot GraphQL API by default, or falls back to deterministic offline fixtures when use_curated_offline=true or network fails. Returns JSON with space_id, proposals_count, proposals (id, title, target_address, calldata, value_wei, state), and recommendation.

## Prompts and resources

### Prompts (3)

- `` audit-dao-governance-space ``: Governance security workflow scanning recent Snapshot DAO proposals for hostile takeover payloads and escalating suspicious execution calldata.
- `` audit-token-before-swap ``: Guided pre-swap security workflow for evaluating an ERC-20 token for honeypot traps, privileged selectors, proxy upgradability, and optional deep LLM source audit.
- `` pre-sign-transaction-firewall ``: Pre-sign transaction security firewall workflow inspecting calldata, unlimited approvals, Permit2, EIP-712 typed data phishing, prompt injections, and eth_call simulation.

### Resources (4)

- `` web3://feed/dao-curated-proposals ``: Deterministic curated dataset of Snapshot DAO governance proposals with extracted on-chain target contracts and execution calldata.
- `` web3://feed/recent-audits ``: Most recent autonomous contract and governance security evaluations recorded in AgentStorage.
- `` web3://security/selectors-catalog ``: Static catalog of known 4-byte EVM administrative selectors, high-risk keywords, and DEX honeypot/rugpull signatures.
- `` web3://x402/pricing ``: Current x402 USDC micropayment pricing tiers, supported EVM network profiles (Base Mainnet, Base Sepolia, Arbitrum One), and free vs paid tool mapping.
