low · M6 · MASVS-PRIVACY-1 · PTKD-API-PII-IN-RESPONSE
PII in a response over a cacheable/first-party channel
A response carrying personal data was returned without cache-control: no-store, so it can persist in shared caches or on disk.
How it is exploited
A response carrying personal data was returned without Cache-Control: no-store, so it can persist in an intermediary or on-device cache. Later access to that cache reveals the personal data.
Why it matters
Personal data lingers in caches beyond the request, widening its exposure and complicating deletion obligations.
How to fix it
- Set Cache-Control: no-store on every response that contains personal data.
- Minimize the personal data returned to what the screen actually needs.
Does your app have this?
PTKD checks your build or your source project for PTKD-API-PII-IN-RESPONSE and every other check in this knowledge base.
Scan your appReferences
Related checks (M6)
- Supabase view in the public schema exposes auth.users
- Ads start before the user's consent (text search)
- Device/user PII sent to a third party
- Google Play restricted or sensitive permission
- Privacy manifest has invalid keys or values
- Missing Apple privacy manifest (PrivacyInfo.xcprivacy)
- Required-reason API used without a declared reason
- Third-party tracker not disclosed in the privacy manifest