← 返回
安全合规 中文

Agent Security Auditor

Audits ERC-8004 agents by analyzing metadata, endpoints, payment configs, and reputation to identify security risks and generate detailed reports.
通过分析元数据、端点、支付配置和声誉来审计ERC-8004智能体,以识别安全风险并生成详细报告。
aviclaw
安全合规 clawhub v1.0.0 1 版本 99884 Key: 无需
★ 0
Stars
📥 861
下载
💾 14
安装
1
版本
#audit#erc-8004#latest#security

概述

Agent Security Auditor

Scans ERC-8004 agents for security vulnerabilities and generates comprehensive security reports.

Overview

This skill audits ERC-8004 Trustless Agents by querying the Identity Registry and analyzing agent metadata for common security issues. It helps identify potentially malicious or misconfigured agents before interacting with them.

Features

  • Identity Registry Query: Fetches agent metadata from the ERC-8004 Identity Registry
  • Metadata Validation: Checks for missing, empty, or suspicious metadata
  • Endpoint Security: Analyzes service endpoints for red flags
  • x402 Payment Analysis: Validates payment configuration
  • Reputation Check: Queries the Reputation Registry for feedback signals
  • Verification Status: Checks if endpoints are verified via domain control

Usage

# Run the audit script directly with Node.js
node scripts/audit.js <agent-address> [options]

# Options:
#   --rpc <url>        RPC endpoint URL (default: https://eth.llamarpc.com)
#   --chain <id>       Chain ID (default: 1)
#   --output <file>    Output file for JSON report
#   --verbose          Enable verbose logging

Example

# Audit an agent on Ethereum mainnet
node scripts/audit.js 0x742d35Cc6634C0532925a3b844Bc9e7595f8bE21

# Audit with custom RPC
node scripts/audit.js 0x742d35Cc6634C0532925a3b844Bc9e7595f8bE21 --rpc https://mainnet.infura.io/v3/YOUR_KEY

# Save report to file
node scripts/audit.js 0x742d35Cc6634C0532925a3b844Bc9e7595f8bE21 --output report.json

What Gets Scanned

Critical Issues

  • Missing or empty metadata (no name, description)
  • No registered services/endpoints
  • Invalid or unreachable agent URI
  • No agent wallet configured

High Severity Issues

  • Unverified endpoints (no domain control proof)
  • Suspicious endpoint patterns (localhost, IP addresses, unusual ports)
  • No x402 payment support warning
  • No reputation signals

Medium Severity Issues

  • No validation registrations
  • Missing supportedTrust indicators
  • Inactive agent status

Info

  • Reputation score summary
  • Validation count
  • Service endpoint count

Architecture

agent-security-auditor/
├── SKILL.md           # This file
├── scripts/
│   └── audit.js       # Main audit logic
└── references/
    └── ERC-8004.md    # ERC-8004 specification reference

Dependencies

  • ethers.js ^6.x - Ethereum blockchain interaction
  • node-fetch or built-in fetch - HTTP requests for off-chain metadata

Exit Codes

  • 0 - Audit completed successfully
  • 1 - Invalid agent address
  • 2 - Blockchain connection error
  • 3 - Critical error during audit

Notes

  • Requires internet connection for RPC calls and metadata fetching
  • Some checks require off-chain metadata fetching which may be slow
  • Reputation and validation registries are optional deployments

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 09:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,720
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,526
developer-tools

X Research

aviclaw
通用X/Twitter研究代理,搜索实时观点、开发者讨论、产品反馈、文化动态、突发新闻及专家见解。
★ 0 📥 1,914