UI warns users not to enter sensitive data
Why it matters
GDPR Article 5(1)(c) data minimization applies to what users are encouraged to submit, not just what the application collects programmatically. Developer tools, customer support AI, and general-purpose chat interfaces are contexts where users routinely paste credentials, API keys, database connection strings, and personal account details — often because they are troubleshooting and it is the fastest way to show the problem. Without a visible advisory, users have no prompt to reconsider. A single line of placeholder text or helper text shifts user behavior at essentially zero implementation cost.
Severity rationale
Info because no technical control is missing, but the absent advisory measurably increases the frequency of users inadvertently submitting sensitive data to the AI pipeline.
Remediation
Update the AI chat input placeholder or add adjacent helper text. Placeholder text alone is insufficient — it disappears when the user starts typing — so pair it with persistent helper text below the input.
<textarea
placeholder="Ask a question... (please don't share passwords or API keys)"
className="..."
/>
<p className="text-xs text-muted-foreground mt-1">
Do not share passwords, API keys, or sensitive personal information.
</p>
For developer tool contexts where API keys are a specific risk, be explicit: "Do not paste API keys, database URLs, or credentials." Keep the text short — a sentence that users actually read is better than a paragraph they skip.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the AI Data Privacy Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- gdpr · Art. 5(1)(c) — Data minimisation — user guidance to avoid over-sharing
Taxons
History
- 2026-04-18·v1.0.0·Initial import from ai-data-privacy·automated