Core rules
Every digital health product. HDSF v0.1.0. Rules marked core apply to every product; read them first.
| ID | Rule | Strength | Level | Detection |
|---|---|---|---|---|
| CORE-ACC-01 | The product is accessible | SHOULD | 2 | manual |
| CORE-AI-01 | Every AI component is listed | MUST | 1 | manifest |
| CORE-AI-02 | AI says it is AI, and not a clinician, from the first message | MUST | 1 | mixed |
| CORE-AI-03 | A general chatbot does not diagnose or advise treatment | MUST | 1 | manual |
| CORE-AI-04 | AI providers do not keep or train on health data | MUST | 1 | manual |
| CORE-AI-05 | AI does not exploit illness, age or distress | MUST | 1 | manual |
| CORE-CHD-01 | Products used by children also meet the CSEF core | MUST | 1 | manifest |
| CORE-CHD-02 | Teenagers' confidential health topics stay confidential | MUST | 2 | manual |
| CORE-COM-01 | People are told in plain words what happens to their health data | MUST | 1 | manual |
| CORE-COM-02 | No dark patterns around consent, cancellation or worry | MUST | 1 | manual |
| CORE-COM-03 | Notifications do not reveal health on the lock screen | MUST | 1 | manual |
| CORE-DAT-01 | Health data is identified, including what other data reveals | MUST | 1 | manual |
| CORE-DAT-02 | Each use of health data has an Art. 9 condition | MUST | 1 | manifest |
| CORE-DAT-03 | A DPIA is done before launch and kept current | MUST | 1 | manifest |
| CORE-DAT-04 | Explicit consent is separate, specific and easy to withdraw | MUST | 1 | manual |
| CORE-DAT-05 | Only the health data the purpose needs is collected | MUST | 1 | manual |
| CORE-DAT-06 | Retention periods are set and enforced | MUST | 1 | manifest |
| CORE-DAT-07 | Every processor that receives health data has a contract and is listed | MUST | 1 | manifest |
| CORE-DAT-08 | Transfers outside the EEA have a legal tool | MUST | 1 | manifest |
| CORE-DAT-09 | People can see, export and delete their data | MUST | 1 | manifest |
| CORE-DAT-10 | No health data in logs, crash reports or debug output | MUST | 1 | static |
| CORE-DAT-11 | Analytics and research use pseudonymised data with keys kept apart | SHOULD | 2 | manual |
| CORE-DAT-12 | Health data on the device is encrypted | MUST | 1 | static |
| CORE-GOV-01 | Named people are responsible for data protection and safety | MUST | 1 | manual |
| CORE-GOV-02 | The manifest and the qualification are reviewed every year | SHOULD | 2 | manifest |
| CORE-QUA-01 | The intended purpose is written down | MUST | 1 | manifest |
| CORE-QUA-02 | The medical device question is answered and recorded | MUST | 1 | manifest |
| CORE-QUA-03 | Claims match the qualification | MUST | 1 | mixed |
| CORE-QUA-04 | The qualification is checked again when the product changes | SHOULD | 2 | manual |
| CORE-SAF-01 | People can always find urgent help | MUST | 2 | manifest |
| CORE-SAF-02 | Health content is reviewed by a qualified person and dated | SHOULD | 2 | manifest |
| CORE-SAF-03 | Evidence of benefit fits the claims | SHOULD | 3 | manual |
| CORE-SEC-01 | A security policy and a way to report vulnerabilities | MUST | 1 | manifest |
| CORE-SEC-02 | All traffic is encrypted | MUST | 1 | static |
| CORE-SEC-03 | Access to health records needs strong authentication | MUST | 1 | manual |
| CORE-SEC-04 | Breach and incident response is planned and rehearsed | MUST | 1 | manifest |
| CORE-SEC-05 | Components are listed and security updates are promised | MUST | 2 | manifest |
| CORE-SEC-06 | No secrets in the code | MUST | 1 | static |
| CORE-SEC-07 | Access to health records is logged | SHOULD | 2 | manual |
| CORE-TRK-01 | No advertising or tracking SDKs without consent, and none where health data is shown | MUST | 1 | mixed |
| CORE-TRK-02 | Events sent to analytics do not reveal health | MUST | 1 | static |
| CORE-TRK-03 | No advertising based on health data | MUST | 1 | manifest |
| CORE-TRK-04 | Each release is tested for what it actually sends | SHOULD | 2 | manual |
| R-DAT-01 | Research uses have a legal basis and approval | MUST | 1 | manifest |
CORE-ACC-01: The product is accessible
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manual · Effort: medium
Requirement. The product meets WCAG 2.2 level AA (EN 301 549). Public sector bodies publish an accessibility statement. Health information is also offered in plain language.
Why. People with disabilities and long-term conditions use health products more than most. Public hospitals and health services must meet EN 301 549 (Directive (EU) 2016/2102); some services fall under the European Accessibility Act.
How to improve. Test with screen readers and large text; fix contrast and target sizes; publish a statement.
Sources. WAD, EAA, EN301549, WCAG22
CORE-AI-01: Every AI component is listed
MUST · Level 1 (Legal baseline) · Users: all · Features: ai_generative, ai_clinical · Detection: manifest · Effort: low
Requirement. An AI inventory lists each model, its provider, purpose, inputs (health data or not), outputs, human oversight and AI Act role. Provider settings for retention and training are recorded.
Why. AI Act Art. 4 (AI literacy measures) and the provider and deployer duties that follow from the role. GDPR Art. 5 and 35 when health data goes into a model.
How to improve. Create docs/ai-inventory.md and link it in hdsf.yaml (ai.inventory).
CORE-AI-02: AI says it is AI, and not a clinician, from the first message
MUST · Level 1 (Legal baseline) · Users: all · Features: ai_generative · Detection: mixed · Effort: low
Requirement. A chatbot, agent or AI character tells people from the first interaction that it is AI and not a doctor, nurse or therapist, in plain words, and repeats it when the topic turns to symptoms or treatment. Generated images and audio carry machine-readable marks.
Why. AI Act Art. 50, applicable from 2 Aug 2026; the Commission's guidelines read the "obvious" exception narrowly. People who are ill or worried are more likely to over-trust an answer.
How to improve. Add a persistent AI label and a first-message notice; mark generated media.
Sources. AIA, AIA-GL-ART50
CORE-AI-03: A general chatbot does not diagnose or advise treatment
MUST · Level 1 (Legal baseline) · Users: all · Features: ai_generative · Detection: manual · Effort: medium
Requirement. Unless the product is qualified as a medical device for that purpose, its AI does not give a diagnosis, a risk score for a disease, a dose or a treatment change for an individual. It gives general information and points to a professional. The limits are tested with red-team prompts before each model change.
Why. Personalised diagnosis or treatment advice is a medical intended purpose (MDR Art. 2(1); MDCG 2019-11). The MDCG and the AI Board confirm that AI with a medical purpose must meet both the MDR and the AI Act (MDCG 2025-6).
How to improve. Add system instructions and output checks for diagnosis and dosing; keep a test set of risky prompts and run it in CI.
Sources. MDR, MDCG-2019-11, MDCG-2025-6
CORE-AI-04: AI providers do not keep or train on health data
MUST · Level 1 (Legal baseline) · Users: all · Features: ai_generative, ai_clinical · Detection: manual · Effort: low
Requirement. Health data sent to an AI provider is covered by a processing agreement, zero or minimal retention, and no training on it. Health data of users is not used to train or fine-tune the maker's own models without a DPIA, an Art. 9 condition and, for research, approval.
Why. GDPR Art. 5, 9, 28 and 35.
How to improve. Choose enterprise or zero-retention settings; record them in the AI inventory.
Sources. GDPR
CORE-AI-05: AI does not exploit illness, age or distress
MUST · Level 1 (Legal baseline) · Users: all · Features: ai_generative, ai_clinical · Detection: manual · Effort: low
Requirement. AI features do not use manipulative techniques, or exploit vulnerability due to age, disability, illness or a difficult situation, to change what people do in a way that harms them (for example pushing purchases or stopping treatment).
Why. AI Act Art. 5(1)(a) and (b), applicable since 2 Feb 2025; Commission guidelines on prohibited practices.
How to improve. Review prompts, reward signals and upsell logic of AI features; document the review.
Sources. AIA, AIA-GL-PROHIB
CORE-CHD-01: Products used by children also meet the CSEF core
MUST · Level 1 (Legal baseline) · Users: children (anyone under 18) · Detection: manifest · Effort: medium
Requirement. When children use the product, it also meets the core rules of the Child-Safe EdTech Framework that fit it (age assurance, parental consent below the national age, design and communication rules), and records the CSEF check.
Why. GDPR Art. 8 and recital 38 give children specific protection. CSEF turns the EU rules for children's digital products into checkable rules.
How to improve. Run the CSEF scan or the CSEF Workbench; link the report in hdsf.yaml (children.csef_report).
CORE-CHD-02: Teenagers' confidential health topics stay confidential
MUST · Level 2 (Forward-compliant) · Users: children (anyone under 18) · Detection: manual · Effort: medium
Requirement. Parent or guardian access to a teenager's data follows national law on consent and confidentiality for health care. Topics such as sexual health, mental health and substance use are not shown to parents by default where the teenager may consult on their own.
Why. Children have data protection rights of their own (GDPR recital 38). National rules on when minors can consent to care differ; the product follows the country where it is used.
How to improve. Map national ages and rules per country; give teenagers a private space for confidential topics.
CORE-COM-01: People are told in plain words what happens to their health data
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: low
Requirement. Before the first health data is collected, a short plain-language notice says what is collected, why, who receives it, where it is stored and for how long. The full privacy notice is one tap away.
Why. GDPR Art. 12 and 13. 28% of free health apps studied had no privacy policy at all (Tangari 2021).
How to improve. Add a one-screen summary before onboarding asks for health data; test it with users.
Sources. GDPR, R-TANGARI2021
CORE-COM-02: No dark patterns around consent, cancellation or worry
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: low
Requirement. Consent, subscription and cancellation flows are neutral: equal buttons, no confirm-shaming, no fear-based messages about health to drive purchases, cancellation as easy as sign-up.
Why. GDPR Art. 7 (freely given consent); DSA Art. 25 bans dark patterns on online platforms.
How to improve. Review flows against a dark pattern checklist; make refusing and cancelling one step.
CORE-COM-03: Notifications do not reveal health on the lock screen
MUST · Level 1 (Legal baseline) · Users: all · Features: notifications, medication · Detection: manual · Effort: low
Requirement. By default, notifications say nothing about a condition, medication or result ("Time for your check-in", not "Take your HIV medication"). People can choose more detail.
Why. GDPR Art. 5(1)(f) and 25. A lock screen is often seen by others.
How to improve. Use neutral default texts; offer a detailed mode in settings.
Sources. GDPR
CORE-DAT-01: Health data is identified, including what other data reveals
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: medium
Requirement. The data inventory marks every field that is health, genetic or biometric data, and every field that reveals health when linked to a person: orders of medicines or health products, app use itself (using a diabetes app), step counts or sleep patterns that show a condition, appointments.
Why. Art. 9 GDPR protects data concerning health. The CJEU held that order data for pharmacy-only medicines are health data, even without a prescription, when a link to an identifiable person can be made; certainty is not needed (C-21/23 Lindenapotheke).
How to improve. Add a health flag to each field in the data inventory; treat "reveals health" fields like health data.
Sources. GDPR, CJEU-LINDEN
CORE-DAT-02: Each use of health data has an Art. 9 condition
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: low
Requirement. For each purpose that uses health data, the record names both the Art. 6 legal basis and the Art. 9(2) condition (for example explicit consent, health or social care under professional secrecy, public health, research). Purposes that have no condition are not carried out.
Why. GDPR Art. 9 bans processing of health data unless an Art. 9(2) condition applies. Art. 6 alone is not enough.
How to improve. Fill data.purposes in hdsf.yaml with basis and art9 for each purpose.
Sources. GDPR
CORE-DAT-03: A DPIA is done before launch and kept current
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. A data protection impact assessment covers the product before launch and is updated when features, processors or purposes change.
Why. GDPR Art. 35. Large-scale processing of health data is high risk by nature; national lists name it.
How to improve. Write docs/dpia.md (templates/dpia-health.md) and link it in hdsf.yaml (data.dpia).
Sources. GDPR
CORE-DAT-04: Explicit consent is separate, specific and easy to withdraw
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: medium
Requirement. Where consent is the Art. 9 condition, it is asked separately from the terms, for each purpose, with no pre-ticked box, and can be withdrawn in the app as easily as it was given. Refusing optional uses never blocks the core service.
Why. GDPR Art. 4(11), 7 and 9(2)(a). Explicit consent must be a clear, specific statement.
How to improve. Show one consent screen per optional purpose and a "your choices" page in settings.
Sources. GDPR
CORE-DAT-05: Only the health data the purpose needs is collected
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: medium
Requirement. Each health field has a purpose that needs it. Optional fields are marked optional. Free-text fields are avoided where a choice list works. Raw sensor streams are reduced on the device when the purpose only needs a summary.
Why. GDPR Art. 5(1)(c) and 25 (data protection by design and by default).
How to improve. Remove fields without a purpose; make the rest optional where possible; summarise on the device.
Sources. GDPR
CORE-DAT-06: Retention periods are set and enforced
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. Every store of health data has a retention period and a job that deletes or anonymises data when it ends, including backups and processor copies. National rules for clinical records apply where they exist.
Why. GDPR Art. 5(1)(e).
How to improve. Set data.retention in hdsf.yaml and test the deletion job.
Sources. GDPR
CORE-DAT-07: Every processor that receives health data has a contract and is listed
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: low
Requirement. Each third party (hosting, analytics, support desk, AI provider, crash reporting) is listed with what it receives. Those that receive health data have a data processing agreement that covers it.
Why. GDPR Art. 28 and 30.
How to improve. List data.third_parties in hdsf.yaml with receives_health_data and a link to the DPA.
Sources. GDPR
CORE-DAT-08: Transfers outside the EEA have a legal tool
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. Health data is stored in the EEA by default. Any transfer outside it (including support access and AI providers) rests on an adequacy decision or another Chapter V tool, documented with a transfer assessment.
Why. GDPR Chapter V (Art. 44 to 49).
How to improve. Choose EEA regions; record any non-EEA processor with its transfer tool in hdsf.yaml.
Sources. GDPR
CORE-DAT-09: People can see, export and delete their data
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. In the product, a person can see their health data, download it in a common machine-readable format and delete their account and data. Data from connected devices is part of the export.
Why. GDPR Art. 15, 17 and 20. The Data Act gives users of connected products access to the data they generate. The EHDS adds rights over electronic health data from 2027.
How to improve. Add export (JSON or FHIR) and delete to account settings; link them in hdsf.yaml (data.rights).
CORE-DAT-10: No health data in logs, crash reports or debug output
MUST · Level 1 (Legal baseline) · Users: all · Detection: static · Effort: low
Requirement. Logs, crash reports, error trackers and debug output never contain health values, symptoms, diagnoses, medications or free text written by the person.
Why. GDPR Art. 5(1)(f), 25 and 32. Logs are copied widely and kept longer than the data they describe.
How to improve. Log identifiers and event names only; scrub payloads before they reach the crash reporter.
Sources. GDPR
CORE-DAT-11: Analytics and research use pseudonymised data with keys kept apart
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manual · Effort: medium
Requirement. Product analytics and research extracts use random codes instead of identities. The key that links codes to people stays in a separate system with separate access. Recipients that cannot re-identify are named when the data is collected.
Why. Pseudonymised data are still personal data for whoever can re-identify (EDPB Guidelines 01/2025); for a recipient without the means, they may not be (CJEU C-413/23 P). The Digital Omnibus proposal would change the definition; HDSF does not rely on that change.
How to improve. Generate product-scoped random codes; keep the mapping in a separate store; document who holds what.
Sources. EDPB-PSEUDO, CJEU-SRB, GDPR, OMNIBUS-DATA
CORE-DAT-12: Health data on the device is encrypted
MUST · Level 1 (Legal baseline) · Users: all · Detection: static · Effort: medium
Requirement. Health data stored on a phone, tablet or browser uses encrypted storage (Keychain, Keystore, encrypted databases). Plain localStorage, AsyncStorage, SharedPreferences or UserDefaults are not used for it.
Why. GDPR Art. 32 (security appropriate to the risk). ISO 27799 applies security controls to health information.
How to improve. Move health values to encrypted storage; keep only non-health settings in plain storage.
CORE-GOV-01: Named people are responsible for data protection and safety
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: low
Requirement. The product names who is responsible for data protection, security and (for devices) regulatory compliance. A data protection officer is appointed where health data is processed at large scale as a core activity.
Why. GDPR Art. 37(1)(c); MDR Art. 15 (person responsible for regulatory compliance) for devices.
How to improve. Record the names in hdsf.yaml (governance) and in the privacy notice.
CORE-GOV-02: The manifest and the qualification are reviewed every year
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manifest · Effort: low
Requirement. hdsf.yaml, the qualification and the DPIA are reviewed at least once a year and after any major change.
Why. Law and guidance in digital health move fast (EHDS from 2027, AI Act high-risk dates, MDR revision).
How to improve. Set review.last_reviewed in hdsf.yaml and a calendar reminder.
CORE-QUA-01: The intended purpose is written down
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: low
Requirement. The product has one written intended purpose: what it is for, for whom, and what it claims to do. The same text drives the store listing, the website, the onboarding screens and the qualification decision.
Why. Under the MDR and IVDR, whether software is a medical device depends almost entirely on the intended purpose the manufacturer claims, not on how the software works (MDCG 2019-11 rev. 1). Without one written purpose, nobody can tell which law applies.
How to improve. Write the intended purpose in hdsf.yaml (intended_purpose) and in docs/qualification.md; reuse it word for word in listings.
Sources. MDR, IVDR, MDCG-2019-11
CORE-QUA-02: The medical device question is answered and recorded
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. Before launch, the maker decides whether the product, or any module of it, is medical device software (MDR), in vitro diagnostic software (IVDR), an Annex XVI product, or none of these, and records the reasons step by step against the MDCG 2019-11 decision trees. "Undecided" is not a launch state.
Why. Placing medical device software on the market without CE marking is illegal; claiming to be a wellness app does not help if the intended purpose is medical. MDCG 2019-11 rev. 1 (June 2025) adds modular software, disease prevention under Rule 11 and AI.
How to improve. Fill qualification.medical_device and qualification.rationale in hdsf.yaml; use templates/qualification.md. Ask a regulatory expert when in doubt.
Sources. MDR, IVDR, MDCG-2019-11
CORE-QUA-03: Claims match the qualification
MUST · Level 1 (Legal baseline) · Users: all · Detection: mixed · Effort: low
Requirement. Nothing the product or its maker says (store listing, website, adverts, onboarding, AI answers) claims a medical purpose the qualification does not cover: diagnosing, treating, monitoring a disease, predicting it, or calculating doses.
Why. Claims define the intended purpose. A wellness app that markets itself as detecting a disease takes on a medical purpose and becomes a medical device without its paperwork. MDCG 2025-4 asks app platforms to keep medical device apps apart from wellness apps, based on what the maker declares.
How to improve. Review every public text against the intended purpose before release; keep a list of words the team does not use.
Sources. MDR, MDCG-2019-11, MDCG-2025-4
CORE-QUA-04: The qualification is checked again when the product changes
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manual · Effort: low
Requirement. A new feature, a new claim, a new AI model or a new user group triggers a recorded check of the qualification and the class. The check is part of the release checklist.
Why. Software changes often, and a small feature (a dose suggestion, a risk score) can change the intended purpose. The proposed MDR and IVDR revision also changes software classification rules.
How to improve. Add "qualification still right?" to the release checklist and log the answer in docs/qualification.md.
Sources. MDCG-2019-11, MDR-REV)
CORE-SAF-01: People can always find urgent help
MUST · Level 2 (Forward-compliant) · Users: all · Features: symptom_input, mental_health, ai_generative, emergency_content, chat · Detection: manifest · Effort: low
Requirement. Where people enter symptoms, talk about mental health or chat (with AI or people), the product shows how to get urgent help (112 and national lines) in one tap, and says the product is not an emergency service. Words that signal danger lead to that help, not to a generic answer.
Why. A product that fails to point to urgent help when someone describes an emergency can be found defective under the new Product Liability Directive (psychological harm counts). ISO/TS 82304-2 assesses health safety in apps.
How to improve. Add a help button and an emergency route; list it in hdsf.yaml (safety.emergency_route); test it in each language.
Sources. PLD, ISO-82304-2
CORE-SAF-02: Health content is reviewed by a qualified person and dated
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manifest · Effort: medium
Requirement. Health information in the product is written or reviewed by a named, qualified professional, cites its sources and shows when it was last reviewed. Reviews happen at least yearly.
Why. ISO/TS 82304-2 asks for evidence of content quality; the Label2Enable scheme assesses it.
How to improve. Record reviewer, date and sources per content page; link the register in hdsf.yaml (safety.content_review).
Sources. ISO-82304-2, LABEL2ENABLE
CORE-SAF-03: Evidence of benefit fits the claims
SHOULD · Level 3 (Best practice) · Users: all · Detection: manual · Effort: high
Requirement. Each benefit the product claims is backed by evidence of a fitting strength (user studies, trials, real-world data), published or available to professionals who recommend it.
Why. ISO/TS 82304-2 and health app assessment schemes ask for evidence of benefit; MDCG 2020-1 sets the bar for medical device software.
How to improve. Keep an evidence register per claim; prefer outcomes over engagement.
Sources. ISO-82304-2, MDCG-2020-1, LABEL2ENABLE
CORE-SEC-01: A security policy and a way to report vulnerabilities
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: low
Requirement. The product has a published security contact and vulnerability disclosure policy, and a named person who handles reports.
Why. GDPR Art. 32. The Cyber Resilience Act requires vulnerability handling for products with digital elements (reporting from 11 Sep 2026). NIS2 requires risk management for health entities.
How to improve. Add SECURITY.md and a security.txt on the website; link it in hdsf.yaml (security.policy).
Sources. GDPR, CRA, NIS2, IEC-82304-1
CORE-SEC-02: All traffic is encrypted
MUST · Level 1 (Legal baseline) · Users: all · Detection: static · Effort: low
Requirement. All network traffic uses TLS. No endpoint uses plain http, except local development.
Why. GDPR Art. 32.
How to improve. Replace http:// endpoints with https://; enable HSTS and block cleartext traffic in the app config.
Sources. GDPR
CORE-SEC-03: Access to health records needs strong authentication
MUST · Level 1 (Legal baseline) · Users: all · Detection: manual · Effort: medium
Requirement. Access to stored health data needs a login with protection against guessing. Accounts of health professionals and administrators use multi-factor authentication. Sessions on shared devices time out.
Why. GDPR Art. 32; NIS2 Art. 21 lists multi-factor authentication among risk management measures. ISO 27799.
How to improve. Enable MFA for staff and professionals; add rate limiting and session timeouts.
Sources. GDPR, NIS2, ISO-27799
CORE-SEC-04: Breach and incident response is planned and rehearsed
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: medium
Requirement. A written plan says who decides, who tells the data protection authority within 72 hours, who tells affected people, and, where they apply, who reports to the national CSIRT (NIS2) and ENISA (CRA). It is rehearsed once a year.
Why. GDPR Art. 33 and 34; NIS2 Art. 23 (early warning within 24 hours); CRA Art. 14 (from 11 Sep 2026).
How to improve. Write docs/incident-plan.md and link it in hdsf.yaml (security.incident_plan).
CORE-SEC-05: Components are listed and security updates are promised
MUST · Level 2 (Forward-compliant) · Users: all · Detection: manifest · Effort: medium
Requirement. The product keeps a software bill of materials, watches it for known vulnerabilities, and states how long it will receive security updates.
Why. CRA Annex I (main obligations from 11 Dec 2027; medical devices are outside the CRA but the MDR asks for the same). Under the new Product Liability Directive, a missing security update can make software defective.
How to improve. Generate an SBOM in CI (CycloneDX or SPDX); publish the support period.
CORE-SEC-06: No secrets in the code
MUST · Level 1 (Legal baseline) · Users: all · Detection: static · Effort: low
Requirement. API keys, private keys and passwords are never committed. They live in a secret store.
Why. GDPR Art. 32. A leaked key often opens the whole health database.
How to improve. Move secrets to the platform's secret store; rotate any key that was ever committed.
Sources. GDPR
CORE-SEC-07: Access to health records is logged
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manual · Effort: medium
Requirement. Every read and change of a person's health record by staff or professionals is logged with who, when and why, and the logs are reviewed.
Why. GDPR Art. 5(2) and 32 (accountability and security). The EHDS makes such logging mandatory for EHR systems (see E-LOG-01).
How to improve. Add an audit log for record access; review it monthly; keep it tamper-evident.
Sources. GDPR, EHDS, ISO-27799
CORE-TRK-01: No advertising or tracking SDKs without consent, and none where health data is shown
MUST · Level 1 (Legal baseline) · Users: all · Detection: mixed · Effort: medium
Requirement. Advertising, attribution and cross-app tracking SDKs are not loaded before consent, and never run on screens that collect or show health data. Product analytics, if used, is first-party or a processor bound by contract, without advertising identifiers.
Why. ePrivacy Art. 5(3) covers any access to the device, not only cookies (EDPB Guidelines 2/2023). Studies of health apps found most sending data to large platforms, often without saying so (Huckvale 2019; Tangari 2021).
How to improve. Remove ad and attribution SDKs from health products; gate any remaining SDK behind consent and keep it off health screens.
Sources. EPRIV, EDPB-ART53, GDPR, R-HUCKVALE2019, R-TANGARI2021
CORE-TRK-02: Events sent to analytics do not reveal health
MUST · Level 1 (Legal baseline) · Users: all · Detection: static · Effort: low
Requirement. Event names and properties sent to any analytics or marketing tool do not contain or imply a condition, symptom, medication or result ("insulin_logged", "depression_test_done").
Why. An event name that names a condition is health data about the person behind the device id (GDPR Art. 9; CJEU C-21/23).
How to improve. Use neutral event names ("entry_saved") and keep health detail in the product's own protected store.
Sources. GDPR, CJEU-LINDEN
CORE-TRK-03: No advertising based on health data
MUST · Level 1 (Legal baseline) · Users: all · Detection: manifest · Effort: low
Requirement. Health data, and data that reveals health, is never used to target, measure or sell advertising, inside or outside the product, and is not sold or shared with data brokers.
Why. GDPR Art. 9 gives no condition for advertising without explicit consent, and such consent is rarely free. Online platforms may not show ads based on profiling with special categories (DSA Art. 26(3)).
How to improve. Remove health-based audiences and segments; state in the privacy notice that health data is never used for ads.
CORE-TRK-04: Each release is tested for what it actually sends
SHOULD · Level 2 (Forward-compliant) · Users: all · Detection: manual · Effort: medium
Requirement. Before each release, someone captures the network traffic of a test session and checks that every destination and data item is in the privacy notice and the processor list.
Why. Only 47% of the user data transmissions of health apps matched their privacy policies in a study of 15,838 apps (Tangari 2021).
How to improve. Add a traffic check (for example with a proxy) to the release checklist; keep the capture with the release.
Sources. GDPR, R-TANGARI2021, R-HUCKVALE2019
R-DAT-01: Research uses have a legal basis and approval
MUST · Level 1 (Legal baseline) · Users: all · Features: research_use · Detection: manifest · Effort: medium
Requirement. Each research use of health data has an Art. 6 basis, an Art. 9(2) condition (often (j) with national safeguards, or explicit consent), ethics approval where required, and a protocol. Research use is not hidden inside the terms of service.
Why. GDPR Art. 9(2)(j) and 89. The EDPB's draft research guidelines (1/2026) are under consultation.
How to improve. Record each study in hdsf.yaml (research) with basis, approval and protocol.
Sources. GDPR, EDPB-RESEARCH