~/talk

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

Talkat AndroidMakers by droidcon 2024 · on Thursday, 2024-04-25· at 11:30· [security, devops-and-delivery]
slides:none on file

Covers real incidents: a 2018 repo spoofing where a malicious artifact impersonates a popular library, and a 2022 Gradle Wrapper compromise observed on a Minecraft server with ~290,000 players. Shows concrete mitigations: enable dependency verification (checksums and SHA-256), import PGP signatures and trust keys via verificationMetadata.xml, set a distributionSha256Sum on the wrapper, use Gradle’s repository filtering and a GitHub Action to verify wrapper JARs; these measures catch tampered artifacts and block wrapper/distribution swaps.

AI-written summary · about

  1. 0:00Intro
  2. 0:28Introduction
  3. 8:23Dependency Verification
  4. 16:45Metadata Verification
  5. 17:15ASC File Verification
  6. 18:44Pros and Cons
  7. 24:27Minecraft
  8. 27:36Verification
  9. 31:31Pull via
  10. 35:03Conclusion
~/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.