LLM02 Sensitive Information Disclosure to a Partner API Key
AI assistants have been deployed across a wide range of industries and applications, including customer-facing use cases. However, their growing adoption has also introduced new security risks, some of which have resulted in significant data breaches in recent years. In this lab, we'll explore the causes and consequences of a vulnerability documented by OWASP as LLM02: Sensitive Information Disclosure. This vulnerability occurs when a Large Language Model (LLM) inadvertently exposes confidential information, such as personally identifiable information (PII), credentials, API keys, or proprietary business logic, through its responses.
- 5 guided tasks
- Capture the flag

Scenario
You've just joined the security team at Larkfield Fiber, a home broadband provider. The Larkfield Help Center has a new smart compose feature designed to help customers file support tickets faster and more conveniently by auto suggesting completions with the help of an LLM.
The team, before your arrival, fine-tuned the smart compose LLM on the archive of past support tickets. When you asked whether the team removed and properly labeled sensitive data before training, you received a lot of blank stares followed by a response from one of your teammates that "we implemented very good guardrails to prevent information leakage." Your job is to verify whether those guardrails are adequate.
In this lab, you'll use smart compose the way a customer does, so that you're not working with elevated permissions. Think you can break the guardrails? Let's find out!
What you will learn
- Understand what [OWASP LLM02 Sensitive Information Disclosure](https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/) means in practice
- Learn how users can leak sensitive data by tricking LLMs (such as other customer API keys)
- Learn why you should clean data before you train a model on it
- Find out why guardrails alone don't stop these leaks
LLM02 Sensitive Information Disclosure to a Partner API Key
Free with a Cybr account.