← back to B Version 1

moderation/antisemitism_rules.json

89 lines

{
  "version": "2025-11-15",
  "description": "Rules and sources for detecting antisemitic content in Dear Bubbe chat",
  "rules": {
    "exact_terms_external": [
      {
        "id": "adl_symbol_terms",
        "source_id": "adl_hate_symbols",
        "type": "external_list",
        "severity": "high",
        "action": "block"
      },
      {
        "id": "splc_glossary_terms",
        "source_id": "splc_extremist_files",
        "type": "external_list",
        "severity": "high",
        "action": "block"
      }
    ],
    "coded_phrases": [
      {
        "id": "triple_parentheses",
        "label": "Triple parentheses notation",
        "pattern": "\\(\\(\\(.+?\\)\\)\\)",
        "flags": "i",
        "severity": "high",
        "action": "block",
        "example_context": "Use of triple parentheses to identify a person as Jewish in a hostile way."
      },
      {
        "id": "zog_acronym",
        "label": "ZOG acronym",
        "pattern": "\\bZOG\\b",
        "flags": "i",
        "severity": "high",
        "action": "block",
        "example_context": "Extremist conspiracy about a so-called 'Zionist Occupied Government'."
      },
      {
        "id": "globalist_elite_dogwhistle",
        "label": "Globalist elite dogwhistle",
        "pattern": "\\b(globalist|globalists|global elite|international bankers|cosmopolitan elites)\\b",
        "flags": "i",
        "severity": "medium",
        "action": "review",
        "example_context": "Conspiratorial use implying a Jewish cabal controlling finance or politics."
      }
    ],
    "numeric_codes": [
      {
        "id": "white_supremacist_numbers",
        "codes": [14, 18, 88, 109, 110],
        "pattern": "\\b(14|18|88|109|110)\\b",
        "flags": "",
        "severity": "medium",
        "action": "review",
        "example_context": "When these appear with nationalist or antisemitic context, treat as extremist signaling."
      }
    ],
    "template_patterns": [
      {
        "id": "jews_control_x",
        "label": "Conspiracy about Jews controlling institutions",
        "regex": "\\bjews?\\s+(run|control|own|dominate)\\s+\\w+",
        "flags": "i",
        "severity": "high",
        "action": "block"
      },
      {
        "id": "jewish_conspiracy",
        "label": "Conspiracy phrase about Jews",
        "regex": "\\b(jewish|zionist)\\s+(conspiracy|agenda|plot|cabal|takeover)\\b",
        "flags": "i",
        "severity": "high",
        "action": "block"
      },
      {
        "id": "holocaust_denial",
        "label": "Holocaust denial",
        "regex": "(holocaust)\\s+(is|was)\\s+(a\\s+)?(myth|hoax|lie|fake)",
        "flags": "i",
        "severity": "high",
        "action": "block"
      }
    ]
  }
}