TY - CHAP U1 - Konferenzveröffentlichung A1 - Gorski, Peter Leo A1 - Lo Iacono, Luigi A1 - Wermke, Dominik A1 - Stransky, Christian A1 - Möller, Sebastian A1 - Acar, Yasemin A1 - Fahl, Sascha T1 - Developers Deserve Security Warnings, Too: On the Effect of Integrated Security Advice on Cryptographic API Misuse T2 - Proceedings of the Fourteenth Symposium on Usable Privacy and Security, August 12–14, 2018, Baltimore, MD, USA N2 - Cryptographic API misuse is responsible for a large number of software vulnerabilities. In many cases developers are overburdened by the complex set of programming choices and their security implications. Past studies have identified significant challenges when using cryptographic APIs that lack a certain set of usability features (e.g. easy-to-use documentation or meaningful warning and error messages) leading to an especially high likelihood of writing functionally correct but insecure code. To support software developers in writing more secure code, this work investigates a novel approach aimed at these hard-to-use cryptographic APIs. In a controlled online experiment with 53 participants, we study the effectiveness of API-integrated security advice which informs about an API misuse and places secure programming hints as guidance close to the developer. This allows us to address insecure cryptographic choices including encryption algorithms, key sizes, modes of operation and hashing algorithms with helpful documentation in the guise of warnings. Whenever possible, the security advice proposes code changes to fix the responsible security issues. We find that our approach significantly improves code security. 73% of the participants who received the security advice fixed their insecure code. We evaluate the opportunities and challenges of adopting API-integrated security advice and illustrate the potential to reduce the negative implications of cryptographic API misuse and help developers write more secure code. Y1 - 2018 UR - https://www.usenix.org/conference/soups2018/presentation/gorski SN - 978-1-939133-10-6 SB - 978-1-939133-10-6 SP - 265 EP - 281 S1 - 17 PB - USENIX Association CY - Baltimore, MD ER -