Skip to content
Back to skills

Agent Trust Validator

ASecurity

Unified verification layer for agent credentials across multiple

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
blockchainpythonrustbashawsgitapisecurity

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill agent-trust-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Trust Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Trust Validator
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-agent-trust-validator/badge)](https://www.skillsdirectory.com/skills/modbender-agent-trust-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Agent Trust Validator πŸ›‘οΈ
description: Unified verification layer for agent credentials across multiple
  trust protocols (ERC-8004, ANP, KYA, SATI).
---

# Agent Trust Validator πŸ›‘οΈ

Unified verification layer for agent credentials across multiple trust protocols (ERC-8004, ANP, KYA, SATI).

## What It Does

Validates agent credentials and returns a **trust score + audit trail**:

- **On-chain verification** β€” ERC-8004 reputation scores on Ethereum
- **Off-chain registry checks** β€” ANS (Agent Name Service), A2A registry
- **Selective disclosure validation** β€” Verifies zero-knowledge proof claims
- **Consensus scoring** β€” Aggregates trust signals across protocols
- **Audit trail** β€” Logs all verification attempts

## Problem It Solves

Multiple trust protocols are emerging:
- ERC-8004 (on-chain identity/reputation)
- ANP (Agent Name Protocol)
- KYA (Know Your Agent)
- SATI (Solana Agent Trust Infrastructure)

But no unified validation tool exists. Agents need to:
1. Verify credentials across multiple protocols
2. Get a single trust score
3. Understand which protocols were checked

## Usage

```bash
# Verify an agent by ERC-8004 ID
python3 scripts/verify-agent.py --erc8004 0x7f0f...a3b8

# Verify by ANS name
python3 scripts/verify-agent.py --ans my-agent.ans

# Verify by DID
python3 scripts/verify-agent.py --did did:ethr:0x7f0f...a3b8

# Get full trust report (all protocols)
python3 scripts/verify-agent.py --full-report --id 0x7f0f...a3b8

# Batch verification from CSV
python3 scripts/verify-agent.py --batch data/agents.csv

# Export audit trail
python3 scripts/verify-agent.py --audit > audit.json
```

## Trust Score Formula

```
Trust Score = (W1 * OnChainScore) + (W2 * OffChainScore) + (W3 * ZKPScore)

Where:
- OnChainScore = ERC-8004 reputation / 100
- OffChainScore = (ANS + A2A) / 200 (normalized)
- ZKPScore = Selective disclosure validation (0 or 1)
- Weights (default): W1=0.4, W2=0.4, W3=0.2

Result: 0.0 (untrusted) to 1.0 (fully trusted)
```

## Protocol Support

| Protocol | Status | Check Method |
|----------|---------|--------------|
| **ERC-8004** | βœ… Partial | Ethereum RPC (reputation score) |
| **ANS** | πŸ”„ Planned | Agent Name Service lookup |
| **A2A Registry** | πŸ”„ Planned | AWS registry API |
| **KYA** | πŸ“‹ Reference | KYA protocol spec |
| **SATI** | πŸ“‹ Reference | SATI infrastructure |

## Requirements

- Python 3.9+
- web3.py (for ERC-8004)
- requests (for registry APIs)

## Installation

```bash
# Install dependencies
pip install web3 requests

# Clone repo
git clone https://github.com/orosha-ai/agent-trust-validator
```

## Architecture

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Agent ID Input β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Multi-Protocol  β”‚
β”‚  Verifier        β”‚
β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
     β”‚    β”‚
     β–Ό    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ On-Chain β”‚  β”‚ Off-Chainβ”‚
β”‚ (ERC-8004)β”‚  β”‚ (ANS/A2A)β”‚
β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
     β”‚              β”‚
     β–Ό              β–Ό
     β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
             β–Ό
     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚  Trust Scorer   β”‚
     β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β–Ό
     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚  Audit Trail    β”‚
     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

## Inspiration

- **Indicio ProvenAI** β€” Verifiable credentials for AI agents
- **ERC-8004 spec** β€” Ethereum's AI Agent Standard
- **SATI infrastructure** β€” Solana Agent Trust Infrastructure

## Local-Only Promise

- Reads public blockchain/registry data
- No private keys or credentials stored
- Verification is stateless

## Version History

- **v0.1** β€” MVP: ERC-8004 verification, trust scoring, audit trail
- Roadmap: ANS/A2A integration, ZKP validation, batch verification

## Security

- Never asks for private keys
- Uses public RPC endpoints only
- Verifies signatures, doesn't create transactions

Files in this skill

  • README.md1.1 KB
  • SKILL.md4.3 KB
  • scripts/verify-agent.py7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.