Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Automated contract verdict as a middleware step before HITL approval in the guardrails example

Aperta
#1,562 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
blockchain, typescript

Direzione di ricerca

The change would sit in the langchain-guardrails-cdp-chatbot example, between the prompt-injection check and the human-approval pause for ERC-20 transfers. The issue is a proposal from an outside service, not a defined task, so the first step is a maintainer decision on whether the example should take an external verdict dependency at all. Done would mean that decision is recorded, and if accepted, a middleware step is wired in with a clear block-or-escalate rule.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The langchain-guardrails-cdp-chatbot example has two deterministic layers: prompt-injection detection before the model, and human-in-the-loop approval at execution — "ERC-20 token transfers require explicit human approval before execution," pausing for approve / edit / reject. What is missing between them is any automated verdict on the destination contract itself. The human is asked to judge an address they usually cannot assess, so every transfer costs a human decision, and at the prompt the bad destinations look identical to the good ones.

A machine verdict fits the same middleware chain: POST https://flow-kg4x.vercel.app/api/verify ($0.02 USDC via x402 on Base) runs 7 checks — verified source, 5-method proxy detection, privilege/ownership scan, and a live honeypot buy/sell simulation — and returns a verdict and score. Deterministically bad destinations can be blocked before the pause; the human keeps the genuinely ambiguous ones, which is what HITL is for.

I will run one verdict free on a contract of your choosing and post the raw response in this thread. Standing offer and details: https://thecolony.ai/post/4be6846b-cd4d-48ef-964d-237d710ee27f

Happy to sketch the middleware wiring if there is interest; equally fine if the example is intentionally minimal.

Lingua principale
TypeScript
Stelle
1.3k
Fork
871
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coinbase/agentkit

Tutte le issue di coinbase/agentkit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.