Security for LLM Agents
Safer Assistance
© Lead Image © buraratn, 123RF.com
Agentic LLM systems are susceptible to attack. We'll show you some steps you can take to mitigate the risk.
Agentic large language models (LLMs) offer a radically new approach to developing software by coordinating an entire ecosystem of agents in an imprecise conversation. This completely new way of working poses significant security risks, particularly due to manipulated prompts. A blog post [1] by renowned security specialist Bruce Schneier illustrates the problems: "We simply don't know how to defend against these attacks. We have zero agentic AI systems that are secure against these attacks. Any AI that is working in an adversarial environment – and by this I mean that it may encounter untrusted training data or input – is vulnerable to prompt injection. It's an existential problem that, near as I can tell, most people developing these technologies are just pretending isn't there."
To keep abreast of these risks, we comb through research articles written with a deep understanding of modern LLM-based tools and regularly summarize our findings in a blog [2], with the goal of providing an easy-to-understand practical overview of security issues and mitigations related to agent-based LLMs. Many risks are associated with agentic LLMs, and the technology is changing rapidly. It is therefore important to understand the risks and learn how to mitigate them whenever possible.
Agentic LLMs – a Definition of Terms
Artificial intelligence (AI) is changing rapidly, making its terms difficult to pin down. The term AI in particular is overused to cover everything from machine learning through LLMs to artificial general intelligence. The term agentic AI refers to LLM-based applications that can act autonomously. In order to act autonomously, AI agents extend the basic LLM model to include internal logic, loops, tool calls, background processes, and sub-agents. An agentic LLM taps a large number of data sources and can trigger activities with side effects (Figure 1).
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
-
New Vulnerability Discovered in Linux Kernel
Hiding out for nearly 15 years, the Ghostlock vulnerability allows a standard logged-in user to gain root privileges.
-
New Linux Flaw Lets Attackers Escape VMs
A 16-year-old vulnerability allows an attacker to escape a virtual machine, gain access to the host, and execute malicious code.
-
Hannah Montana Linux Is Back!
Developer Noah Cagle decided the world needed the once obscure but beloved Linux distribution and gave it a decidedly pink refresh.
