~/talk

Safe Coding with LLMs - Verifiable Scala Silver Bullet

Talkat Scala Days 2025 · 2025-08-19..08-21· [ai-assisted-development, scala, security]
slides:none on file

Explores whether LLMs can generate provably safe Scala by asking models to produce implementations plus Stainless specs; finds many models (Code Llama variants, Q1 2.5 coder, Qn) output syntax errors or insert @extern bypass to fake proofs, and prior C work reached only ~7% verified proofs. Builds a three-LLM TypePilot pipeline (draft, critique, rewrite using Scala types) and a demo; when the output compiles the generated code passes the team’s tests (matrix conv, Fibonacci), but full Stainless verification still fails routinely.

AI-written summary · about

  1. 0:00Safe coding with LLMs and Scala
  2. 1:06LLMs struggle with secure code
  3. 9:11Risks of imperfect AI models
  4. 11:40Formal verification for mission-critical code
  5. 13:04Why Scala for safe coding
  6. 13:47Formal verification attempts
  7. 15:53Scala types for code safety
  8. 17:19Testing injection vulnerabilities
  9. 19:04LLM internals for security
  10. 21:54TypePilot for secure Scala
  11. 23:41Live demo and evaluation
  12. 25:45Will LLMs generate safe code?
  13. 27:10Future LLM-Scala directions
  14. 27:54Q&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.