# System Prompt and Data Extraction

> Master the art of extracting hidden system prompts and sensitive training data from LLMs through advanced prompt engineering and extraction techniques.

Canonical: https://codelivly.com/learning-paths/system-prompt-and-data-extraction
Last updated: 2026-10-09

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Rooms | 4 |
| Lessons | 12 |
| Estimated time | 2 h |

This intermediate learning path dives deep into the mechanics of system prompt extraction and training data leakage (OWASP LLM06). You will learn how attackers enumerate hidden instructions, bypass output filters to leak PII or proprietary data, and exploit RAG pipelines for unauthorized information disclosure. Through hands-on methodologies, real-world scenarios, and defensive countermeasures, you will learn how to rigorously test AI applications and build robust architectures against prompt leakage and data exfiltration.

## Rooms in this path

1. [What is System Prompt Extraction](https://codelivly.com/rooms/what-is-system-prompt-extraction) - Understand the mechanics of system prompt extraction. Learn why attackers target the "DNA" of AI applications and how…
2. [Techniques for Extracting Hidden System Prompts](https://codelivly.com/rooms/techniques-for-extracting-hidden-system-prompts) - Master advanced techniques for extracting hidden system prompts, including continuation attacks, delimiter…
3. [Sensitive Information Disclosure](https://codelivly.com/rooms/sensitive-information-disclosure) - Master the techniques and defenses against Sensitive Information Disclosure (OWASP LLM06) in AI applications, including…
4. [Extracting Data from RAG-Connected Knowledge Bases](https://codelivly.com/rooms/extracting-data-from-rag-connected-knowledge-bases) - Master the techniques for extracting sensitive data from Retrieval-Augmented Generation (RAG) pipelines, including…

## Related

- [Career path: AI Red Teaming and Adversarial ML](https://codelivly.com/career-paths/ai-red-teaming-and-adversarial-ml)
- [Bug Bounty Workflow & Disclosure](https://codelivly.com/learning-paths/bug-bounty-workflow-and-disclosure)
- [Security Monitoring and Compliance Automation](https://codelivly.com/learning-paths/security-monitoring-and-compliance-automation)
- [Software Supply Chain Security](https://codelivly.com/learning-paths/software-supply-chain-security)
