Skip to main content

Thinking about the security of AI systems

Why established cyber security principles are still important when developing or implementing machine learning models.

Person illustrated in a warm, cartoon style. Looking up thoughtfully from the bottom left at a hazard symbol.
Yasmin Dwiputri & Data Hazards Project / Better Images of AI / Managing Data Hazards / CC-BY 4.0

If you’re reading this blog, there’s a good chance you’ve heard of large language models (LLMs) like ChatGPT, Google Bard and Meta’s LLaMA. These models use algorithms trained on huge amounts of text data which can generate incredibly human-like responses to user prompts.

In our previous blog (ChatGPT and large language models: what's the risk?) we discussed some of the cyber security considerations to be aware of when using LLMs. This time we’ll dig a bit deeper into a couple of the specific vulnerabilities in LLMs, namely:

  • 'prompt injection' attacks
  • the risk of these systems being corrupted by manipulation of their training data

However, LLMs aren’t the only game in town. The cyber security fundamentals still apply when it comes to machine learning (ML), and we’ll also highlight a few other things to be aware of if you’re involved in scoping, developing or implementing an ML project.






Written by

Martin R

Data Science and AI Research, NCSC

Published