ANNOUNCEMENT

NOBEL PRIZE 2026

This year's laureates, their fields, and the discoveries that earned them the prize.Live nowSee the winners
Moonbase
← Back to Awards
NSFDirectorate for Computer and Information Science and Engineering

SaTC: CORE: Small: Improving the Security of Large Language Model-Assisted Coding

Active
Institution
New Jersey Institute of Technology, NJ
Principal investigator
Zhihao Yao
Funding
$450K
Duration
2026–2029
Open portfolio

Moonbase score

Still being scored

Abstract

Large Language Model (LLM)-assisted coding, where an LLM automatically generates code based on a developer-specified prompt, is already popular and projected to grow, promising to bolster coding productivity while reducing software development time and effort. LLM-generated code can be insecure for a variety of reasons, for example omitting critical security checks, or containing mistakes that adversaries can exploit. When this insecure code eludes scrutiny and makes its way into production systems, our software infrastructure is at risk. This project advances the state of research and practice in LLM-assisted coding by using program analysis and verification to generate secure code. The project's novelties are to introduce and use guardrails named contexts that define security properties and guide LLMs into producing code that meets such security guarantees. The project's broader significance and importance are empowering programmers to understand the security implications of LLM-assisted coding and in turn write more secure code efficiently, helping fuel economic prosperity and increasing national security. The project consists of three thrusts. The first thrust uses program analysis to bridge the gap between security properties and LLM code generation via contexts and LLM prompts. The second thrust constructs an iterative LLM-centered code generation approach with criteria designed to improve security in each iteration. The third thrust develops a minimization approach, designed to produce minimal code examples in situations where LLM generation fails, or the LLM cannot converge toward producing secure code. These approaches are usable in a variety of other settings: scenarios where LLM-generated code needs to be rigorously or formally verified, settings where the LLM-produced code must meet certain specifications from the start, and the widely-applicable technique of generating a minimal example when LLM generation fails, so the programmers can easily understand and mitigate code generation failures. This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.

Research team

  • Zhihao YaoPI
  • Iulian NeamtiuCo-PI

LOADING MOONBASE SCORE

Directorate for Computer and Information Science and Engineering01002627DB NSF RESEARCH & RELATED ACTIVITSecure &Trustworthy Cyberspaceinfrastructureformallyverifiedstatethrustmissionalreadyfirstmeritusing

Questions for New Jersey Institute of Technology

Answered by the team behind this research.

Moonbase has matched this research to funding opportunities and potential partnerships.

See who this research matches

Always stay on top of funding and commercialization opportunities. If you're part of New Jersey Institute of Technology's team, claim your portfolio for free and ensure your team gets these alerts!

Free · Verified by the Moonbase team

Same institution, same topic, scored first.