No Snake Oil: Verifying Python Package Builds
summary
Rebuilds of 12,180 popular PyPI releases target pure-Python wheels only and use macaron and oss-rebuild to reconstruct packages in hardened containers; successful builds occur for about 68% (macaron) and 56.5% (oss-rebuild), but only ~15.4% and 19.1% are byte-for-byte identical. A provenance-aware normalization pipeline named daleq4py compares extracted metadata and contents and raises equivalence to 60.2% and 78.9% of source-equivalent rebuilds, showing many nonidentical wheels are semantically safe.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 2:07Initial verification approach
- 5:17Study setup and data collection
- 6:45Rebuilding results and challenges
- 9:58Bit-for-bit comparison findings
- 11:43Introducing Dalvik for Py
- 15:20Dalvik for Py workflow
- 16:05Equivalence results
- 17:09Future work and summary
- 17:30Q&A and closing
