Skip to main content

robustrep

Robust, transport-agnostic reputation scoring for AI agents.

Feed it any table of (rater, ratee, value, scale, tag, ts, evidence_uri, source) and it returns a robust score per ratee that resists Sybil raters and evidence-free ratings. Ships with a Base-chain ERC-8004 adapter and a reproducible report.

Status: v0.1.1 released on PyPI. Design spec and plan live in the parent workspace; a summary is in reports/latest/report.md. Release notes, including the security fixes in 0.1.1: CHANGELOG.md.

Install

pip install robustrep

Library

import pandas as pd
from robustrep import Config, score

records = pd.DataFrame([...])  # columns: rater, ratee, value, scale, tag, ts, evidence_uri, source
result = score(records, Config())

Base ERC-8004 report

robustrep fetch  --db data/base.db          # pull events (resumable)
robustrep score  --db data/base.db --out scores.csv
robustrep report --db data/base.db --out-dir reports

The default endpoint list is rotated automatically and the eth_getLogs window adapts per endpoint; --rpc-url (repeatable) replaces the list and --chunk caps the window. RPC endpoint hostnames appear in the public report and scores.json; do not use an endpoint whose hostname embeds an account id or key.

Rater profiles: Blockscout (free, no key) by default; Etherscan V2 requires a paid plan for Base. Pick a source explicitly with fetch --profile-source {auto,blockscout,etherscan,none}.

Latest scores: reports/latest/scores.json, also served at https://iamdongwang.github.io/robustrep/reports/latest/scores.json

Security considerations

Everything robustrep reads is written by untrusted parties: on-chain values, tags, evidence URIs and addresses, plus whatever the RPC/Blockscout endpoints and evidence hosts return.

robustrep fetch makes outbound HTTP from your machine to evidence URIs chosen by the rated party. Those go through an SSRF guard (scheme/host allowlist, parser cross-check, canonical rebuild, refusal of private/reserved addresses, manual redirects, a size cap and per-socket-operation timeouts — not a wall-clock bound). Its one known SSRF bypass, DNS rebinding, is unmitigated in v0.1 — so run fetch on a host with no privileged reach into an internal network. API keys should come from the environment (ETHERSCAN_API_KEY), never the source tree; --etherscan-key is an escape hatch that takes precedence over the environment and is visible to anyone who can run ps.

Full threat model and private reporting instructions: SECURITY.md.

Metadata

Release files for robustrep 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robustrep 0.2.0
File Size Uploaded
robustrep-0.2.0.tar.gz 277.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robustrep 0.2.0
File Interpreter ABI Platform
robustrep-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 426.0 kB

Release files / robustrep-0.2.0.tar.gz

Download URL robustrep-0.2.0.tar.gz
Size 277.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ab73c2bfcc228e35052a66855a9b90041b3ecf6bec312aa241c9d6ec7aafbfe
BLAKE2b-256 checksum
How to use checksums
37c5b0efc2eff65710e71c8b40b5eb32422287cfce1bb3ac68785b816c52c62a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / robustrep-0.2.0-py3-none-any.whl

Download URL robustrep-0.2.0-py3-none-any.whl
Size 148.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ff7b8379c78633b4622752916c298db1cfb6185c30053734e06a8ec56b70abb
BLAKE2b-256 checksum
How to use checksums
1bd8577c2c1b5513d223b6df759c4f8ae25ffdfcd387cf96da9fe3afb0e6f850
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page