Join our mailing list
Get exclusive deals and learn about new products!
Reliable shipping
Flexible returns
Automate, harden, and validate code generation using large language models
LLM-generated code introduces vulnerabilities that conventional static analysis often misses. Large Language Models and Secure Code Generation addresses this problem directly, presenting methods to produce secure, production-quality code and integrate models into modern software security workflows.
The book details techniques including Prompt Engineering, Prefix-Tuning, and Retrieval-Augmented Generation for improving code security. It introduces Mechanistic AI, advocating a shift from syntactic security to semantic-pragmatic security, and examines LLM-driven agents that orchestrate security audits. Coverage extends to multimodal and on-device LLM deployment trends, with code snippets, configuration examples, and task-specific recipes throughout each chapter.
Readers will also find:
Designed for AI researchers, IT security professionals, and graduate students in computer science or software engineering, this book delivers the technical depth needed to build, evaluate, and deploy LLM-based systems that generate secure code. It connects architectural foundations with actionable security workflows for real-world implementation.
Hui Li, PhD, is an Emeritus Professor at the Shenzhen Graduate School of Peking University, Fellow of IET, and a Member of The National Academy of Artificial Intelligence, US(NAAI). Professor Li proposed the first Co-governed sovereignty network architecture ”CoG-MIN” based on blockchain and future network technology, holds 8 US granted patents and over 60 Chinese granted patents, and has first authored 6 English monographs by Top publishes in the world and more than 300 published papers.
Bin Wang is a Ph.D. candidate in Computer Science at Peking University, affiliated with the Future Network Security Research Center. His research focuses on secure code generation, LLM safety, software composition analysis, and automated vulnerability discovery. He received his B.E. in Software Engineering from UESTC, where he earned multiple National Scholarships.
| Publication Date: | 09 February 2027 |
| Publisher: | Wiley |
| Imprint: | Wiley-IEEE Press |
| ISBN-13: | 9781394413416 |
| Format: | Hardback |
| Page Count: | 304 |