{
  "schemaVersion": 1,
  "videoId": "-vVB06bYJ1o",
  "videoUrl": "https://www.youtube.com/watch?v=-vVB06bYJ1o",
  "title": "Real-Time Threat Detection for DeFi with Stream Engines",
  "speakerCredit": "Jason W",
  "programmeTalkId": "dss26-3cf2bb4b4c409cd9",
  "language": "en",
  "captionType": "auto-generated",
  "humanAccuracyReviewed": false,
  "spokenAudioCompletenessVerified": false,
  "cueEndTimesAvailable": false,
  "source": {
    "provider": "YouTube",
    "method": "native browser transcript export",
    "sha256": "8ac5d2a12122de2c2e05bd3ca9107e22ca885cf6d9b27c269f7bfc203a08c753",
    "exportedAt": "2026-11-16T07:35:13.182557+00:00"
  },
  "qualityCaveats": [
    "Names, organizations, technical terms, code and numbers may be misrecognized.",
    "Source wording and disfluencies are preserved; no editorial corrections were applied.",
    "Export contains whole-second cue starts only; cue ends and subsecond timing are unavailable.",
    "A full caption-track export does not establish that every spoken word is represented.",
    "Automatic YouTube captions; not human-verified against the audio."
  ],
  "timingValidation": {
    "first_cue_start_seconds": 1,
    "last_cue_start_seconds": 293,
    "video_duration_seconds": 294,
    "seconds_after_last_cue_start": 1,
    "cue_start_gaps_over_30_seconds": [],
    "boundary_check": "pass",
    "criterion": "first cue <=15 seconds; last cue start within 30 seconds of player duration, allowing 1-second precision",
    "meaning": "Timing plausibility only; silence/applause or source caption omissions require audio review."
  },
  "segments": [
    {
      "index": 0,
      "start_seconds": 1,
      "source_timestamp": "0:01",
      "end_seconds": null,
      "text": "Hello, I am Jason, an independent"
    },
    {
      "index": 1,
      "start_seconds": 4,
      "source_timestamp": "0:04",
      "end_seconds": null,
      "text": "security researcher and deeply"
    },
    {
      "index": 2,
      "start_seconds": 6,
      "source_timestamp": "0:06",
      "end_seconds": null,
      "text": "passionate about Web three security and"
    },
    {
      "index": 3,
      "start_seconds": 9,
      "source_timestamp": "0:09",
      "end_seconds": null,
      "text": "build build the tools and a system to"
    },
    {
      "index": 4,
      "start_seconds": 12,
      "source_timestamp": "0:12",
      "end_seconds": null,
      "text": "contribute back to the community."
    },
    {
      "index": 5,
      "start_seconds": 15,
      "source_timestamp": "0:15",
      "end_seconds": null,
      "text": "Uh today I will talk about real-time"
    },
    {
      "index": 6,
      "start_seconds": 18,
      "source_timestamp": "0:18",
      "end_seconds": null,
      "text": "threat detection for D5."
    },
    {
      "index": 7,
      "start_seconds": 21,
      "source_timestamp": "0:21",
      "end_seconds": null,
      "text": "I'm focusing on two core goals. First,"
    },
    {
      "index": 8,
      "start_seconds": 24,
      "source_timestamp": "0:24",
      "end_seconds": null,
      "text": "uh tag threat as early as possible."
    },
    {
      "index": 9,
      "start_seconds": 27,
      "source_timestamp": "0:27",
      "end_seconds": null,
      "text": "Um"
    },
    {
      "index": 10,
      "start_seconds": 29,
      "source_timestamp": "0:29",
      "end_seconds": null,
      "text": "blockchain"
    },
    {
      "index": 11,
      "start_seconds": 30,
      "source_timestamp": "0:30",
      "end_seconds": null,
      "text": "are almost always discovered after the"
    },
    {
      "index": 12,
      "start_seconds": 33,
      "source_timestamp": "0:33",
      "end_seconds": null,
      "text": "fact. Funds are already drained that"
    },
    {
      "index": 13,
      "start_seconds": 37,
      "source_timestamp": "0:37",
      "end_seconds": null,
      "text": "makes this a unique"
    },
    {
      "index": 14,
      "start_seconds": 39,
      "source_timestamp": "0:39",
      "end_seconds": null,
      "text": "hard problem compared to the Web two"
    },
    {
      "index": 15,
      "start_seconds": 42,
      "source_timestamp": "0:42",
      "end_seconds": null,
      "text": "security."
    },
    {
      "index": 16,
      "start_seconds": 43,
      "source_timestamp": "0:43",
      "end_seconds": null,
      "text": "The core question I am trying to answer"
    },
    {
      "index": 17,
      "start_seconds": 46,
      "source_timestamp": "0:46",
      "end_seconds": null,
      "text": "is straightforward. Can we spot attacks"
    },
    {
      "index": 18,
      "start_seconds": 49,
      "source_timestamp": "0:49",
      "end_seconds": null,
      "text": "fast enough to create a window for"
    },
    {
      "index": 19,
      "start_seconds": 52,
      "source_timestamp": "0:52",
      "end_seconds": null,
      "text": "anti-money laundering"
    },
    {
      "index": 20,
      "start_seconds": 54,
      "source_timestamp": "0:54",
      "end_seconds": null,
      "text": "and ideally even interrupt the hike."
    },
    {
      "index": 21,
      "start_seconds": 58,
      "source_timestamp": "0:58",
      "end_seconds": null,
      "text": "Second, build this real-time detection"
    },
    {
      "index": 22,
      "start_seconds": 61,
      "source_timestamp": "1:01",
      "end_seconds": null,
      "text": "system under tight resources constraint."
    },
    {
      "index": 23,
      "start_seconds": 65,
      "source_timestamp": "1:05",
      "end_seconds": null,
      "text": "I run a R E T H execution node in"
    },
    {
      "index": 24,
      "start_seconds": 69,
      "source_timestamp": "1:09",
      "end_seconds": null,
      "text": "minimal mode to keep overhead no."
    },
    {
      "index": 25,
      "start_seconds": 72,
      "source_timestamp": "1:12",
      "end_seconds": null,
      "text": "Let's walk through the system"
    },
    {
      "index": 26,
      "start_seconds": 74,
      "source_timestamp": "1:14",
      "end_seconds": null,
      "text": "architecture and the data pipeline."
    },
    {
      "index": 27,
      "start_seconds": 77,
      "source_timestamp": "1:17",
      "end_seconds": null,
      "text": "I build a custom extension that collects"
    },
    {
      "index": 28,
      "start_seconds": 80,
      "source_timestamp": "1:20",
      "end_seconds": null,
      "text": "transaction traces and the event"
    },
    {
      "index": 29,
      "start_seconds": 83,
      "source_timestamp": "1:23",
      "end_seconds": null,
      "text": "logs. All raw"
    },
    {
      "index": 30,
      "start_seconds": 85,
      "source_timestamp": "1:25",
      "end_seconds": null,
      "text": "elementary flows into a adapter"
    },
    {
      "index": 31,
      "start_seconds": 88,
      "source_timestamp": "1:28",
      "end_seconds": null,
      "text": "component."
    },
    {
      "index": 32,
      "start_seconds": 89,
      "source_timestamp": "1:29",
      "end_seconds": null,
      "text": "This adapter normalized on-chain events"
    },
    {
      "index": 33,
      "start_seconds": 92,
      "source_timestamp": "1:32",
      "end_seconds": null,
      "text": "and enrich it will enrich"
    },
    {
      "index": 34,
      "start_seconds": 95,
      "source_timestamp": "1:35",
      "end_seconds": null,
      "text": "smart contracts, core graphs and"
    },
    {
      "index": 35,
      "start_seconds": 98,
      "source_timestamp": "1:38",
      "end_seconds": null,
      "text": "attached and attached security labels."
    },
    {
      "index": 36,
      "start_seconds": 101,
      "source_timestamp": "1:41",
      "end_seconds": null,
      "text": "In that inside this adapter a 10"
    },
    {
      "index": 37,
      "start_seconds": 104,
      "source_timestamp": "1:44",
      "end_seconds": null,
      "text": "propagation algorithm track"
    },
    {
      "index": 38,
      "start_seconds": 106,
      "source_timestamp": "1:46",
      "end_seconds": null,
      "text": "mixer protocols such as Tornado Cash."
    },
    {
      "index": 39,
      "start_seconds": 110,
      "source_timestamp": "1:50",
      "end_seconds": null,
      "text": "It marks address founded through Tornado"
    },
    {
      "index": 40,
      "start_seconds": 113,
      "source_timestamp": "1:53",
      "end_seconds": null,
      "text": "Cash and propagate that 10 label"
    },
    {
      "index": 41,
      "start_seconds": 115,
      "source_timestamp": "1:55",
      "end_seconds": null,
      "text": "downstream."
    },
    {
      "index": 42,
      "start_seconds": 118,
      "source_timestamp": "1:58",
      "end_seconds": null,
      "text": "Normalized enriched the events then into"
    },
    {
      "index": 43,
      "start_seconds": 121,
      "source_timestamp": "2:01",
      "end_seconds": null,
      "text": "an event pool."
    },
    {
      "index": 44,
      "start_seconds": 123,
      "source_timestamp": "2:03",
      "end_seconds": null,
      "text": "A stream matching engine consume this"
    },
    {
      "index": 45,
      "start_seconds": 125,
      "source_timestamp": "2:05",
      "end_seconds": null,
      "text": "upstream event. I predefine a set of"
    },
    {
      "index": 46,
      "start_seconds": 128,
      "source_timestamp": "2:08",
      "end_seconds": null,
      "text": "matching patterns and evaluate them"
    },
    {
      "index": 47,
      "start_seconds": 132,
      "source_timestamp": "2:12",
      "end_seconds": null,
      "text": "against the live event stream. When a"
    },
    {
      "index": 48,
      "start_seconds": 136,
      "source_timestamp": "2:16",
      "end_seconds": null,
      "text": "pattern matches"
    },
    {
      "index": 49,
      "start_seconds": 138,
      "source_timestamp": "2:18",
      "end_seconds": null,
      "text": "the event stream will fire an alert and"
    },
    {
      "index": 50,
      "start_seconds": 142,
      "source_timestamp": "2:22",
      "end_seconds": null,
      "text": "push it"
    },
    {
      "index": 51,
      "start_seconds": 143,
      "source_timestamp": "2:23",
      "end_seconds": null,
      "text": "into our console."
    },
    {
      "index": 52,
      "start_seconds": 146,
      "source_timestamp": "2:26",
      "end_seconds": null,
      "text": "From there a language model and human"
    },
    {
      "index": 53,
      "start_seconds": 149,
      "source_timestamp": "2:29",
      "end_seconds": null,
      "text": "researchers will triage the alert and"
    },
    {
      "index": 54,
      "start_seconds": 152,
      "source_timestamp": "2:32",
      "end_seconds": null,
      "text": "conduct a deeper investigation."
    },
    {
      "index": 55,
      "start_seconds": 156,
      "source_timestamp": "2:36",
      "end_seconds": null,
      "text": "Okay, let me show you an example"
    },
    {
      "index": 56,
      "start_seconds": 158,
      "source_timestamp": "2:38",
      "end_seconds": null,
      "text": "detection case"
    },
    {
      "index": 57,
      "start_seconds": 160,
      "source_timestamp": "2:40",
      "end_seconds": null,
      "text": "detection case"
    },
    {
      "index": 58,
      "start_seconds": 162,
      "source_timestamp": "2:42",
      "end_seconds": null,
      "text": "triggered inside the adapter built from"
    },
    {
      "index": 59,
      "start_seconds": 165,
      "source_timestamp": "2:45",
      "end_seconds": null,
      "text": "call frame trace data."
    },
    {
      "index": 60,
      "start_seconds": 167,
      "source_timestamp": "2:47",
      "end_seconds": null,
      "text": "We reconstruct the cross side paths like"
    },
    {
      "index": 61,
      "start_seconds": 170,
      "source_timestamp": "2:50",
      "end_seconds": null,
      "text": "this."
    },
    {
      "index": 62,
      "start_seconds": 171,
      "source_timestamp": "2:51",
      "end_seconds": null,
      "text": "And EOA interact with the same wallet"
    },
    {
      "index": 63,
      "start_seconds": 174,
      "source_timestamp": "2:54",
      "end_seconds": null,
      "text": "supplying"
    },
    {
      "index": 64,
      "start_seconds": 176,
      "source_timestamp": "2:56",
      "end_seconds": null,
      "text": "and supplying a malicious smart"
    },
    {
      "index": 65,
      "start_seconds": 178,
      "source_timestamp": "2:58",
      "end_seconds": null,
      "text": "contract. This smart contract was"
    },
    {
      "index": 66,
      "start_seconds": 181,
      "source_timestamp": "3:01",
      "end_seconds": null,
      "text": "deployed by the same EOA which is"
    },
    {
      "index": 67,
      "start_seconds": 186,
      "source_timestamp": "3:06",
      "end_seconds": null,
      "text": "already tiny and labeled as Tornado Cash"
    },
    {
      "index": 68,
      "start_seconds": 189,
      "source_timestamp": "3:09",
      "end_seconds": null,
      "text": "funded."
    },
    {
      "index": 69,
      "start_seconds": 190,
      "source_timestamp": "3:10",
      "end_seconds": null,
      "text": "The execution contains nested dedicate"
    },
    {
      "index": 70,
      "start_seconds": 194,
      "source_timestamp": "3:14",
      "end_seconds": null,
      "text": "calls."
    },
    {
      "index": 71,
      "start_seconds": 195,
      "source_timestamp": "3:15",
      "end_seconds": null,
      "text": "Immediately this"
    },
    {
      "index": 72,
      "start_seconds": 197,
      "source_timestamp": "3:17",
      "end_seconds": null,
      "text": "immediately"
    },
    {
      "index": 73,
      "start_seconds": 199,
      "source_timestamp": "3:19",
      "end_seconds": null,
      "text": "automatically this replace the"
    },
    {
      "index": 74,
      "start_seconds": 201,
      "source_timestamp": "3:21",
      "end_seconds": null,
      "text": "underlying implementation of the safe"
    },
    {
      "index": 75,
      "start_seconds": 204,
      "source_timestamp": "3:24",
      "end_seconds": null,
      "text": "wallet and transfer full control to the"
    },
    {
      "index": 76,
      "start_seconds": 207,
      "source_timestamp": "3:27",
      "end_seconds": null,
      "text": "attacker's smart contract."
    },
    {
      "index": 77,
      "start_seconds": 210,
      "source_timestamp": "3:30",
      "end_seconds": null,
      "text": "Then the stream matching engine it"
    },
    {
      "index": 78,
      "start_seconds": 211,
      "source_timestamp": "3:31",
      "end_seconds": null,
      "text": "supports several pattern types equally"
    },
    {
      "index": 79,
      "start_seconds": 214,
      "source_timestamp": "3:34",
      "end_seconds": null,
      "text": "including sequence patterns and absence"
    },
    {
      "index": 80,
      "start_seconds": 217,
      "source_timestamp": "3:37",
      "end_seconds": null,
      "text": "patterns."
    },
    {
      "index": 81,
      "start_seconds": 218,
      "source_timestamp": "3:38",
      "end_seconds": null,
      "text": "Here is an example based on the layer"
    },
    {
      "index": 82,
      "start_seconds": 221,
      "source_timestamp": "3:41",
      "end_seconds": null,
      "text": "zero exploit pattern."
    },
    {
      "index": 83,
      "start_seconds": 225,
      "source_timestamp": "3:45",
      "end_seconds": null,
      "text": "In this attack these two events have a"
    },
    {
      "index": 84,
      "start_seconds": 228,
      "source_timestamp": "3:48",
      "end_seconds": null,
      "text": "gap of two blocks."
    },
    {
      "index": 85,
      "start_seconds": 230,
      "source_timestamp": "3:50",
      "end_seconds": null,
      "text": "My rule works like this. Once"
    },
    {
      "index": 86,
      "start_seconds": 233,
      "source_timestamp": "3:53",
      "end_seconds": null,
      "text": "once we observe the package verified we"
    },
    {
      "index": 87,
      "start_seconds": 236,
      "source_timestamp": "3:56",
      "end_seconds": null,
      "text": "will look backward to check whether a"
    },
    {
      "index": 88,
      "start_seconds": 239,
      "source_timestamp": "3:59",
      "end_seconds": null,
      "text": "valid corresponding source"
    },
    {
      "index": 89,
      "start_seconds": 242,
      "source_timestamp": "4:02",
      "end_seconds": null,
      "text": "package sending exist."
    },
    {
      "index": 90,
      "start_seconds": 244,
      "source_timestamp": "4:04",
      "end_seconds": null,
      "text": "If no matching source event can be"
    },
    {
      "index": 91,
      "start_seconds": 246,
      "source_timestamp": "4:06",
      "end_seconds": null,
      "text": "found, the rule will trigger an alert."
    },
    {
      "index": 92,
      "start_seconds": 251,
      "source_timestamp": "4:11",
      "end_seconds": null,
      "text": "And moving on the investigation demo,"
    },
    {
      "index": 93,
      "start_seconds": 254,
      "source_timestamp": "4:14",
      "end_seconds": null,
      "text": "after the stream matching engine push"
    },
    {
      "index": 94,
      "start_seconds": 258,
      "source_timestamp": "4:18",
      "end_seconds": null,
      "text": "an alert to the console, what we can do?"
    },
    {
      "index": 95,
      "start_seconds": 263,
      "source_timestamp": "4:23",
      "end_seconds": null,
      "text": "Okay, this is our console. You can see"
    },
    {
      "index": 96,
      "start_seconds": 265,
      "source_timestamp": "4:25",
      "end_seconds": null,
      "text": "all the alerts has been listed here. And"
    },
    {
      "index": 97,
      "start_seconds": 268,
      "source_timestamp": "4:28",
      "end_seconds": null,
      "text": "this is our data plane. You can click"
    },
    {
      "index": 98,
      "start_seconds": 271,
      "source_timestamp": "4:31",
      "end_seconds": null,
      "text": "and see the details. And if you want to"
    },
    {
      "index": 99,
      "start_seconds": 274,
      "source_timestamp": "4:34",
      "end_seconds": null,
      "text": "the"
    },
    {
      "index": 100,
      "start_seconds": 275,
      "source_timestamp": "4:35",
      "end_seconds": null,
      "text": "language model agent to do the"
    },
    {
      "index": 101,
      "start_seconds": 277,
      "source_timestamp": "4:37",
      "end_seconds": null,
      "text": "investigation, just click this and it"
    },
    {
      "index": 102,
      "start_seconds": 280,
      "source_timestamp": "4:40",
      "end_seconds": null,
      "text": "will give you a"
    },
    {
      "index": 103,
      "start_seconds": 282,
      "source_timestamp": "4:42",
      "end_seconds": null,
      "text": "analysis here."
    },
    {
      "index": 104,
      "start_seconds": 283,
      "source_timestamp": "4:43",
      "end_seconds": null,
      "text": "And also let me have a look at the"
    },
    {
      "index": 105,
      "start_seconds": 287,
      "source_timestamp": "4:47",
      "end_seconds": null,
      "text": "control plane."
    },
    {
      "index": 106,
      "start_seconds": 289,
      "source_timestamp": "4:49",
      "end_seconds": null,
      "text": "We all the all the predefined patterns"
    },
    {
      "index": 107,
      "start_seconds": 293,
      "source_timestamp": "4:53",
      "end_seconds": null,
      "text": "listed here."
    }
  ]
}
