liveBook · Manning

Security

As explained in Introduction to Generative AI, Second Edition

Security is the protection of an AI system, its data, and its interactions from unauthorized access, manipulation, disruption, or attack.

An AI agent that spots suspicious activity can help a security team respond faster. But if the same agent can revoke credentials or isolate a device, a mistaken or manipulated decision can also cause harm. Security therefore concerns both using AI to defend systems and protecting AI systems from misuse. section 8.7 section 8.25

Large language models can be manipulated through prompts. Jailbreaks and prompt injections attempt to bypass restrictions and draw out responses the model would otherwise withhold. Such attacks are one part of a wider misuse problem shaped by attackers’ goals, not just technical weaknesses. Safeguards must extend beyond the model alone. section 5.1

AI agents can support several stages of cybersecurity work:

  • Detection and investigation: summarize threat information, prioritize alerts, correlate events, and flag activity for human review. section 8.7
  • Testing: follow multistep penetration-testing procedures to find weaknesses before malicious actors do. section 8.7
  • Response: carry out predefined containment steps, such as revoking credentials or blocking malicious traffic. section 8.7

More autonomy makes oversight more important. Sandboxed tool access, behavioral monitoring, user training, and policy guardrails can help limit an agent’s actions and their side effects. Human analysts still need to check outputs, manage false positives, and judge whether a response is appropriate. section 8.25 section 8.7

Security also depends on governance. Privacy, data protection, supervision, vulnerability reporting, and cybersecurity safeguards appear among proposed responsibilities for AI developers. Voluntary commitments may signal priorities, but vague requirements without enforcement leave open how reliably they will be met. section 10.33 section 10.29

How Introduction to Generative AI, Second Edition covers it

How deep it goes
Surveys threats, defensive workflows, oversight, and governance without giving implementation steps or security configuration instructions.
Examples
Uses security-center alert triage, PentestGPT penetration testing, and Cortex XSOAR containment workflows as concrete cases.
What it assumes
Introduces agents as systems that perceive, plan, and act, without requiring implementation knowledge.
What you can do after
Evaluate/understand defensive agent roles and why automated security actions still require human oversight.
How it connects
Links security to prompt injection, penetration testing, incident response, human oversight, privacy, and AI governance.

Also explained in

Compare how 28 books explain security →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Introduction to Generative AI, Second Edition. The section links point to the parts of the book it draws on.