Wojciech Radziewicz
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Wojciech Radziewicz has a total of 4 co-authors. Here are the top co-authors by number of shared publications:
- Lukasz Kwasniewicz
Institute of Computer Science, Maria Curie-Sklodowska University, Akademicka 9, 20-033 Lublin, Poland
1 shared publication - Maciej Chopcian
University of Opole, Institute of Computer Science
1 shared publication - Marek Baranowski
Department of Computer Science, Opole University of Technology
1 shared publication - Michal Podpora
Institute of Computer Science, University of Opole, Oleska 48, 45-052 Opole, Poland
1 shared publication
Latest Publications
- Open Access
- 21 December 2025
- Published by MDPI AG in Applied Sciences
- Vol. 16 (1) , 85
LLM Firewall Using Validator Agent for Prevention Against Prompt Injection Attacks
Large Language Models with Retrieval-Augmented Generation are considered to be modern, chat-native interfaces to enterprise knowledge. However, deploying such systems safely requires precautions more advanced than input filtering. Numerous LLM-related security threats (including the top one: prompt injection attacks) demand robust defense mechanisms beyond input filtering. This paper extends our dual-agent RAG architecture as an LLM firewall with output-level security validation. Similar to network firewalls, which monitor semantic boundaries, we position the Validator Agent as a response firewall performing multi-feature security checks: prompt injection detection, policy compliance verification, sensitive information redaction, and toxic content filtering. While existing defense approaches focus mainly on input-level screening, our architecture proposes to analyze the output, where a successful attack becomes more obvious. The proposed architecture was verified to be viable using the Polish Bielik 2.3 LLM in an on-premise RAG system designed for energy auditing.
- 21 December 2025
- Published by MDPI AG in Applied Sciences
- Vol. 16 (1) , 85
Open AccessLLM Firewall Using Validator Agent for Prevention Against Prompt Injection Attacks
Large Language Models with Retrieval-Augmented Generation are considered to be modern, chat-native interfaces to enterprise knowledge. However, deploying such systems safely requires precautions more advanced than input filtering. Numerous LLM-related security threats (including the top one: prompt injection attacks) demand robust defense mechanisms beyond input filtering. This paper extends our dual-agent RAG architecture as an LLM firewall with output-level security validation. Similar to network firewalls, which monitor semantic boundaries, we position the Validator Agent as a response firewall performing multi-feature security checks: prompt injection detection, policy compliance verification, sensitive information redaction, and toxic content filtering. While existing defense approaches focus mainly on input-level screening, our architecture proposes to analyze the output, where a successful attack becomes more obvious. The proposed architecture was verified to be viable using the Polish Bielik 2.3 LLM in an on-premise RAG system designed for energy auditing.