Skip to the content

Shuang Sun

Hi, I'm Shuang, a second-year PhD candidate in Cybersecurity at LIACS, Leiden University, Netherlands. My research focuses on the security of natural-language prompts in AI-assisted code generation. You can find more about our group here: LOCS.


In my first year of PhD, I focused on Cryptography and conducted a comprehensive review of preprocessing models in Multi-Party Computation. The manuscript is available here.


I am actively involved in the academic activities. I am a member of the LIACS Diversity Committee and ACCSS. I enjoy organizing events and have co-organized Alice and Eve 2024 and Ethics in Cybersecurity and AI 2025.


I am passionate about programming and proficient in C/C++, Python, and popular front-end technical stacks. Before starting my PhD, I worked as a research engineer for two years in BJCA, the national cryptography company in Beijing. I also worked as a developer for five years before that.


If you have any collaboration ideas or questions, please feel free to contact me.


  • Home
  • Sample Page
  • Blogs

Code Metrics Tools or Static Analysis Tools

Shuang | August 5, 2025

This blog is combing several code metrics tools which introduced in the paper ‘Can LLMs Generate Higher Quality Code Than Humans? An Empirical Study‘. Some context are referenced directly from the paper. For more details, please see the paper. 1 Code Quality Metric 1.1 Code quality Metric 1.2 Human-centric metrics 1.3 Critical code quality metrics … Code Metrics Tools or Static Analysis Tools

Test post for category Posts

Shuang | July 28, 2025

Here is a test post for my new category ‘Posts’. Let’s see if this can show successfully.

© 2025 Shuang Sun