HSCP-R-041 · recipe · Security
Check with canaries what a third party really does with the data sent to it
Written entry, version 0.1, checked on 2026-12-04.
At a glance
| Implements | HSCP-G-004 Govern third parties that receive data or run code |
|---|---|
| Case | Instantiates: applies an existing practice to a context. |
| Context | health software that sends data to a third party, in particular an AI model through an API, a model gateway or a remote MCP server, under a no-retention or no-reuse commitment |
| Surfaces |
|
| Verification | review |
Scope: The recipe checks part of what the third party does: consultation or reuse of a received content. It proves neither erasure nor the absence of retention, and replaces neither the contract nor the register of third parties.
When
The register of third parties (HSCP-R-006) says what each third party keeps, according to its contract and its statements. For an AI model called through an API, the request often goes through several intermediaries (gateway, model host, their subprocessors), and a no-retention commitment cannot be observed from outside. The recipe serves to check, on fictitious data, what really happens to a request once it has left: before choosing a provider, at each change of path or provider, and at regular intervals afterwards.
Public example, November 2026. Between July and November, Dragos researchers sent nearly two million test requests to AI services, each carrying unique addresses and identifiers. At one provider, more than half of the addresses were later visited, and about two thirds for requests sent under a no-retention commitment. Several hundred of the mapped circuits went through unidentified systems. The provider explained that a monitoring tool opened the links contained in the requests (IT for Business, 30/11/2026, in French).
How
- Make canaries, never from real data: a unique web address per sending, on a domain the team controls and that serves no other purpose; a fictitious identifier in the format of an access key, without any rights; a fictitious patient whose name and identifier exist nowhere else. Each canary is sent only once, to a single third party, by a single path.
- Slip them into realistic requests, on the product's real path (gateway, API key, region, retention options), so that the canary follows the route of real data.
- Keep the register of canaries: canary, third party, sending path, date, applicable commitment (retention, reuse, region).
- Monitor any access to the canary address, any appearance of the fictitious identifier or name in a search engine, a public repository, a published leak, or any attempt to use the fake key. Note the date, the origin and the delay since sending.
- Conclude per third party, in a dated report: canaries sent, canaries triggered, delay, origin. A canary triggered on a path under a no-retention commitment is a gap, entered in the register of third parties with its decision: ask for an explanation, change option or path, reduce what is sent (HSCP-R-007), remove the third party.
- Start again at each change of provider, gateway or option, and at a set interval.
Examples
Fictitious register:
| Canary | Third party and path | Commitment | Triggered | Decision |
|---|---|---|---|---|
| unique address no. 1 | model A, direct, Union region | no retention | no, after 60 days | nothing to do, redo each quarter |
| unique address no. 2 | model A, through a gateway | no retention | yes, on day 3, origin outside the Union | gap: ask for the explanation, go direct in the meantime |
| fake access key no. 3 | model B | reuse excluded | attempted use on day 24 | gap: remove the third party |
Verification
- Review: each third party that receives health data has at least one canary report less than a year old, and each triggered canary has its decision.
- Review of the log: accesses to canary addresses are collected at the set frequency, with no gap in dates.
Evidence produced
The register of canaries, the access log, the dated report per third party with its decisions.
Evidence items
Each item attests the recipe at a given date. Frequency given for a product in service.
- Register Register of canaries: canary, third party, date and sending path, applicable commitment
- Log extract Log of accesses to canaries: date, origin, canary triggered
- Written record Dated report per third party: canaries sent, canaries triggered, delay, decision
Own mappings
In addition to those of the practice:
| Identifier | What the recipe adds |
|---|---|
rgpd_2016_679/art28-p3 |
a way to check, in addition to the contractual audit, that the processor only processes the data on instructions |
has_cnil_ia_soins_2026_11/2.P2 |
a check of the technical chain and of the conditions under which the provider and its subprocessors reuse the data |
Versions
| Version | Status | Date |
|---|---|---|
| 0.1 | Draft | 2026-12-04 |
How to cite: “Health Software Common Practices”, HSCP-R-041, version 0.1, https://healthtechpractices.org/en/recettes/hscp-r-041/, under the CC BY-NC-SA 4.0 licence. Licence