The US government Cybersecurity and Infrastructure Security Agency (CISA) has been working with the UK’s National Cyber Security Centre (NCSC) and other partners to produce some guidelines for developing secure AI technologies.
Guidelines for secure AI system development – NCSC.GOV.UK
Even if you are not in AI the document has some interesting points that can be applied to the development of other projects and code.
Clive Catton MSc (Cyber Security) – by-line and other articles