paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Securing Millions of Decentralized Identities in Alipay Super App with End-to-End Formal Verification

为支付宝超级应用中数百万去中心化身份提供安全:端到端形式化验证
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 4/10 · 该论文是工业级协议的形式化验证(Tamarin 设计层 + VeriFast 实现层)落地案例,与用户对形式化验证、工业部署与问题驱动研究的兴趣一致;但它完全不涉及 LLM/Agent 与静态分析的交叉、浮点程序分析或贝叶斯程序分析,落在用户核心方向(PL 与 AI 的交叉)之外,只是一篇纯 PL/安全方向的验证工作。引用 0 inbox
Ziyu Mao, Xiaolin Ma, Lin Huang, Huan Yang, Wu Zhang, Weichao Sun, Yongtao Wang, Jingling Xue, Jingyi Wang
crossref: 2026-09-12

AI 速览

一句话:首次对支付宝实际部署的 IIFAA DID 协议做从设计到实现的端到端形式化验证,发现并修复安全缺陷。

去中心化身份(DID)提升认证与隐私,但工业级协议从设计到实现的全链路正确性难以保证。本文对遵循 IIFAA DID 标准、已部署于支付宝并签发数百万 DID 的真实协议开展端到端形式化验证。设计层用 Tamarin 在超级 App 威胁模型下建模并自动验证安全属性,发现并修复多个设计缺陷。实现层从已验证符号模型提取 I/O 规约并转化为函数式规约,用 VeriFast 验证实现,发现并修复实现与设计的不一致,使实现忠实遵循已验证设计。该工作展示了端到端形式化验证在工业安全协议中的可行性。

问题
工业级 DID 协议虽已大规模部署,但其设计安全属性及实现是否忠实遵循设计缺乏端到端形式化保证。
方法
设计层用 Tamarin 在现实威胁模型下对 IIFAA DID 标准建模并自动验证;实现层从符号模型提取 I/O 规约,转化为函数式规约后用 VeriFast 验证。
评估
在支付宝已签发数百万 DID 的真实部署上开展案例研究,发现并推动修复设计缺陷与实现不一致,最终获得端到端验证的安全 DID 协议。
原文摘要(Abstract)

Decentralized Identity (DID) enhances authentication and privacy by empowering individuals to control their own digital identities, which has gained traction globally. To our knowledge, this paper presents the first end-to-end verification effort (from design to implementation) of a real-world Decentralized Identity (DID) protocol following the IIFAA DID standard, which has been deployed within the widely used super app Alipay and issued millions of DIDs in practice. We integrate formal verification into the development lifecycle of such industrial security protocol to systematically enhance its reliability from two levels: (1) At the design level, we utilized state-of-the-art protocol design verifier Tamarin to formally model the IIFAA DID standard under a realistic threat model tailored for super apps. We then formulated and performed automated verification of desired security properties using Tamarin. We identified several design flaws that could lead to a security breach. These issues were reported to the design team and have been addressed in the updated design. (2) At the implementation level, we first extract the desired specification derived from the verified symbolic model of protocol design in the form of a set of intermediate I/O specifications. Subsequently, we translate the I/O specifications into a set of functional specifications at the implementation level, which can then be verified by the automated tool VeriFast. We identified several inconsistencies between the implementation and the verified design which are fixed by the development team and led to verified implementation faithfully obeying the verified design, together offering an end-to-end verified secure DID protocol in Alipay super app. Our work showcases how an industrial security protocol development team can design and implement a practical verified secure Decentralized Identity (DID) protocol with the help of end-to-end formal verification.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9451,
  title = {Securing Millions of Decentralized Identities in Alipay Super App with End-to-End Formal Verification},
  author = {Ziyu Mao and Xiaolin Ma and Lin Huang and Huan Yang and Wu Zhang and Weichao Sun and Yongtao Wang and Jingling Xue and Jingyi Wang},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00305}
}