Securing AI Applications: High-Impact Risks fro...

Mert Metin
December 05, 2026

Securing AI Applications: High-Impact Risks from the OWASP AI

Securing AI Applications: High-Impact Risks from the OWASP AI

GDG İzmir - Devfest İzmir 26'
05.12.2026

Tepekule Kongre, Sergi ve İş Merkezi - Bayraklı, İzmir

Mert Metin

December 05, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

25 slides
  1. About me Senior Software Engineer & Scrum Master Blogger &

    Speaker Interests mrtmtn #dotnet, #web, #softwarearchitecture, #securesoftware, #cleancode, #systemdesign Blogcu Mühendis mertmtn.blogspot.com
  2. Four High-Impact Risks We Will Cover 01 02 03 04

    LLM01:2026 LLM02:2026 LLM03:2026 LLM05:2026 Prompt Injection Sensitive Information Disclosure Excessive Agency Data and Model Poisoning
  3. LLM01:2026 Prompt Injection Occurs when input to an LLM (user

    prompts, retrieved content, tool output) alters its behavior in unintended ways. There is no architectural distinction between instructions and data in an LLM (both are tokens in the same stream)
  4. LLM01:2026 Prompt Injection Prompt Injection Types Direct Indirect When a

    user's direct input alters the model's behavior. Typing a message to chatbox. When LLM processes input from external sources (files, web pages) that contains hidden instructions designed to manipulate the model
  5. LLM01:2026 Prompt Injection Prevention Strategies Constrain Model Behavior Use declarative

    allow and deny rules for the model's role and capabilities. Define and Validate Output Require a strict output schema and validate every response in trusted code, not with a second LLM call. Filter Every Input Channel Filter text, image and audio inputs, strip invisible Unicode, and pass external content as labeled data. Human-in-the-loop Require explicit approval for privileged, irreversible or external actions, and show the exact action.
  6. LLM01:2026 Prompt Injection Scenario: CV Evaluation Setup An LLM screens

    and ranks candidate CVs for a recruiter. Attack and impact A candidate splits hidden instructions across CV fields. No single field looks malicious, but the model recombines them and skews the ranking. How to prevent Treat CV content as untrusted data, validate output in code, keep a human reviewer for the final decision.
  7. LLM02:2026 Sensitive Information Disclosure Occurs when an LLM system exposes

    confidential, regulated or proprietary data through a channel its owner did not authorize. Tool-call arguments, reasoning traces, retrieved chunks, logs and embeddings can all leak PII, credentials, trade secrets and model data. Sensitive data includes PII, financial, health, business, security and legal data.
  8. LLM02:2026 Sensitive Information Disclosure Common Vulnerabilities Training Data Memorization Inference-Time

    Disclosure Logs and Platform Leaks Models and fine-tunes can reproduce memorized PII, URLs or credentials from their training data. Over-shared RAG data, reasoning traces and tool arguments expose private content in live sessions. Observability tools log full prompts and traces. Exposed logs leak API keys and personal data.
  9. LLM02:2026 Sensitive Information Disclosure Prevention Strategies Govern and Sanitize Data

    Classify corpora and scrub PII at ingest. Use classifiers and named entity recognition, not regex alone. Protect Logs and Traces Scrub traces before observability ingestion, treat reasoning as output, and enforce no-train and noretain. Minimize Context Send the model only the fields a task needs. Disable automatic full-record context. Keep Secrets Out of Prompts Never store credentials, API keys or regulated data in system prompts.
  10. LLM02:2026 Sensitive Information Disclosure Scenario: Internal HR Policy Bot Setup

    A RAG assistant answers HR questions, but the whole HR folder (bonuses, disciplinary records) is indexed with no per-user access control. Attack and impact An intern asks for average bonuses by department. The bot summarizes the confidential files: a GDPR / KVKK breach. How to prevent Authorize before retrieval. Enforce document- and chunk-level access in the index query; fix the data surface, not the model.
  11. LLM03:2026 Excessive Agency Excessive Agency enables damaging actions in response

    to unexpected, ambiguous or manipulated LLM output. Describes an AI system with too much autonomous decision-making power or access to act on its own.
  12. LLM03:2026 Excessive Agency Common Vulnerabilities Excessive Functionality Excessive Permissions Excessive

    Autonomy Tools expose functions the task never needs, such as a read tool that can also modify or delete. Tools connect with overprivileged identities, such as SELECT plus UPDATE and DELETE rights. High-impact actions run without independent verification or user approval.
  13. LLM03:2026 Excessive Agency Prevention Strategies Minimize Tools Offer the agent

    only the tools it needs. If it never fetches URLs, give it no fetch tool. Minimize Tool Permissions Grant only the access a tool needs, such as read-only on a products table, enforced by database permissions. Minimize Tool Functionality A mailbox summarizer should only read emails, not send or delete them. Require User Approval Ask a human to approve high-impact actions, such as posting or sending on the user's behalf.
  14. LLM03:2026 Excessive Agency Scenario: Hijacked Email Assistant Setup An assistant

    summarizes a user's mailbox, but its mail tool can also send messages. Attack and impact A crafted incoming email (indirect prompt injection) makes the agent forward sensitive data to the attacker. How to prevent Use a read-only tool and OAuth scope, require review of every send, and rate limit sending.
  15. LLM05:2026 Data and Model Poisoning Poisoning manipulates data or model

    artifacts to embed harmful behavior, bias or backdoors into an AI system. It can happen at any stage: pre-training, fine-tuning, embeddings, RAG and model distribution.
  16. LLM05:2026 Data and Model Poisoning Common Vulnerabilities Training Data Poisoning

    RAG and Memory Poisoning Tampered Model Artifacts Biased or malicious data in pre-training or fine-tuning plants backdoors. Poisoned documents, web content or agent memory entries steer answers and persist across sessions. Backdoored weights and chat templates from public hubs change behavior or run code.
  17. LLM05:2026 Data and Model Poisoning Prevention Strategies Protect RAG Pipelines

    Enforce trust boundaries, score and filter retrieved content, and verify it before it shapes answers. Validate Incoming Data Vet third-party sources, validate all new data, and fine-tune on curated domain datasets. Detect Anomalies Monitor training loss, outputs and drift against thresholds across training, embedding and inference pipelines. Control Retraining Version data (DVC) for rollback, and gate automated feedback loops with validation, human oversight and rate limits.
  18. LLM05:2026 Data and Model Poisoning Scenario: Poisoned Feedback Loop Setup

    A model keeps learning from user feedback through an automated retraining pipeline. Attack and impact An attacker submits crafted inputs through the normal interface. The model slowly drifts toward lower accuracy, bias or unsafe output. How to prevent Validate incoming data, keep humans in the retraining loop, rate limit feedback and monitor drift.
  19. KEY TAKEAWAY Wrapping Up Four risks, one shared idea 01

    Prompt Injection Steers the model 02 Sensitive Information Disclosure 03 Excessive Agency 04 Data and Model Poisoning Leaks the wrong data Performs the wrong action Writes all of it into the model, permanently SHARED LESSON The LLM is an untrusted component. Treat security as a layered system architecture, not a model-level feature: prompts, RAG pipelines, tool use, data sources and human oversight, all together.
  20. What to Do on Monday Morning? 1 2 List your

    agents' tools and cut back each one's permissions. Verify the source of the models and data artifacts you use. 3 4 Scrub secrets from logs and system prompts. Put irreversible actions behind a human.

More Decks by Mert Metin

Other Decks in Technology