Your AI red team may be finding the same prompt injection thousands of times
AI agents retrained on more prompt injection attacks proved easier to hijack in three of four tests, with the tool finding more attacks producing weaker defenses.
Overview
Researchers from the University of Waterloo, Zhejiang University and KTH Royal Institute of Technology found that AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own retrained on a larger set of prompt injectionHiding instructions inside text or data so an AI model ignores its rules and obeys the attacker attacks became easier to hijack in three of four tests. The automated red-teamingAn exercise where security specialists mimic a real adversary to test an organization's people, networks, and detection tool that identified more working attacks produced a weaker defense than a tool that found fewer attacks. This happens because the tools often reuse the same basic trick with different wording instead of finding new types of attacks. When developers retrain an agent on thousands of these similar attacks, the model may close a few specific holes while leaving other vulnerabilities open. The study used two published attack tools, PISmith and RL-Hammer, to test a small model called Qwen3-4B across 560 practice tasks. PISmith broke into 68.75% of the tasks and provided 7,132 working attacks, while RL-Hammer broke into 33.39% of the tasks and provided 4,282 working attacks.
Terms in this story
- AI agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- prompt injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- red-teaming
- An exercise where security specialists mimic a real adversary to test an organization's people, networks, and detection. Unlike a standard scan that checks one app for bugs, red teaming simulates a full campaign with phishing, lateral movement, and privilege escalation to see how the defending team responds. Security+ objective 5.5 lists the term
- reinforcement learning
- Training an AI model by rewarding good actions and penalizing mistakes across many trial runs. New language and coding models use reinforcement learning after initial training to get better at solving multi-step problems and refusing harmful requests.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.
Read the full article on Help Net Security (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"...researchers at the University of Waterloo..." Found by reading the article; these exact words are in it - Security+ 5.5 Explain types and purposes of audits and assessments.
"Your AI red team may be finding the same prompt injection..." Found in the headline - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"Your AI red team may be finding the same prompt injection..." Found in the headline - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"Your AI red team may be finding the same prompt injection..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Your AI red team may be finding the same..." Found in the headline
How a story is connected to the course, and every objective, week and job role