~/talk

Model-Based Input Validation: Preventing Prompt Injection Attacks

Talkat Conf42 Prompt Engineering 2024 · on Thursday, 2024-11-14· [security, ai-assisted-development]
name:Hilik Paz
linkedin:hilikpaz
slides:none on file

Claims a practical defense: a meta prompt runs before the LLM to classify inputs, returning a pass/fail JSON plus a secret token that detects tampering. Prototypes include a travel‑planner demo where malicious inputs are blocked and the original internal prompt is prevented from leaking. Tests run across curated malicious and valid datasets against multiple models (GPT‑4‑mini and Claude variants) and hit near‑100% similarity on selected runs. Results require iterative dataset tuning and model choice to avoid false failures for ambiguous inputs.

AI-written summary · about

  1. 0:00Introduction to Arato AI and Today's Topic
  2. 0:37Understanding Prompt Injection Attacks
  3. 2:01Demo: Prompt Injection in Action
  4. 3:08Preventing Prompt Injection Attacks
  5. 3:53Deep Dive: Model-Based Input Validation
  6. 9:44Testing and Experimentation
  7. 15:55Conclusion and Final Thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.