Description

Sensitive information can affect both the LLM and its application context. This includes personal identifiable information (PII), financial details, health records, confidential business data, security credentials, and legal documents. Proprietary models may also have unique training methods and source code considered sensitive, especially in closed or foundation models.

LLMs, especially when embedded in applications, risk exposing sensitive data, proprietary algorithms, or confidential details through their output. This can result in unauthorized data access, privacy violations, and intellectual property breaches. Consumers should be aware of how to interact safely with LLMs. They need to understand the risks of unintentionally providing sensitive data, which may later be disclosed in the model's output.

To reduce this risk, LLM applications should perform adequate data sanitization to prevent user data from entering the training model. Application owners should also provide clear Terms of Use policies, allowing users to opt out of having their data included in the training model. Adding restrictions within the system prompt about data types that the LLM should return can provide mitigation against sensitive information disclosure. However, such restrictions may not always be honored and could be bypassed via prompt injection or other methods.

Common Examples of Vulnerability

  • PII Leakage Personal identifiable information (PII) may be disclosed during interactions with the LLM.
  • Proprietary Algorithm Exposure Poorly configured model outputs can reveal proprietary algorithms or data. Revealing training data can expose models to inversion attacks, where attackers extract sensitive information or reconstruct inputs. For instance, as demonstrated in the 'Proof Pudding' attack (CVE-2019-20634), disclosed training data facilitated model extraction and inversion, allowing attackers to circumvent security controls in machine learning algorithms and bypass email filters.
  • Sensitive Business Data Disclosure Generated responses might inadvertently include confidential business information.

Prevention and Mitigation Strategies

Sanitization

Access Controls

Federated Learning and Privacy Techniques

User Education and Transparency

Secure System Configuration

Advanced Techniques

Example Attack Scenarios

  1. #01Unintentional Data Exposure

    A user receives a response containing another user's personal data due to inadequate data sanitization.

  2. #02Targeted Prompt Injection

    An attacker bypasses input filters to extract sensitive information.

  3. #03Data Leak via Training Data

    Negligent data inclusion in training leads to sensitive information disclosure.

Reference Links

  1. Lessons learned from ChatGPT's Samsung leak: Cybernewscybernews.com
  2. AI data leak crisis: New tool prevents company secrets from being fed to ChatGPT: Fox Businessfoxbusiness.com
  3. ChatGPT Spit Out Sensitive Data When Told to Repeat 'Poem' Forever: Wiredwired.com
  4. Using Differential Privacy to Build Secure Models: Neptune Blogneptune.ai
  5. Proof Pudding (CVE-2019-20634) AVID (`moohax` & `monoxgas`)avidml.org

Related Frameworks and Taxonomies

  1. AML.T0024.000 - Infer Training Data Membership MITRE ATLASatlas.mitre.org
  2. AML.T0024.001 - Invert ML Model MITRE ATLASatlas.mitre.org
  3. AML.T0024.002 - Extract ML Model MITRE ATLASatlas.mitre.org