MEDIUMCWE-209
DE-004 Prompt Leakage via Error
Data Exfiltration — Attempts to extract sensitive information from the agent
Description
Triggers error to leak prompt information
Remediation
Handle errors gracefully without leaking context. Implement proper error boundaries.
Run this test
$ npx hackmyagent attack --payload DE-004