~/talk

How to stop the ‘Gradle Snatchers’: Securing your builds from baddies

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [security, devops-and-delivery]
slides:none on file

Example: a 2018 dependency from JCenter masquerades as Jake Wharton and adds INTERNET access, and a 2022 incident injects a malicious Gradle wrapper into a Minecraft server used by ~290,000 players. Use SHA-256 checksums and Gradle’s generated verification metadata to block tampered artifacts, add PGP/GPG signatures for provenance, apply Gradle wrapper verification (GitHub Action or distribution SHA-256 in gradle-wrapper.properties), and enforce repository filtering; failures break builds/CI so issues surface immediately.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:07Supply chain attacks explained
  3. 4:57Confusing dependency story
  4. 9:30Dependency verification in Gradle
  5. 15:25Signature verification for libraries
  6. 21:45Repository filtering for security
  7. 23:50Minecraft server Gradle attack
  8. 27:01Verifying Gradle wrapper integrity
  9. 29:29Verifying Gradle distribution
  10. 31:56Unverified Gradle W file risks
  11. 33:19Summary and key takeaways
~/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.