Everyone talks about hallucinations. Fewer people talk about what attackers can do to your AI application.
10 Risks to Add to Your AI Threat Model
- Indirect prompt injection: A malicious instruction hidden in a web page, PDF, or email that your AI reads, and then obeys.
- Data exfiltration through rendered output: If the model can output a markdown image or link, an attacker can trick it into embedding private data in a URL that gets sent to their server.
- Insecure output handling: Model output is untrusted input. Rendering it as HTML, or passing it into a SQL query or shell command, is a classic vulnerability wearing new clothes.
- Excessive agency: An assistant with permission to send emails, delete records, or run code has a large blast radius when it's manipulated.
- Poisoned knowledge bases: If anyone can upload to your RAG index, anyone can influence your answers.
- Cross-tenant leakage: Missing filters in the vector search return another customer's data.
- Denial of wallet: Attackers don't need to crash you. They just send expensive requests until your API bill does the damage.
- Leaky logs: Full prompts and responses stored in plain text.
- Exposed keys: LLM API keys in frontend code or public repos.
- Supply chain risk: Unvetted models, plugins, and packages pulled into your stack.
Which of these is missing from your threat model?
LinkedIn Post Snippet & Hashtags
Share this key insight directly with your LinkedIn network: