~/talk

Picking Lockfiles: Attacking & Defending Your Supply Chain

Talkat Black Hat Europe 2021 · 2021-11-08..11-11· [security, developer-experience]
links:none on file
links:none on file
slides:none on file

Lockfiles can be tampered to redirect a resolved URL, drop integrity hashes, or add extra packages so installers fetch attacker-controlled code; demos change domPurify to donPurify, remove integrity checks, and write /tmp/lol to prove arbitrary code execution. Examples cover Yarn v1/v2, npm v7 and Bundler, and a real repo lockfile of ~16,000 lines. Offensive tooling automates reconnaissance and edits (bumpkey); defensive tooling verifies registry metadata and CI gates changes (untampering my lock file).

AI-written summary · about

  1. 0:00Introduction to lockfile attacks
  2. 3:33What are lock files
  3. 8:06Lockfile tampering examples
  4. 14:54Attacker perspective on lockfiles
  5. 20:15BumpKey offensive tool demo
  6. 24:54Defending against lockfile tampering
  7. 28:05Antenne defensive tool demo
  8. 30:12Closing and tooling overview
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.