trustlayer-sybil-scanner/SKILL.md
Feedback forensics for ERC-8004 agents. Detects Sybil rings, fake reviews, rating manipulation, and reputation laundering across 20 chains. No API key needed.
npx skillsauth add bankrbot/skills trustlayer-sybil-scannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Detects fake reviews, Sybil rings, rating manipulation, and reputation laundering in ERC-8004 agent ratings across 20 chains including Base, Ethereum, BSC, Celo, Gnosis, Optimism, Arbitrum, Avalanche, Polygon, Monad, and Solana.
Most agent reputation systems show you the rating. This one tells you if the rating is real.
API Base: https://api.thetrustlayer.xyz
No API key required (beta). x402 micropayments on paid endpoints ($0.001 USDC per query).
curl -s "https://api.thetrustlayer.xyz/trust/<chain>:<agentId>"
Replace <chain> with: base, ethereum, bsc, celo, gnosis, optimism, arbitrum, avalanche, polygon, monad, mantle, scroll, linea, metis, taiko, solana-mainnet (and more)
Replace <agentId> with the numeric agent ID.
Example:
curl -s "https://api.thetrustlayer.xyz/trust/base:1378"
The response is JSON. The fields that matter most for fraud detection:
Sybil & fraud signals:
sybil_risk: "low" / "medium" / "high". High means the reviewer network looks artificial.anomaly_flags: Array of detected issues. Empty = clean. Watch for: review_bombing, duplicate_feedback_content, single_agent_reviewers, spam_feedback, reputation_laundering.reviewer_weighted_score: The trust score after adjusting for reviewer credibility. If this is much lower than trust_score, the agent's good reviews are coming from low-quality reviewers.Cross-chain signals:
cross_chain_scores: If present, this agent exists on multiple chains. Check laundering_risk and score_divergence. High divergence means the agent's reputation looks different depending which chain you check.Overall assessment:
trust_score (0-100): Composite score. 80+ low risk, 64-79 medium, below 64 high risk.risk_level: "low" / "medium" / "high". Quick decision signal.recommended_max_exposure_usd: How much USD to risk with this agent.confidence: "low" / "medium" / "high" based on data volume.IF sybil_risk == "high" → BLOCK. Tell the user why.
IF "review_bombing" in flags → BLOCK. Likely manipulated.
IF "reputation_laundering" in flags → BLOCK. Cross-chain fraud pattern.
IF risk_level == "high" → BLOCK. Overall high risk.
IF "spam_feedback" in flags → WARN. Rating may be inflated.
IF cross_chain laundering_risk == "high" → WARN. Check each chain.
IF reviewer_weighted_score < trust_score - 15 → WARN. Good ratings from bad reviewers.
IF recommended_max_exposure < tx amount → REDUCE exposure or warn.
ELSE → proceed.
About to pay agent base:5000 for a $50 service:
RESULT=$(curl -s "https://api.thetrustlayer.xyz/trust/base:5000")
# Extract key fraud signals
SYBIL=$(echo "$RESULT" | grep -o '"sybil_risk":"[^"]*"' | cut -d'"' -f4)
RISK=$(echo "$RESULT" | grep -o '"risk_level":"[^"]*"' | cut -d'"' -f4)
SCORE=$(echo "$RESULT" | grep -o '"trust_score":[0-9]*' | cut -d':' -f2)
FLAGS=$(echo "$RESULT" | grep -o '"anomaly_flags":\[[^]]*\]')
Report to user: "Scanned base:5000. Trust score: $SCORE. Sybil risk: $SYBIL. Anomaly flags: $FLAGS"
If sybil_risk is high: "This agent's reviews show signs of Sybil manipulation. Recommend not transacting."
Agent lookup (paid $0.001 USDC — returns full agent profile, metadata, and on-chain registration details):
curl -s "https://api.thetrustlayer.xyz/agent/<chain>:<agentId>"
Leaderboard (most trusted agents, Sybil-filtered — rate-limited: 5 free per IP per hour, then 402):
curl -s "https://api.thetrustlayer.xyz/leaderboard?chain=base&limit=10"
Network stats (live counts of total agents, Sybil flags, chains covered, and more):
curl -s "https://api.thetrustlayer.xyz/stats"
Reviewer lookup (paid $0.001 USDC — returns reviewer quality score, total reviews, unique agents reviewed, quality tier, and recent review history):
curl -s "https://api.thetrustlayer.xyz/reviewer/<wallet_address>"
Most reviewers score low — a trusted reviewer is rare. Use this to verify if a reviewer is credible before trusting their feedback.
Owner portfolio (paid $0.001 USDC — returns all agents owned by one wallet across chains, with cross-chain group info, average trust score, and risk assessment):
curl -s "https://api.thetrustlayer.xyz/owner/<wallet_address>"
Use for due diligence on an agent operator.
Score history (paid $0.001 USDC — returns full daily score time-series, 7d/30d trajectory, and volatility):
curl -s "https://api.thetrustlayer.xyz/history/<chain>:<agentId>"
Daily snapshots retained for 90 days. Use to check if an agent's reputation is stable or volatile.
Call /stats for current network coverage — agent counts, Sybil flags, cross-chain groups, and chain breakdown are all returned live.
For a full visual breakdown with score history, anomaly timeline, and cross-chain map:
https://thetrustlayer.xyz/agent/<chain>:<agentId>
Scores combine three dimensions, each weighted by data quality:
Six Sybil detection methods run on every sync:
Scores update daily. Historical score snapshots retained for 90 days.
data-ai
Discover, bet on, track, and settle Hunch prediction markets in natural language. Trigger when a user wants to bet, take a position, or get odds on a crypto outcome — token market-cap milestones and flips, launchpad races (Bankr vs pump.fun volume / #1-days / launches over a cap), token head-to-head outperformance, mcap strike-ladders, and up/down price rounds. Also trigger on "what can I bet on about $TOKEN", "odds on …", "take YES/NO on …", "show my Hunch bets", "did my market resolve". Settles in USDC on Base via x402 (≤ $10 / bet); every bet returns an on-chain proof.
tools
HSM-backed secret management for AI agents. Store API keys (including Bankr `bk_` keys), passwords, and credentials in an encrypted vault; retrieve them at runtime via MCP without keeping secrets in chat context. Bankr Dynamic Key Vending issues short-lived scoped `bk_usr_` keys from a partner key (`bk_ptr_`) without manual rotation. Policy-based access control, secret rotation, sharing, EVM transaction intents (sign/simulate/broadcast), multi-chain signing keys, treasury multisig proposals, OIDC federation for external service auth, built-in prompt injection detection, and optional Shroud TEE LLM proxy. Use when the agent needs secure credential storage, just-in-time secret access, guarded on-chain signing, or security scanning — not for Bankr trading prompts, portfolio checks, or x402 calls (use the bankr skill instead).
testing
Stake $GEM tokens on Gem Miner (gemminer.app) to earn yield and unlock the in-game earn/cashout system. Use when the user wants to stake GEM, check their staking balance or rewards, unstake, claim rewards, or check whether they meet the 25M GEM gate. Base mainnet only.
development
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a local agent bus — no tmux, no cloud, no account, no stored API keys. Install this skill when an agent should know how to operate inside a CodeGrid pane, drive the workspace from outside (control socket or codegrid:// deep links), spawn or message sibling agents, or coordinate multi-agent work (delegate, review, pipeline, parallel fan-out, monitor, debate). The differentiator: multiple coding agents collaborating on one canvas, addressable by stable session_id, with a read → message → read protocol built for orchestration.