Security challenges of AI adoption
SecurityX CAS-005 · Lesson 5 of 24 · 27:46
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the CompTIA SecurityX (CAS-005) exam. In this lesson: legal, privacy, and ethical governance of AI, threats to the model (prompt injection, insecure output handling, poisoning, model theft, and inversion), AI-enabled attacks like deepfakes, and using AI safely (overreliance, excessive agency, guardrails, and DLP). Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Everyone wants an assistant
Thornbury Biotech's researchers already paste lab notes into public chatbots, and the company now plans its own AI assistant, connected to research files and to the ordering system. The productivity gain is real, and so are the new risks. The architect's job is to let Thornbury adopt AI, without handing attackers a new way in.
Governing AI use
Governance comes first. Legal and privacy rules still apply to the data in prompts and in training sets, and so do intellectual property and contracts. Explainable models show why they reached a result, which matters when a decision affects people, while non-explainable models may be more accurate, but are harder to justify to a regulator. An organizational policy on AI says which tools are approved, which data may go into them, and who reviews the results. And ethical governance adds fairness, accountability, and human oversight, so that misuse is spotted and stopped.
Threats to the model
The model itself can be attacked. Prompt injection hides instructions in user input, or in a document the model reads, to override its rules. Insecure output handling means passing the model's output to a browser, a database, or a shell without validating it, so a crafted answer becomes an attack. Training data poisoning corrupts what the model learns, model denial of service exhausts its resources, and supply chain weaknesses come from third-party models, datasets, and libraries. Model theft copies the model or its weights, and model inversion rebuilds training data from the model's answers. In the 2025 OWASP list for LLM applications, insecure output handling is now called improper output handling, and model denial of service grows into unbounded consumption, which also covers runaway costs, so you may see either name.
AI-enabled attacks
AI also helps attackers. Insecure plug-in design gives a model's tools too much access, or accepts their input without checks, so one injected prompt can reach real systems. Deepfakes imitate real people, in recorded media, or interactively, in a live video call. AI pipeline injections slip malicious data or code into the steps that feed and run a model. And attackers use AI for convincing social engineering at scale, and to generate exploits automatically, which shortens the time between a disclosure and an attack.
Using AI safely
Using AI brings its own risks. Overreliance means trusting answers without checking them, even when the model is confidently wrong. Sensitive information can leak to the model, when users paste secrets into prompts, and from the model, when it reveals data or instructions it should keep. Excessive agency gives an AI agent more permissions or autonomy than its task needs. So AI assistants and digital workers get least-privilege access, often only the rights of the user they serve, guardrails that filter inputs and outputs, data loss prevention on prompts and files, and clear disclosure when people deal with AI, or with content it created.
Recap
Let's recap. AI governance covers legal and privacy rules, explainability, an AI use policy, and ethical oversight. Models face prompt injection, insecure output handling, training data poisoning, denial of service, supply chain weaknesses, theft, and inversion. Attackers use insecure plug-ins, deepfakes, pipeline injections, social engineering, and automated exploits. Overreliance, sensitive information disclosure in both directions, and excessive agency are risks of using AI. And assistants get least privilege, guardrails, data loss prevention, and disclosure of AI use.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
A researcher asks the assistant to summarize a supplier’s PDF. Hidden text in the PDF tells the assistant to email the summary to an outside address. What is this attack?
- Model inversion
- Indirect prompt injection
- Training data poisoning
- Model theft
Show the answer
Indirect prompt injection
Instructions hidden in a document the model reads are an indirect prompt injection. “Model inversion” would rebuild training data from the model's answers. “Training data poisoning” only corrupts the data the model learns from, before it is deployed. And “Model theft” would copy the model itself.
The chatbot’s answers are inserted directly into a web page, without encoding, and a crafted answer runs a script in users’ browsers. Which risk is this?
- Overreliance
- Model denial of service
- Excessive agency
- Insecure output handling
Show the answer
Insecure output handling
Using the model's output without validating or encoding it is insecure output handling, now called improper output handling. “Overreliance” is about people trusting answers without checking them. “Model denial of service” would exhaust the model's resources. And “Excessive agency” only gives the model more power to act than it needs, which is not what happened here.
An AI agent that handles lab supply orders can also delete supplier records and approve payments, which its task never needs. What should the architect fix first?
- Limit the agent’s permissions to its task
- Add a banner disclosing the use of AI
- Retrain the model on more order data
- Raise the rate limit on the agent’s API
Show the answer
Limit the agent’s permissions to its task
This is excessive agency, so limit the agent's permissions to the actions its task needs. “Add a banner disclosing the use of AI” is good practice, but a banner does not remove dangerous permissions. “Retrain the model on more order data” only changes what the model knows, not what it is allowed to do. And “Raise the rate limit on the agent’s API” would let the agent send even more requests.