Sensitive category of personal data stored
Partialmedium severity · reads .ts .tsx .js .jsx .mjs .cjs .py .sql .prismaBeta
Religion, ethnicity, sexual orientation, political views, union membership, health and genetic data may not be processed unless a specific exception applies. Marked Partial: the exception is a decision outside the code. When Lintsure finds this, it marks it as Partial: it may be fine, depending on context only you can confirm.
What it looks like
A line Lintsure flags in its own test app:
// web/schema.sql
religion TEXTHow to fix it
Check that you need this field at all. If you do, write down the Art. 9 exception you rely on, usually explicit consent, and limit who can read it.
Through a coding agent, Lintsure suggests the change and waits. Nothing is edited until you approve it.
Controls it relates to
- GDPRArt. 9Special categories of personal data
What the framework asks
GDPR Art. 9: Sensitive data
Health, biometric, ethnic, religious, political, sexual and union data is off-limits unless a specific exception applies.
Evidence a reviewer may ask for: The exception you rely on.
Summaries are our own reading of the public texts, not the official wording.
Check your code for this
Runs on your machine. Your code is never uploaded.
npx lintsure scanThis rule is in Beta: its mapping to framework controls is our own reading of the public texts, not independently reviewed. Lintsure is a readiness tool, not an audit or legal advice. A finding, or the lack of one, doesn't make you compliant. Disclaimer
We improve these rules all the time. If you see a false alarm, a missed problem or anything that could work better, tell us in a review and we will use it to improve your experience.
Related rules
- Personal data written to logs
- Secret or private key committed to source
- Data sent over plain HTTP
- Personal data sent to an analytics or tracking tool
Did this rule flag something that's fine, or miss a real problem? Tell us on GitHub. Every report becomes a test case, so the same mistake can't come back.