~/talk

Prompt Hardening - Secure Code Generation Using AI

Talkat NDC Manchester 2025 · 2025-12-01..12-04· [ai-assisted-development, security]
links:none on file
slides:none on file

A systematic evaluation uses Promptu and an LLM as a judge to run 3,000 code-generation tests across OpenAI models (GPT‑4o mini, GPT‑5 mini with reasoning, GPT‑5.1), comparing 300 prompt variants. Adding the prefix using best practices yields an average +15.3% pass rate; GPT‑5 mini with reasoning reaches ~98% pass but consumes ~5,000 tokens per query. Common failures include hardcoded API keys and DB credentials, missing rate limiting, and absent auth; automated evals produce actionable diffs but not perfect fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57Secure AI code generation journey
  3. 16:05Research methodology
  4. 21:29Live demo setup
  5. 30:27Testing results
  6. 45:25Future work
  7. 46:50Prompt security tips
  8. 48:38Takeaways
  9. 49:20Q&A
~/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.