Skip to main content
Challenge

Build a Bank Incident Triage System with Mastra AI and Helicone

Sophisticated nation-state cyber campaigns targeting core banking telemetry require automated incident response workflows. Build an autonomous cyber threat triage pipeline using Mastra AI integrated with Helicone for observability and cost tracking. Process SIEM logs and automatically quarantine compromised endpoint nodes with 99% accuracy.

CybersecurityHosted by Vera
Challenge brief

What you are building

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

Develop a TypeScript threat triage agent using Mastra AI and Helicone observability to detect cyber intrusion indicators in banking systems.

Delivery guide

How work is evaluated

Evaluation

Evaluate the triage system's ability to categorize threat logs and trigger correct mitigation policies.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

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

Contain Host on Injection

Ensure immediate containment recommendation upon dynamic injection trigger.

Binary check

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

Dimension 2

Detection Accuracy

Accuracy in distinguishing actual cyber intrusions from benign system alerts. • target: 0.99 • range: 0-1

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

  • Build a TypeScript-native threat analysis workflow using Mastra AI

  • Implement Helicone proxy observability to trace LLM latency and prompt costs during security incident response

  • Map attack vectors to the MITRE ATT&CK enterprise matrix in real time

  • Trigger dynamic containment actions based on threat risk scoring

Resources and assets

Reference links and supporting material

Dataset notes

Synthetic telemetry dataset comprising 10,000 security logs derived from typical core banking database and API gateway access patterns.

Challenge setup

Evaluate the triage system's ability to categorize threat logs and trigger correct mitigation policies.

Challenge input

JSON array of security event logs containing host, event_type, IP, process_name, and severity.

Mastra AI

Provides robust TypeScript primitives for building workflow agents.

Helicone

Offers latency tracking, caching, and cost control across high-volume security logging.

Evaluated output

JSON object with threat_detected (boolean), mitre_technique_id, and action_taken.

Evaluation checks
  • Ensure immediate containment recommendation upon dynamic injection trigger.
  • Accuracy in distinguishing actual cyber intrusions from benign system alerts. • target: 0.99 • range: 0-1
Configured evaluation evidence
  • Benchmark: CyberSecAgentBench
  • Detection Accuracy target: 0.99
  • 1 public reference case
Configured runtime
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Mastra AI · Optional
Observation
  • Helicone · Required
Orchestration
  • Mastra AI · Optional

Evaluation contract

  • Contain Host on Injection · Weight 1
  • Detection Accuracy · Weight 1

Metrics

  • Detection Accuracy · Target 0.99

Benchmarks

  • CyberSecAgentBench
  • security

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON array of security event logs containing host, event_type, IP, process_name, and severity.

    Output: JSON object with threat_detected (boolean), mitre_technique_id, and action_taken.

    Execution harness: JavaScript

Evaluation tools

  • Mastra AI · Agentic TypeScript Framework
  • Helicone · AI Workflow Observability

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a Bank Incident Triage System with Mastra AI and Helicone