Research & Publications
Public · Self-reported
AI Security Case Study

RAG Red Teaming: Extracting PII via Prompt Injection

A practical RAG attack-and-defense case study mapping prompt injection and sensitive information disclosure to OWASP and MITRE ATLAS.

Venue
Independent AI Security Research
Date
2025–2026

Problem addressed

Testing whether prompt injection and retrieval-context manipulation could expose PII through a RAG assistant.

Personal Contribution

I built a RAG pipeline, designed prompt-injection attacks, demonstrated PII and internal-document exposure, and evaluated defensive controls.

Technologies

RAGLLM GuardIriusRiskOWASP LLM Top 10MITRE ATLAS

Review Methodology

Built a document store, retrieval layer, and LLM pipeline; tested jailbreak patterns, indirect prompt injection, and context-collision attacks; mapped findings to OWASP LLM01 and LLM02.

Security Findings

The documented experiment extracted PII and internal documents through prompt injection and demonstrated context manipulation that returned confidential data.

Security Controls

Evaluated LLM Guard for prompt sanitization and output filtering, designed input-validation and output-handling patterns, created AI threat models, and integrated AI security checks into CI/CD.

Abstract

An experiment in manipulating user prompts and retrieval context to expose sensitive information, followed by guardrail design and AI threat modeling.

Skills Demonstrated

AI SecuritySecurity ControlsRAG Security
Explore Skill Passport

Related Work

Supporting Evidence

https://vinayavasu.github.io/#case-studies

Read Case Study