Get Free Shipping on orders over $79
Large Language Models and Secure Code Generation - Hui Li

Large Language Models and Secure Code Generation

By: Hui Li, Bin Wang

Hardcover | 8 January 2027 | Edition Number 1

At a Glance

Hardcover


RRP $248.95

$182.75

27%OFF

or 4 interest-free payments of $45.69 with

 or 

Available: 8th January 2027

Preorder. Will ship when available.

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:

  • Real-world case studies illustrating how leading teams leverage LLMs to accelerate secure feature development across production environments
  • End-of-chapter questions and exercises designed to reinforce core concepts in secure code generation and LLM safety
  • Methods for gathering high-quality code examples, setting training objectives, and fine-tuning models for security-critical applications
  • Design patterns for LLM-driven agents capable of orchestrating automated security audits and adaptive threat response
  • Coverage of emerging on-device LLM deployment architectures and their implications for software security in resource-constrained environments

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.

More in Computer Science

God AI : Boom or Doom? What to Expect When Machines Outsmart Us - Toby Walsh
Python & AI For Dummies - John C. Shovic

RRP $57.95

$44.75

23%
OFF
Empire of AI : Inside the reckless race for total domination - Karen Hao
Microsoft 365 Excel For Dummies : For Dummies (Computer/Tech) - David H. Ringstrom
Co-Intelligence : Living and Working with AI - Ethan Mollick

RRP $36.99

$29.75

20%
OFF
Reclaiming Purpose : The University in an AI World - Paul LeBlanc