---
schema: 1
type: video
title: >-
  Loophole: Adversarial Agents To Stress Test Your Morality — Brendan Rappazzo,
  Morgan Stanley
description: >-
  An insurance company does not train its risk model on your DNA. It trains on
  artifacts derived from your DNA. Under the moral code the user wrote, that is
  immoral and perfectly legal, and it is the kind of gap Loophole exists to
  surface. Brendan Rappazzo is a machine learning researcher at Morgan Stanley,
  though he opens by saying the project is his own open source work, unrelated
  to his employer. It began with a personal question. He had sent his DNA to a
  consumer ancestry service, then started hearing how such samples get used in
  forensics and cold cases, and realized he could answer case by case whether he
  consented, but had no way to enumerate the cases. His reframing is that a
  legal system is society doing the same translation from moral belief into
  written rule, and that common law leans so hard on case law precisely because
  the nuance is hard to state up front. So Loophole generates synthetic case law
  against you. You describe your morals in plain language, one agent drafts them
  into a formal legal code, and then two adversarial agents work the code from
  opposite sides. One hunts for loopholes, things immoral but legal. The other
  hunts for overreach, things moral but illegal. A judge agent decides whether a
  contradiction is just a sloppy translation it can patch on its own, or a
  genuine hole in your morals that gets escalated to you. The branches he is
  exploring go further: codified system prompts for customer facing bots,
  contracts checked against a company's terms of service, and a Senate simulator
  that rewrote a Medicare bill until it cleared 52 votes. Speaker info: -
  https://x.com/brendanh0gan -
  https://www.linkedin.com/in/brendan-rappazzo-hogan-763734115/ -
  https://www.bhogan.net Timestamps: 0:00 - A game built on adversarial agents
  1:03 - The DNA question that started it 2:44 - Morals, law, and the
  translation problem 4:33 - How the loop works: loophole, overreach, judge 7:15
  - An overreach the judge could not patch 8:05 - Branch one: constitutions for
  chatbots 9:47 - Branch two: decentralized contracts 12:22 - Branch three:
  simulating the US Senate 14:04 - Hill climbing a bill toward passage 14:55 -
  Scaling to 500 personas per state --- Watch along with the corrected
  transcript, summary, timestamps and resources on this talk's official AIE
  page:
  https://ai.engineer/talks/hOWU0KPUp1k-loophole-adversarial-agents-stress-test
  Join our upcoming AI Engineer conferences (see https://ai.engineer landing
  page): - AIEi Shanghai, November 5–6 — the first for meeting top Chinese labs
  and engineers - AIE CODE in SF, November 10–12 — the top AI Coding conference
  returns - AIEi Sydney, December 7–8 — the first AIEi run alongside NeurIPS
  2026 in Sydney ---
canonical: >-
  https://liquidgold.cc/channel/aidotengineer/explore/video/loophole-adversarial-agents-to-stress-test-your-mor-f9b83e3a178a
markdown: >-
  https://liquidgold.cc/channel/aidotengineer/video/loophole-adversarial-agents-to-stress-test-your-mor-f9b83e3a178a.md
llms: null
parent: 'https://liquidgold.cc/channel/aidotengineer.md'
channel: aidotengineer
updated: '2026-10-24T03:42:59.894Z'
language: null
children: []
videoId: hOWU0KPUp1k
durationSeconds: 1020
publishedAt: '2026-09-14T15:00:19.000Z'
searchChunks:
  - ordinal: 0
    text: null
    startSeconds: 22
    endSeconds: 69
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=22'
    heldReason: rights
  - ordinal: 1
    text: null
    startSeconds: 22
    endSeconds: 69
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=22'
    heldReason: rights
  - ordinal: 2
    text: null
    startSeconds: 80
    endSeconds: 170
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=80'
    heldReason: rights
  - ordinal: 3
    text: null
    startSeconds: 182
    endSeconds: 278
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=182'
    heldReason: rights
  - ordinal: 4
    text: null
    startSeconds: 182
    endSeconds: 278
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=182'
    heldReason: rights
  - ordinal: 5
    text: null
    startSeconds: 278
    endSeconds: 291
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=278'
    heldReason: rights
  - ordinal: 6
    text: null
    startSeconds: 278
    endSeconds: 291
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=278'
    heldReason: rights
  - ordinal: 7
    text: null
    startSeconds: 291
    endSeconds: 435
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=291'
    heldReason: rights
  - ordinal: 8
    text: null
    startSeconds: 291
    endSeconds: 435
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=291'
    heldReason: rights
  - ordinal: 9
    text: null
    startSeconds: 503
    endSeconds: 592
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=503'
    heldReason: rights
  - ordinal: 10
    text: null
    startSeconds: 592
    endSeconds: 604
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=592'
    heldReason: rights
  - ordinal: 11
    text: null
    startSeconds: 604
    endSeconds: 752
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=604'
    heldReason: rights
  - ordinal: 12
    text: null
    startSeconds: 604
    endSeconds: 752
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=604'
    heldReason: rights
  - ordinal: 13
    text: null
    startSeconds: 752
    endSeconds: 763
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=752'
    heldReason: rights
  - ordinal: 14
    text: null
    startSeconds: 844
    endSeconds: 856
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=844'
    heldReason: rights
  - ordinal: 15
    text: null
    startSeconds: 900
    endSeconds: 912
    watch: 'https://liquidgold.cc/watch/hOWU0KPUp1k?t=900'
    heldReason: rights
---


# Loophole: Adversarial Agents To Stress Test Your Morality — Brendan Rappazzo, Morgan Stanley

An insurance company does not train its risk model on your DNA. It trains on artifacts derived from your DNA. Under the moral code the user wrote, that is immoral and perfectly legal, and it is the kind of gap Loophole exists to surface. Brendan Rappazzo is a machine learning researcher at Morgan Stanley, though he opens by saying the project is his own open source work, unrelated to his employer. It began with a personal question. He had sent his DNA to a consumer ancestry service, then started hearing how such samples get used in forensics and cold cases, and realized he could answer case by case whether he consented, but had no way to enumerate the cases. His reframing is that a legal system is society doing the same translation from moral belief into written rule, and that common law leans so hard on case law precisely because the nuance is hard to state up front. So Loophole generates synthetic case law against you. You describe your morals in plain language, one agent drafts them into a formal legal code, and then two adversarial agents work the code from opposite sides. One hunts for loopholes, things immoral but legal. The other hunts for overreach, things moral but illegal. A judge agent decides whether a contradiction is just a sloppy translation it can patch on its own, or a genuine hole in your morals that gets escalated to you. The branches he is exploring go further: codified system prompts for customer facing bots, contracts checked against a company's terms of service, and a Senate simulator that rewrote a Medicare bill until it cleared 52 votes. Speaker info: - https://x.com/brendanh0gan - https://www.linkedin.com/in/brendan-rappazzo-hogan-763734115/ - https://www.bhogan.net Timestamps: 0:00 - A game built on adversarial agents 1:03 - The DNA question that started it 2:44 - Morals, law, and the translation problem 4:33 - How the loop works: loophole, overreach, judge 7:15 - An overreach the judge could not patch 8:05 - Branch one: constitutions for chatbots 9:47 - Branch two: decentralized contracts 12:22 - Branch three: simulating the US Senate 14:04 - Hill climbing a bill toward passage 14:55 - Scaling to 500 personas per state --- Watch along with the corrected transcript, summary, timestamps and resources on this talk's official AIE page: https://ai.engineer/talks/hOWU0KPUp1k-loophole-adversarial-agents-stress-test Join our upcoming AI Engineer conferences (see https://ai.engineer landing page): - AIEi Shanghai, November 5–6 — the first for meeting top Chinese labs and engineers - AIE CODE in SF, November 10–12 — the top AI Coding conference returns - AIEi Sydney, December 7–8 — the first AIEi run alongside NeurIPS 2026 in Sydney ---

Canonical: https://liquidgold.cc/channel/aidotengineer/explore/video/loophole-adversarial-agents-to-stress-test-your-mor-f9b83e3a178a · Channel: [AI Engineer](https://liquidgold.cc/channel/aidotengineer.md)

> Search chunk text is held until public-source provenance is verified.

## Document chunks

> Missing: no stored document chunks are available.
