Yu Ding standing beside a sign reading You Are Fantastic

Yu Ding 丁羽

Senior Staff Software Engineer at Google DeepMind

Former Principal Security Scientist at Baidu Research Institute · Ph.D., Peking University

I work on system security, programming languages, confidential computing, and secure AI systems. Previously, I created and led the Rust-SGX SDK and Apache Teaclave confidential computing projects, and built production Rust security infrastructure.

Confidential Computing Private AI Compute System & Software Security Programming Languages & Rust Secure Code Generation

About

I am a Senior Staff Software Engineer at Google DeepMind, focusing on anti-abuse, software systems, confidential computing, and secure programming languages. Before joining Google, I served as a Principal Security Scientist at Baidu Research Institute and led engineering efforts on memory-safe trusted execution environments and cloud-native key management in Rust.

I received my Ph.D. in Computer Security (July 2016) and B.S. in Computer Science (July 2010) from Peking University. For Rust-SGX / Teaclave open-source inquiries, feel free to reach out at [email protected].

Selected Publications Full list on Google Scholar →

  1. 2026
    Opal: Private Memory for Personal AI
    Darya Kaviani, Alp Eren Ozdarendeli, Jinhao Zhu, Yu Ding, Raluca Ada Popa
    arXiv:2604.02522 (UC Berkeley & Google DeepMind) arXiv
  2. 2026
    Advancing Private AI Compute with secure, server-side memory
    Yu Ding et al.
    Google DeepMind Technical Blog Blog
  3. 2026
    SecRepoBench: Benchmarking Code Agents for Secure Code Completion in Real-World Repositories
    Chihao Shen, Connor Dilgren, Purva Chiniya, Luke Griffith, Yu Ding, Yizheng Chen
    LLM4Code Workshop (co-located with ICSE 2026) arXiv DOI Dataset
  4. 2024
    Constrained Decoding for Secure Code Generation
    Yanjun Fu, Ethan Baker, Yu Ding, Yizheng Chen
    arXiv:2405.00218 arXiv
  5. 2024
    Broadly Enabling KLEE to Effortlessly Find Unrecoverable Errors in Rust
    Ying Zhang, Peng Li, Yu Ding, Lingxiang Wang, Dan Williams, Na Meng
    46th ACM/IEEE International Conference on Software Engineering (ICSE-SEIP '24) ACM
  6. 2023
    PTStore: Lightweight Architectural Support for Page Table Isolation
    Wende Tan, Yangyu Chen, Yuan Li, Ying Liu, Jianping Wu, Yu Ding, Chao Zhang
    60th ACM/IEEE Design Automation Conference (DAC '23) IEEE
  7. 2020
    Building and Maintaining a Third-Party Library Supply Chain for Productive and Secure SGX Enclave Development
    Pei Wang, Yu Ding, Mingshen Sun, Huibo Wang, Tongxin Li, Rundong Zhou, Zhaofeng Chen, Yiming Jing
    42nd ACM/IEEE International Conference on Software Engineering (ICSE-SEIP '20) ACM
  8. 2019
    Towards Memory Safety for Enclave Programs with Rust-SGX
    Huibo Wang, Pei Wang, Yu Ding, Mingshen Sun, Yiming Jing, Ran Duan, Long Li, Yulong Zhang, Tao Wei, Zhiqiang Lin
    ACM CCS '19, London, UK (Acceptance rate: 73/724) PDF
  9. 2019
    Towards Memory Safe Python Enclave for Security Sensitive Computation
    Huibo Wang, Mingshen Sun, Qian Feng, Pei Wang, Tongxin Li, Yu Ding
    35th Annual Computer Security Applications Conference (ACSAC '19) arXiv
  10. 2017
    Rust SGX SDK: Towards Memory Safety in Intel SGX Enclave (Poster)
    Yu Ding, Ran Duan, Long Li, Yueqiang Cheng, Yulong Zhang, Tanghui Chen, Tao Wei
    24th ACM SIGSAC Conference on Computer and Communications Security (CCS '17) DOI
  11. 2017
    Accurate and Efficient Exploit Capture and Classification
    Yu Ding, Tao Wei, Hui Xue, Yulong Zhang, Chao Zhang, Xinhui Han
    Science China Information Sciences, 60: 052110 (2017) PDF
  12. 2016
    VTrust: Regaining Trust on Virtual Calls
    Chao Zhang, Scott Carr, Tongxin Li, Yu Ding, Chengyu Song, Mathias Payer, Dawn Song
    Network and Distributed System Security Symposium (NDSS '16) PDF
  13. 2014
    Android Low Entropy Demystified
    Yu Ding, Zhuo Peng, Yuanyuan Zhou, Chao Zhang
    IEEE International Conference on Communications (ICC '14), Sydney PDF
  14. 2012
    A Framework to Eliminate Backdoors from Response Computable Authentication
    Shuaifu Dai, Tao Wei, Chao Zhang, Tielei Wang, Yu Ding, Wei Zou, Zhenkai Liang
    33rd IEEE Symposium on Security and Privacy (Oakland '12) IEEE
  15. 2010
    Heap Taichi: Exploiting Memory Allocation Granularity in Heap-Spraying Attacks
    Yu Ding, Tao Wei, Tielei Wang, Zhenkai Liang, Wei Zou
    26th Annual Computer Security Applications Conference (ACSAC '10) ACM
Earlier Journal Papers & Conference Posters (2012–2019, 10 items)
  1. 2019
    Poster: gbdt-rs: Fast and Trustworthy Gradient Boosting Decision Tree
    Tongxin Li, Yu Ding, Yulong Zhang, Tao Wei, Xinhui Han
    IEEE Symposium on Security and Privacy (S&P '19 Poster)
  2. 2016
    SQL Injection Prevention Based on Sensitive Characters
    Huilin Zhang, Yu Ding, Lihua Zhang, Lei Duan, Chao Zhang, Tao Wei, Guancheng Li, Xinhui Han
    Journal of Computer Research and Development, 53(10) PDF
  3. 2016
    SIPD: A Practical SDN-based IP Spoofing Defense Method
    Chen Li, Yu Ding, Tongxin Li, Jun Li, Xinhui Han
    NDSS '16 Poster PDF
  4. 2015
    Classifying Downloaders
    Yu Ding, Liang Guo, Chao Zhang, Yulong Zhang, Hui Xue, Tao Wei, Yuan Zhou, Xinhui Han
    36th IEEE Symposium on Security and Privacy (Poster) PDF
  5. 2014
    PHPGate: A Practical White-Delimiter-Tracking Protection against SQL-Injection for PHP
    Lihua Zhang, Yu Ding, Chao Zhang, Lei Duan, Zhaofeng Chen, Tao Wei, Xinhui Han
    24th USENIX Security Symposium (Poster) PDF
  6. 2014
    AdHoneyDroid: Capture Malicious Android Advertisements
    Dongqi Wang, Shuaifu Dai, Yu Ding, Tongxin Li, Xinhui Han
    21st ACM CCS (Poster) PDF
  7. 2014
    Attack and Defense of OAuth-based SSO Systems
    Jianjun Ye, Yu Ding, Tongxin Li, Huilin Zhang, Xinhui Han
    ACSAC '14 (Poster) PDF
  8. 2014
    Unider: Exploit Attack Emulator Armed with State-of-Art Exploit Techniques
    Yu Ding, Chao Zhang, Tao Wei
    NDSS '14 (Poster), San Diego, CA PDF
  9. 2012
    A Summary of Software Classification/Taxonomy Techniques
    Yu Ding, Wei Zou, Tao Wei
    5th Conference on Vulnerability Analysis and Risk Assessment (VARA '12) PDF
  10. 2012
    Applying Cloud Computing Techniques in Information Security Research
    Wei Zou, Yu Ding, Xinhui Han, Wenhan Yang
    Communications of the CCF, Vol. 8, No. 7 PDF

Open Source Projects

Apache Teaclave & Rust SGX SDK

Memory-safe confidential computing platform and Rust SDK for developing Intel SGX enclaves with rich Rust crate ecosystem support.

Keyhouse

Production-ready, cloud-native Key Management Service written in Rust for large-scale cryptographic key lifecycle management.

SGXfail

Technical notes, threat analyses, and deep-dive blog articles examining Intel SGX security assumptions and pitfalls.

cpc-md5 & dftwin

CUDA-accelerated MD5 chosen-prefix collision generator (cpc-md5) and high-performance dynamic data-flow tracking on Windows (dftwin).

Selected Talks & Presentations

Academic Service

Program Committee

IEEE Symposium on Security and Privacy (IEEE S&P '26, IEEE S&P '25); ACM Conference on Computer and Communications Security (ACM CCS '24).

External Reviewer

IEEE S&P ('13, '16), NDSS ('13), ACM AsiaCCS ('13, '16), IEEE TIFS, IEEE TKDE, Software: Practice and Experience (SPE), Science China Information Sciences.