Application Programming Interfaces (apis) are the primary mechanism that developers use to obtain access to third-party algorithms and services. Unfortunately, apis can be misused, which can have catastrophic conseque...
详细信息
ISBN:
(纸本)9781665437868
Application Programming Interfaces (apis) are the primary mechanism that developers use to obtain access to third-party algorithms and services. Unfortunately, apis can be misused, which can have catastrophic consequences, especially if the apis provide security-critical functionalities like cryptography. Understanding what api misuses are, and for what reasons they are caused, is important to prevent them, e.g., with api misuse detectors. However, definitions and nominations for api misuses and related terms in literature vary and are diverse. This paper addresses the problem of scattered knowledge and definitions of api misuses by presenting a systematic literature review on the subject and introducing FUM, a novel Framework for apiusage constraint and Misuse classification. The literature review revealed that api misuses are violations of api usage constraints. To capture this, we provide unified definitions and use them to derive FUM. To assess the extent to which FUM aids in determining and guiding the improvement of an api misuses detectors' capabilities, we performed a case study on CogniCrypt, a state-of-the-art misuse detector for cryptographic apis. The study showed that FUM can be used to properly assess CogniCrypt's capabilities, identify weaknesses and assist in deriving mitigations and improvements. And it appears that also more generally FUM can aid the development and improvement of misuse detection tools.
暂无评论