arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.05867cs.CR
收藏

SkillScanner:在开发阶段通过静态分析检测违反政策的语音应用

SkillScanner: Detecting Policy-Violating Voice Applications Through Static Analysis at the Development Phase

Song Liao, Long Cheng, Haipeng Cai, Linke Guo, Hongxin Hu

AI总结:

本研究开发了静态分析工具SkillScanner,在开发阶段帮助第三方开发者检测Amazon Alexa skills中的政策违规,发现2451个开源skills中有786个存在1328个违规,32%由代码复制粘贴引起。

摘要:

Amazon Alexa市场是最大的语音个人助手(VPA)平台,其技能商店中发布了超过100,000个语音应用(即skills)。为了维护语音应用的质量和可信度,Amazon Alexa实施了一套政策要求,要求第三方skill开发者遵守。然而,最近的研究揭示了当前技能商店中违反政策的skills普遍存在。为了了解skills中出现政策违规的原因,我们首先对34名第三方skill开发者进行了用户研究,重点关注他们是否了解Amazon Alexa平台定义的各项政策要求。我们的用户研究结果表明,VPA的政策要求与skill开发者的实践之间存在显著差距。因此,发布违反政策的skills是不可避免的。为了从源头上防止新的违规skills流入技能商店,在开发阶段识别潜在的政策违规至关重要。在这项工作中,我们设计并开发了SkillScanner,这是一种高效的静态代码分析工具,旨在帮助第三方开发者在skill开发生命周期早期检测政策违规。为了评估SkillScanner的性能,我们对从GitHub收集的2,451个开源skills进行了实证研究。SkillScanner有效地从786个skills中识别出1,328个不同的政策违规。我们的结果表明,32%的政策违规是通过代码重复(即代码复制和粘贴)引入的。特别是,我们发现来自潜在Alexa官方账户(例如GitHub上的“alexa”和“alexa-samples”)的42个skill代码示例包含政策违规,由于从这些Alexa代码示例中复制粘贴了代码片段,导致了其他skills中出现81个政策违规。

英文摘要:

The Amazon Alexa marketplace is the largest Voice Personal Assistant (VPA) platform with over 100,000 voice applications (i.e., skills) published to the skills store. In an effort to maintain the quality and trustworthiness of voice-apps, Amazon Alexa has implemented a set of policy requirements to be adhered to by third-party skill developers. However, recent works reveal the prevalence of policy-violating skills in the current skills store. To understand the causes of policy violations in skills, we first conduct a user study with 34 third-party skill developers focusing on whether they are aware of the various policy requirements defined by the Amazon Alexa platform. Our user study results show that there is a notable gap between VPA's policy requirements and skill developers' practices. As a result, it is inevitable that policy-violating skills will be published. To prevent the inflow of new policy-breaking skills to the skills store from the source, it is critical to identify potential policy violations at the development phase. In this work, we design and develop SkillScanner, an efficient static code analysis tool to facilitate third-party developers to detect policy violations early in the skill development lifecycle. To evaluate the performance of SkillScanner, we conducted an empirical study on 2,451 open source skills collected from GitHub. SkillScanner effectively identified 1,328 different policy violations from 786 skills. Our results suggest that 32% of these policy violations are introduced through code duplication (i.e., code copy and paste). In particular, we found that 42 skill code examples from potential Alexa's official accounts (e.g., "alexa" and "alexa-samples" on GitHub) contain policy violations, which lead to 81 policy violations in other skills due to the copy-pasted code snippets from these Alexa's code examples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑