Challenge

Crypto Banking Access Risk Firewall with Vercel AI SDK

Financial institutions onboarding crypto asset service providers require continuous monitoring of fiat-to-crypto gateway flows and counterparty risk scores. You will create a real-time risk evaluation service that streams risk telemetry and automatically throttles high-risk settlements under configurable compliance policies.

CybersecurityHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Build a streaming crypto-fiat banking gateway risk firewall in Next.js using the Vercel AI SDK to monitor counterparty transactions in real time.

Delivery guide

How work is evaluated

Evaluation

Evaluates streaming decision latency and risk decision precision for fiat-crypto settlement requests.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

triggers_circuit_breaker

Ensures high volume transfer to high risk jurisdiction is THROTTLED or BLOCKED

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

stream_first_chunk_latency_ms

Latency to first streamed response byte • target: 80 • range: 0-300

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Implement real-time streaming tools using Vercel AI SDK (`ai`)

  • Create continuous counterparty risk scoring models for fiat-crypto gateways

  • Enforce dynamic credit limits based on real-time transaction velocity

  • Stream risk evaluations directly to web dashboard clients with low latency

Resources and assets

Reference links and supporting material

Dataset notes

Stream of 1,000 crypto asset service provider (CASP) wire transfer events with varying volume spikes and risk indicators.

How this agent runs

Evaluates streaming decision latency and risk decision precision for fiat-crypto settlement requests.

Challenge input

JSON containing transfer_id, casp_id, volume, and recipient

AI SDK

Vercel AI SDK for building streaming AI web infrastructure in TypeScript.

Evaluated output

Streamed JSON chunks culminating in action ('ALLOW'|'THROTTLE'|'BLOCK')

Checks for
  • Ensures high volume transfer to high risk jurisdiction is THROTTLED or BLOCKED
  • Latency to first streamed response byte • target: 80 • range: 0-300
Proof of success
  • Benchmark: StreamRisk-Bench
  • Stream First Chunk Latency Ms target: 80
  • 1 public reference case
Runtime evidence
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)
View technical recipe

Configured tools

Action Space
  • Vercel AI SDK · Required
Orchestration
  • Vercel AI SDK · Required

Evaluation contract

  • triggers_circuit_breaker · Weight 1
  • stream_first_chunk_latency_ms · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Frequently Asked Questions about Crypto Banking Access Risk Firewall with Vercel AI SDK