Securing Ai-Driven Development: Principles and Practice for the Ai-Assisted Engineer

Securing Ai-Driven Development: Principles and Practice for the Ai-Assisted Engineer

SECURING AI-DRIVEN DEVELOPMENT

出版日期:
2026/10/23
2,925
訂單自國外空運,約14-21個工作天(不含例假日)到貨後依序出貨。為縮短等待,建議將此商品和其他商品分開下單。
查詢門市庫存

內容簡介

Software development has undergone a fundamental transformation as AI coding assistants redefine how software is built. Tasks that once required days now take hours, and complex systems are increasingly created by individuals rather than teams. This acceleration has introduced a hidden cost: security risks that accumulate quietly beneath polished, functional code. AI-generated outputs often appear correct and secure on the surface, yet frequently contain structural flaws such as outdated cryptographic practices, weak authorization controls, and overly permissive infrastructure. The common instinct to simply request 'secure' code from an AI misses a critical reality. Security is not an added feature but the result of deliberate architectural thinking and informed design choices.

This book builds this mindset from the ground up. It begins by challenging the illusion that security can be appended through prompts, reframing it instead as a continuous balance of risk, cost, and usability. It introduces practical threat modeling and emphasizes the importance of strict trust boundaries to defend against adversarial inputs. The discussion then moves into core engineering practices, covering least privilege, compartmentalization, secrets management, and the prevention of context leakage in modern workflows. It addresses common cryptographic mistakes generated by AI systems and explains how to select and apply secure primitives correctly. The book then expands to real-world systems, focusing on APIs, middleware, and distributed architectures where authorization flaws and verification gaps often arise. It establishes disciplined validation processes that combine automated analysis with human judgment. Finally, it explores the emerging risks of autonomous AI agents, presenting strategies such as minimal agency, sandboxing, and structured prompt design, alongside practical patterns for building secure AI-assisted workflows and end-to-end system hardening through realistic case studies.

By the end of this book, you will have developed a rigorous and practical security mindset for the AI-driven era, enabling you to critically evaluate generated code, design systems with structural resilience, and guide AI tools toward outcomes that are not only efficient but fundamentally secure.

What You Will Learn:

  • Why AI coding assistants fail at security and precisely where to intervene
  • How to apply the core principles of security engineering to AI-generated code
  • How to audit, test, and verify code generated by an AI tool
  • How to work securely at the frontier of agentic development

Who It Is For:

This book is for modern software developers who use AI coding assistants in their daily workflow and want to build secure systems without a formal background in security. It is designed for engineers at all levels, as well as data scientists, ML practitioners, and technical founders who are creating real-world applications with AI tools. No prior security expertise is required; only basic programming knowledge and experience working with AI-assisted development.

展開看更多

作者介紹

Mohammad Nauman holds a PhD in Security and completed his postdoctoral research at the Max Planck Institute for Software Systems in Germany, where his work focused on the intersection of security and machine learning. His expertise uniquely combines deep knowledge of traditional security principles with a nuanced understanding of modern AI systems and code-generation technologies, an increasingly critical and rare skill set in today's evolving technological landscape.

With a career spanning more than 25 years, Nauman has taught security and related technical subjects at both undergraduate and postgraduate levels in academic institutions, as well as through widely accessible online platforms. His Udemy courses, followed by over 24,000 students worldwide, reflect both the broad relevance of his work and the effectiveness of his teaching methodology.

Nauman brings together strong theoretical foundations and practical insights, enabling him to not only explain why security vulnerabilities arise at a structural level but also demonstrate how developers can address them in real-world scenarios. His experience as an educator and researcher allows him to translate complex concepts into actionable guidance, making security accessible and applicable for practitioners across skill levels.

規格

誠品貨碼 /
ISBN13 / 9798868832512
ISBN10 /
EAN貨碼 / 9798868832512
裝訂 / P:平裝
頁數 / 448
重量(g) / 807.4
語言 / 3:英文
級別 / N:無
尺寸 / 25.4X17.8X2.4CM

退貨說明

退貨須知:

  1. 依照消費者保護法的規定,您享有商品貨到次日起七天猶豫期(含例假日)的權益(請注意!猶豫期非試用期),辦理退貨之商品必須是全新狀態(不得有刮傷、破損、受潮)且需完整(包含全部商品、配件、原廠內外包裝、贈品及所有附隨文件或資料的完整性等)。
  2. 請您以送貨廠商使用之包裝紙箱將退貨商品包裝妥當,若原紙箱已遺失,請另使用其他紙箱包覆於商品原廠包裝之外,切勿直接於原廠包裝上黏貼紙張或書寫文字。若原廠包裝損毀將可能被認定為已逾越檢查商品之必要程度,本公司得依毀損程度扣除回復原狀必要費用(整新費)後退費;請您先確認商品正確、外觀可接受,再行拆封,以免影響您的權利;若為產品瑕疵,本公司接受退貨。

依「通訊交易解除權合理例外情事適用準則」,下列商品不適用七日猶豫期,除產品本身有瑕疵外,不接受退貨:

  1. 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮蔬果、乳製品、冷凍冷藏食材、蛋糕)
  2. 依消費者要求所為之客製化給付。(如:客製印章、鋼筆刻字)
  3. 報紙、期刊或雜誌。
  4. 經消費者拆封之影音商品或電腦軟體。
  5. 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書)
  6. 已拆封之個人衛生用品。(如:內衣褲、襪類、褲襪、刮鬍刀、除毛刀等貼身用品)
  7. 國際航空客運服務。

若您退貨時有下列情形,可能被認定已逾越檢查商品之必要程度而須負擔為回復原狀必要費用(整新費),或影響您的退貨權利,請您在拆封前決定是否要退貨:

  1. 以數位或電磁紀錄形式儲存或著作權相關之商品(包含但不限於CD、VCD、DVD、電腦軟體等) 包裝已拆封者(除運送用之包裝以外)。
  2. 耗材(包含但不限於墨水匣、碳粉匣、紙張、筆類墨水、清潔劑補充包等)之商品包裝已拆封者(除運送用之包裝以外)。
  3. 衣飾鞋類/寢具/織品(包含但不限於衣褲、鞋子、襪子、泳裝、床單、被套、填充玩具)或之商品缺件(含購買商品、附件、內外包裝、贈品等)或經剪標或下水或商品有不可回復之髒污或磨損痕跡。
  4. 食品、美容/保養用品、內衣褲等消耗性或個人衛生用品、商品銷售頁面上特別載明之商品已拆封者(除運送用之包裝外一切包裝、包括但不限於瓶蓋、封口、封膜等接觸商品內容之包裝部分)或已非全新狀態(外觀有刮傷、破損、受潮等)與包裝不完整(缺少商品、附件、原廠外盒、保護袋、配件紙箱、保麗龍、隨貨文件、贈品等)。
  5. 家電、3C、畫作、電子閱讀器等商品,除商品本身有瑕疵外,退回之商品已拆封(除運送用之包裝外一切包裝、包括但不限於封膜等接觸商品內容之包裝部分、移除封條、拆除吊牌、拆除貼膠或標籤等情形)或已非全新狀態(外觀有刮傷、破損、受潮等)與包裝不完整(缺少商品、附件、原廠外盒、保護袋、配件紙箱、保麗龍、隨貨文件、贈品等)。
  6. 退貨程序請參閱【客服專區→常見問題→誠品線上退貨退款】之說明。
付款/配送