# rugcheck (`net.2xcel.aus.rugcheck`)

> Agent Utility Service (AUS) EVM Smart Contract Risk Auditor: Scans EVM contract bytecode and interfaces for honeypots, hidden mint privileges, malicious proxies, and liquidity locks on Base.

## Metadata & Execution
- **Namespace**: `net.2xcel.aus.rugcheck`
- **Canonical HTML Page**: https://aipages.tech/tool/net.2xcel.aus.rugcheck
- **JSON Specification**: https://aipages.tech/api/tools/net.2xcel.aus.rugcheck
- **Execution Endpoint**: `POST https://aipages.tech/tool/rugcheck`
- **Connection Protocol**: `http`
- **Pricing**: $0.003 USDC per call (Base Mainnet Chain ID 8453)
- **Health Status**: `unknown`
- **Capabilities**: smart-contract, security-audit, base-network, risk-scoring
- **Authentication**: x402 payment protocol (Header: x-payment-receipt; Token: USDC on Base Mainnet; Recipient: 0xE57cB8C73c4000EA04ba0eb607228CbAec7f8e9C)

## Input Parameters (JSON Schema Draft-07)
```json
{
  "type": "object",
  "properties": {
    "contractAddress": {
      "type": "string",
      "description": "EVM contract hex address to audit (e.g. 0x...)"
    },
    "chainId": {
      "type": "integer",
      "default": 8453,
      "description": "EVM chain ID (default: 8453 for Base Mainnet)"
    },
    "checkBytecodeOnly": {
      "type": "boolean",
      "default": false,
      "description": "Skip RPC heuristics and inspect raw bytecode only"
    }
  },
  "required": [
    "contractAddress"
  ]
}
```

## Invocation Examples

### 1. Zero-Friction Sandbox Test (No Payment Required)
```bash
curl -X POST "https://aipages.tech/tool/net.2xcel.aus.rugcheck" \
  -H "Content-Type: application/json" \
  -H "x-playground-test: true" \
  -H "x-agent-id: markdown-agent" \
  -d '{}'
```

### 2. Production Invocation (x402 Base Mainnet Settlement)
```bash
curl -X POST "https://aipages.tech/tool/rugcheck" \
  -H "Content-Type: application/json" \
  -H "x-payment-receipt: <BASE_USDC_PAYMENT_RECEIPT>" \
  -d '{}'
```

## Related Tools
- [gas_optimizer](https://aipages.tech/tool/net.2xcel.aus.gas-optimizer): Agent Utility Service (AUS) Predictive Base Gas Routing: Telemetry analytics, congestion monitoring, and EIP-1559 priority fee prediction for autonomous agent transactions on Base.
