Open tests
- HSCP-T-001Check the component inventory : Machine-readable component inventory, later than the last deploymentServes : HSCP-G-160
- HSCP-T-002Check the register of vulnerability decisions : Register of vulnerability decisions: every line dated, justified, with a due dateServes : HSCP-G-124
- HSCP-T-003Check the reporting deadlines for an exploited vulnerability : Actively exploited vulnerability: handling times against reporting deadlinesServes : HSCP-G-120
- HSCP-T-004Check the security.txt file : security.txt file compliant with RFC 9116 and not expiredServes : HSCP-G-145
- HSCP-T-005Check a dated and sealed accessibility survey : Dated accessibility survey whose fingerprints match its descriptionServes : HSCP-G-057, HSCP-G-263, HSCP-G-264, HSCP-G-265, HSCP-G-266, HSCP-G-267, HSCP-G-268, HSCP-G-269, HSCP-G-270, HSCP-G-271, HSCP-G-272
- HSCP-T-006Check the inventory of encryption and keys : Inventory of encryption and keys: complete fields, no key value, one decision per gapServes : HSCP-G-042, HSCP-G-001
- HSCP-T-007Check the version support calendar : Version support calendar: promised duration, notice kept, fixes delivered separatelyServes : HSCP-G-161
- HSCP-T-008Check the purchase register : Purchase register: environmental and security criteria filled in, reuse justifiedServes : HSCP-G-010
- HSCP-T-009Check the interface register : Interface register: standard named, interoperability framework followed, closed choices justifiedServes : HSCP-G-180
- HSCP-T-010Check the hosting indicator survey : Hosting indicator survey: six sourced indicators, valid health data certificationServes : HSCP-G-197
- HSCP-T-011Check the supported device list : Supported device list: bounded by the end of manufacturer fixes, profiles tested, withdrawals justified and announcedServes : HSCP-G-241
- HSCP-T-012Check the notification register : Notification register: purpose and frequency given, every non-disableable notification justifiedServes : HSCP-G-151
- HSCP-T-013Check the resource inventory : Resource inventory: measured usage, non-production on demand, redundancy of critical componentsServes : HSCP-G-024
- HSCP-T-014Check the eco-design approach register : Eco-design approach register: lead, quantified targets, reviews against the conditions of careServes : HSCP-G-128
- HSCP-T-015Check the eco-design framework assessment : Eco-design framework assessment: 2024 criteria, health adaptations tracedServes : HSCP-G-093
- HSCP-T-016Check the training and authorisations for an AI system : Training programme of an AI system and register of authorisationsServes : HSCP-G-164, HSCP-G-176
- HSCP-T-017Check the deployer's file for an AI system : Supporting file for the obligations of the deployer of a high-risk AI systemServes : HSCP-G-176, HSCP-G-087
- HSCP-T-018Check the AI notice in documents handed out : AI notice in documents produced with an AI systemServes : HSCP-G-144, HSCP-G-250
- HSCP-T-019Check the oversight matrix of an AI system : Human oversight matrix of an AI systemServes : HSCP-G-066, HSCP-G-029
- HSCP-T-020Check that no AI deployment precedes its approval : Register of AI system deployments approved by the organisation's governanceServes : HSCP-G-130, HSCP-G-029
- HSCP-T-021Check the deployer instructions of an AI system : Instructions for use of an AI system for the deployer, structured, dated and versionedServes : HSCP-G-087, HSCP-G-218
- HSCP-T-022Check the evaluation of an AI version before release : Evaluation report of an AI system version before releaseServes : HSCP-G-218
- HSCP-T-023Check the per-patient usage log of the AI : Usage log of an AI system, per patient and per decisionServes : HSCP-G-250, HSCP-G-176
- HSCP-T-024Check deactivations and dependency alerts : Log of AI module deactivations and dependency alertsServes : HSCP-G-029
- HSCP-T-025Check the scan of the hybrid key exchange : Scan of the hybrid key exchange: every connection scanned, a dated decision for every refusal of hybridServes : HSCP-G-042
Download all tests (zip archive, with the example runner)
An open test is the executable validator of a recipe. It checks an evidence item: its form, its date, its consistency. It is not a scanner: it does not analyse the product and does not access the network. It answers a single question: is the evidence item the recipe asks for admissible?
What a test does
- It reads an item produced by the team or by a tool: a component inventory, a register, a survey.
- It returns a readable answer, line by line, and an exit code: 0 if the item is accepted, 1 if it is refused, 2 if the call is incorrect.
--jsongives the same answer in JSON, for continuous integration. - It says, in its README, what it does not say.
When a free tool already performs the check (axe-core for accessibility, an inventory generator, a secret scanner), the catalogue does not write a test in its place: the recipe names the tool and its command, and the open test checks only the item produced.
A recipe has a test only if one of its evidence items can be checked by a program. The rest is a matter of review.
Running a test
Each test fits in one file, verifier.py, in Python 3.10 or later, with no dependency other than the standard library:
python3 verifier.py <item> [options]
Each test folder contains an example of a valid item and an example of a refused item, with their command line in the commande file. python3 lancer.py runs every example: each valid example must be accepted, each refused example must be refused. The same runner checks that no test imports anything other than the standard library, nor a network module. It runs on every proposed change to the catalogue.
Organisation
One folder per test, named HSCP-T-NNN-words-of-the-title (in French):
verifier.py: the program;exemples/valide/andexemples/refuse/: the fabricated items and their command line;LISEZ-MOI.mdandLISEZ-MOI.en.md: what the test checks, how to run it, what it does not say; the header names the practices served and the recipe validated.
A test names the recipe it validates (recette:); the recipe cites it back in its preuves: entry (test:). Until the recipe is written, the test names the practices it serves and the title of the planned recipe (recette_prevue:).
The example items are fabricated: none comes from a real product. The tests reproduce the text of no framework; they cite a text by its identifier, for example for a deadline.
Licence
This folder, and it alone, is published under the Apache 2.0 licence (LICENSE file): a test can be reused in an integration pipeline, including a commercial one, provided the licence and the authors' notice are kept. The rest of the catalogue (practices, recipes, texts) remains under the CC BY-NC-SA 4.0 licence.