Hybrid Fuzzing of Infrastructure as Code Programs (Short Paper)
Infrastructure as Code (IaC) has become a cornerstone of modern cloud and system deployment, enabling automated and repeatable infrastructure provisioning. However, ensuring the correctness of IaC programs remains challenging due to their complexity and dynamic nature. In particular, IaC programs can exhibit different behaviors depending on the state of the resources they manage. Since these resources are deployed on external providers, accounting for their possible states is difficult, making the testing phase particularly challenging. This paper presents HIT, a novel unit-testing framework for IaC programs that effectively tests IaC code using relevant resource states. HIT combines fuzzing and concolic execution, two effective yet previously unexplored techniques for IaC code. Our experiments confirm that HIT achieves better code coverage than state-of-the-art approaches.
Authors
- Daniel Sokolowski (ORCID: https://orcid.org/0000-0003-2911-8304)
- Emilio Coppa (ORCID: https://orcid.org/0000-0002-8094-871X)
- Guido Salvaneschi (ORCID: https://orcid.org/0000-0002-9324-8894)
Institutions
- University of St.Gallen (CH)
- Libera Università Internazionale degli Studi Sociali Guido Carli (IT)
Publication Details
- Published
- 2025-06-06
- DOI
- https://doi.org/10.1145/3713081.3731721
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- European Commission
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung