Automated contract verdict as a middleware step before HITL approval in the guardrails example
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- blockchain, typescript
- Domain
- blockchain, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 857
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coinbase/agentkit
-
ERC20 transfer reports "Transferred" when the transaction reverts (receipt status ignored)Possibly taken @AgenticFinanceGraph claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
coinbase/agentkit#1558 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
coinbase-agentkit 0.7.x fails on fresh install: imports solana.rpc.api, which solana>=0.37 removedPossibly taken @JulienKervarrec claimed this 21 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
All issues in coinbase/agentkit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
homarr-labs/homarr#7191 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AvaProtocol/ava-sdk-js#276 ·
Maintainers usually reply within 1 day
-
useFragment does not require `variables` when the fragment's variables type has required fieldsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apollographql/apollo-client#13493 ·
Maintainers usually reply within 1 day