Add 402Sentinel skill — pre-payment counterparty risk + compliance gate for agents (x402)#487
Open
kaditang wants to merge 8 commits into
Open
Add 402Sentinel skill — pre-payment counterparty risk + compliance gate for agents (x402)#487kaditang wants to merge 8 commits into
kaditang wants to merge 8 commits into
Conversation
…e (x402) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ENT-SIGNATURE recipe (the working x402 flow), align setup deps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the 402Sentinel skill (
402sentinel/) — a pre-payment safety + compliance gate for Bankr agents. Call it before paying an x402 counterparty. No signup, no API key; every paid endpoint speaks x402 (USDC on Baseeip155:8453or Solana).What an agent gets
/api/assess, $0.002) — score a counterparty before paying:risk_score0-100 + allow/review/block +key_factors(the signals that drove it, so the decision is legible) + a wallet-readyrecommended_policy. EVM (Base) or Solana sellers./api/assess/deep($0.02) scans more history./api/firewall, $0.002) — vets THIS payment against the agent's own behaviour: routing/amount/velocity anomalies,injection_destination(pass the untrusted page/tool output — if the payTo appears in it, the destination was injected → hard block), andintent_mismatch(pass the intended payTo/max — any deviation → hard block). Stateful peragent_id, with signed anti-poison history./api/compliance, $0.02) — OFAC sanctions (hit = block), due-diligence tier, structuring detection, FATF Travel-Rule (informational). Screening support, not legal advice./api/assess/rwa, $0.02) — "is this TOKEN what it claims?" proxy-aware transfer-restriction detection (ERC-1404/ERC-3643/allowlist/freeze/pause), behavioral transfer simulation (reverts = trapped funds), live pause state, issuer screening./api/verify, $0.02, opt-in) — a positive-only signed trust credential + public allow-list./api/assess/preview(verdict-only, confirm the gate before paying),/api/verified+/api/verification(public allow-list / credential),/api/report_outcome.Skill contents
catalog.json— schemaVersion 1, x402 demo (@x402/fetch+ExactEvmScheme, POST bodies), Bankr-wallet-signing preferred.skill.md— access model, x402 call checklist, deterministic preflight, and the full priced endpoint catalog.Self-describes zero-config at https://402sentinel.com/.well-known/x402 — algorithmic risk signal, informational only (not advice/endorsement/accusation).
🤖 Generated with Claude Code