~/talk

File Transfer: Embrace the "Die & Retry"

TalkinFrenchat Voxxed Days Luxembourg 2026 · 2026-06-18..06-19· [networking]
slides:none on file

A team validates a file-upload API with six concrete tests: renaming an EXE to .pdf, embedding a 7z-containing malicious binary, inserting Adobe JavaScript, adding attachments, including XML forms that fetch external entities, and appending data after the PDF trailer. They use a PDF parsing library and VirusTotal, implement checks to reject JavaScript, attachments and forms, whitelist link domains, and reserialise PDFs to strip trailing payloads; generated code from Claude Code required explicit security prompts to include these protections.

AI-written summary · about

  1. 0:00File transfer problem
  2. 1:24Myth of secure PDF
  3. 3:30Test 1: Renamed binary file
  4. 4:33Test 2: PDF JavaScript
  5. 6:20Test 3: Malicious attached file
  6. 8:44Test 4: Malicious external XML
  7. 12:36Test 5: Binary link
  8. 15:23Test 6: Binary concatenation
  9. 18:53Solutions and conclusion
  10. 19:56AI-generated code
~/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.