Towards Cross-Build Differential Testing


연구 분야: Verification



학회: 2025 IEEE Conference on Software Testing, Verification and Validation (ICST)


초록

Recent concerns about software supply chain security have led to the emergence of different binaries built from the same source code. This will sometimes result in binaries that are not identical and therefore have different cryptographic hashes. The question arises whether those binaries are still equivalent, i.e., whether they have the same behaviour. We explore whether differential testing can be used to provide evidence for non-equivalence. We study this for 3,541 pairs of binaries built for the same Maven artifact version, distributed on Maven Central, Google Assured Open Source Software and/or Oracle Build-From-Source. We use EVOSUITE to generate tests for the baseline binary from Maven Central, run these tests against this baseline binary and any available alternately built binaries, and compare the results for consistency. We argue that any differences may indicate variations in program behaviour and could, therefore, be used to detect compromised binaries or failures at runtime. Although our preliminary experiments did not reveal any compromised builds, our approach successfully identified three build configuration errors that caused changes in runtime behaviour. These findings underscore the potential of our method to uncover subtle build differences, highlighting opportunities for improvement.


Author Profile
Jens Dietrich

Victoria University of Wellington Wellington New Zealand

New Zealand
Author Profile
Tim White

Victoria University of Wellington Wellington New Zealand

New Zealand
Author Profile
Valerio Terragni

University of Auckland Auckland New Zealand

New Zealand

📄 논문 정보

발행 연도 2025년
인용수 28
출판 국가 Australia, New Zealand
사이트 IEEE
좋아요 수 0

연관 논문 목록 (84건)