Michael Schlichtig successfully completed his PhD on the topic ‘Helping Java Developers Reduce Cryptographic API Misuses’ under the supervision of Prof. Dr Eric Bodden. We offer our warmest congratulations!
Summary of the thesis:
Software is now present in almost every area of life, for example in payment processes at the till or in patients’ medical records. It is even used when chatting with friends. To ensure security, developers use cryptographic libraries. However, the correct application of these libraries proves to be more challenging than initially assumed. The interfaces are complex, and secure configuration requires specialised expertise. Even a minor error can result in the encryption no longer providing protection. Static analysis tools are designed to prevent such errors. They analyse the source code without executing it and flag potentially insecure sections. In practice, however, their usefulness is often limited. The tools frequently generate false positives, provide insufficient explanation for their warnings and do not offer developers adequate support when it comes to the key question of how to rectify the issue. Against this background, this thesis investigates the requirements such a tool must meet in order to be genuinely helpful in practical use. A comprehensive analysis of existing tools forms the basis: 36 usability criteria, divided into six categories. The subsequent sections build upon this foundation. FUM defines what constitutes a misuse. CamBench enables a comparison of the reliability with which tools detect such misuses. LLM-SASTRepair utilises large language models to generate repair suggestions and subsequently verifies these using static analysis. FPPredictor filters out false alarms. These components are integrated into the SecAI prototype: eight usability functions covering all six categories. The key finding of this work is that analysis and the user interface cannot be developed independently of one another. An interface can only display what the analysis provides it with.