It’s been reported that NHS Digital / England will reverse course on publishing the source code and close their public repos on Github.
Throughout my time working for the UK Government — in GDS, NHSX, i.AI, and others — I championed Open Source. I spoke to dozens of departments about it, wrote guidance still in use today, and briefed Ministers on why it was so important.
That’s why I’m beyond disappointed at recent moves from NHS England to backtrack on all the previous commitments they’ve made about the value of open source to the UK’s health service.
Terence Eden, NHS Goes To War Against Open Source
This is a great shame. Working in the public sector, one of the principles is that we code in the open, as public money pays for public code. Whilst sometimes this might not always be practical, to withdraw previously open repositories does seem like a regressive step. The NHS own service standard states that new code should be open source by default, to allow others to build upon it and to establish trust in digital services. This is particularly important at a time when more services move to digital first and there is significant debate on digital sovereignly and how we are becoming dependent on US tech firms. During the coronavirus pandemic NHSx developed a contact tracing app, and having that developed as open source was seen as important to encourage adoption, although as Terrace points out in another blog post and video, that brought it’s own complications.
The reason stated for closing the repositories is that with new AI coding agents like Claude Mythos, having open source code is now more risky. I’m in agreement with others that this is probably closing the stable door after the horse has bolted. Also there is still some scepticism around the Mythos announcement. I do wonder whether the aforementioned experience of open sourcing the contact tracing app might have something to do with it. Security wise, wouldn’t we do better following existing protocols around responsible disclosure and app sandboxing instead of reverting to security through obscurity.
There is currently a petition open to keep public NHS repositories open. I also hope there are efforts underway to archive the public NHS repos, are the organisation may see sense and change tact. I seem to remember that during the development of the contact tracing app, the NHSx team contributed improvements to the underlying bluetooth service used by Apple and Google that was at the core of the service. Both the Gov.uk and NHS digital services have been hugely helpful in pushing the idea of sharing public code and encouraging others to open source their own repositories and providing work to build on. In a public sector that is increasingly looking at cross organisation collaboration going dark seems like a backwards move.