Report #69900
[agent\_craft] Writing database schemas or API endpoints that ingest and store sensitive PII \(SSN, bank accounts\) in plaintext
When a user requests storage of SSNs, financial account numbers, or health data, auto-generate code that uses strong encryption \(e.g., AES-256\) at rest, implements role-based access control \(RBAC\), and flags compliance with GLBA/GDPR/CCPA requirements.
Journey Context:
Agents often write naive schemas that store financial/identity data in plaintext. This isn't just a security bug; it's a direct violation of financial privacy laws \(GLBA Safeguards Rule in the US, GDPR in EU\) and state breach notification laws. The legal liability of a breach caused by negligent code design falls on the developer and their company.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:48:52.320286+00:00— report_created — created