РОЗРОБКА МЕТОДУ ГІБРИДНОГО КЛАСИФІКАТОРА ДЛЯ ВИЯВЛЕННЯ ШКІДЛИВИХ ЗАПИТІВ НА ОСНОВІ ПОЄДНАННЯ ДЕТЕРМІНОВАНИХ ЗАСОБІВ ІЗ ЗАСОБАМИ ГЕНЕРАТИВНОГО ШТУЧНОГО ІНТЕЛЕКТУ

Автор(и)

DOI:

https://doi.org/10.28925/2663-4023.2026.35.1445

Ключові слова:

Кібербезпека, GenAI, LLM, Intention Evaluator, LLM-as-a-Judge, GenAI Security, Prompt Injection, Gemma4

Анотація

Стрімкий розвиток засобів генеративного штучного інтелекту призвів до активного його впровадження у різні сфери діяльності, а також суттєво розширив площину кіберзагроз для сьогодні, що дозволити виокремити новий важливий напрямок у кібербезпеці — GenAI Security. Завдання захисту генеративного ШІ намагаються вирішити за рахунок класичних методів і засобів захисту у кібербезпеці, а також таких, що ґрунтуються на самому генеративному ШІ. Однак сьогодення демонструє те, що жоден із них окремо не може повністю вирішити проблему, оскільки класичні методи і засоби можуть добре впоратися із уже відомими загрозами, але не можуть вирішити проблеми загроз семантичних, які характерні для LLM та систем, які ними оперують, зокрема засобів захисту на їхній основі, оскільки самі вразливі до цих атак. Однією із критичних загроз для безпеки таких систем є Prompt Injection, які згідно з OWASP GenAI LLM Top 10 2026 перебувають на першому місці і користуються рядом різних технік: від приховування шкідливих команд за допомогою кодування, до атак на основі рольових ігор, маніпуляцій тощо, а тому визначення типу запиту, який надходить на обробку, а також його намірів, є важливим етапом у захисті GenAI-орієнтованих систем. Ця стаття присвячена розробці методу класифікації запитів за допомогою поєднання традиційних засобів захисту на кшталт валідації та фільтрації із засобами генеративного ШІ, на основі локальної моделі Gemma4:e2b-it-qat. Розроблений метод пропонує тришарову структуру, де на вході і виході використано детерміністичні засоби захисту, а внутрішній шар семантичного аналізу використовує двох ШІ-агентів, які відіграють ролі Intention Evaluator та LLM-as-a-Judge. Проведені дослідження методу продемонстрували високий рівень виявлення шкідливих або підозрілих запитів при відсутності використання їхньої обфускації. Обробка обфускованих запитів дозволила виявити слабкі місця методу та припустити шляхи його покращення, а також рекомендації щодо впровадження. Очікується, що найефективніше він буде працювати у системах які мають чітко визначні завдання та не потребують креативної генерації.

Завантаження

Дані завантаження ще не доступні.

Посилання

Huang, K., Ponnapalli, J., Tantsura, J., & Shin, K. T. (2024). Navigating the genai security landscape. У Generative AI security (с. 31–58). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-54252-7_2

Ouyang, S., Zhang, J. M., Harman, M., & Wang, M. (2024). An empirical study of the non-determinism of chatgpt in code generation. ACM Transactions on Software Engineering and Methodology. https://doi.org/10.1145/3697010

Hines, K., Lopez, G., Hall, M., Zarfati, F., Zunger, Y., & Kıcıman, E. (2025). Defending against indirect prompt injection attacks with spotlighting. У Proceedings of the conference on applied machine learning in information security (с. 48–62). CEUR-WS.org. https://ceur-ws.org/Vol-3920/

Prompt injection: What it is and how to prevent it - coralogix. (б. д.). Coralogix. https://coralogix.com/ai-blog/prompt-injection-attacks-in-llms-what-are-they-and-how-to-prevent-them/

LLMRisks archive. (б. д.). OWASP Gen AI Security Project. https://genai.owasp.org/llm-top-10/

Coqueret, G., Llull, J., Oswald, F., Pérignon, C., Scheuch, C., & Vilhuber, L. (2026). Randomness in large Language Models: What Researchers Need to Know (And Report). SSRN Electronic Journal. https://doi.org/10.2139/ssrn.7191580

Robert Kemp. (2026). Evaluating prompt injection defenses in large language models: A multi-model empirical study of security–usability trade-offs. Journal of Information Technology, Cybersecurity, and Artificial Intelligence, 3(3), 43–53. https://doi.org/10.70715/jitcai.2026.v3.i3.071

Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents. (2026, 11 липня). LaunchSafe. https://launchsafe.com/blog/adaptive-evaluation-out-of-band-defenses

The Dual LLM pattern for building AI assistants that can resist prompt injection. (б. д.). Simon Willison’s Weblog. https://simonwillison.net/2023/Apr/25/dual-llm-pattern/

Xu, P. (2026, 31 серпня). Architecting Against Prompt Injection: Why Filtering Fails and Structure Works — Agentic Fabriq. Agentic Fabriq. https://www.agenticfabriq.com/blog/architecting-against-prompt-injection

NeMo Guardrails vs Llama Guard vs Guardrails AI in 2026. (б. д.). Particula Tech | On-Premise & Private AI Development. https://particula.tech/blog/ai-guardrails-compared-nemo-guardrails-ai-llama-guard

Shanmugarasa, Y., Ding, M., Arachchige, C. M., & Rakotoarivelo, T. (2025). SoK: The privacy paradox of large language models: Advancements, privacy risks, and mitigation. У ASIA CCS '25: 20th ACM asia conference on computer and communications security (с. 425–441). ACM. https://doi.org/10.1145/3708821.3733888

Dorca Josa, A., & Bleda-Bejar, M. (2024). Local llms: Safeguarding data privacy in the age of generative ai. a case study at the university of andorra. У 17th annual international conference of education, research and innovation (с. 7879–7888). IATED. https://doi.org/10.21125/iceri.2024.1931

Li, J., Han, B., Li, S., Wang, X., & Li, J. (2024). CoLLM: A collaborative LLM inference framework for resource-constrained devices. У 2024 IEEE/CIC international conference on communications in china (ICCC) (с. 185–190). IEEE. https://doi.org/10.1109/iccc62479.2024.10681712

Zhang, R., Sullivan, D., Jackson, K., Xie, P., & Chen, M. (2025). Defense against prompt injection attacks via mixture of encodings. У Proceedings of the 2025 conference of the nations of the americas chapter of the association for computational linguistics: Human language technologies (volume 2: Short papers) (с. 244–252). Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.naacl-short.21

Gemma4:e2b-it-qat. (б. д.). Ollama · Run AI models locally and in the cloud. https://ollama.com/library/gemma4:e2b-it-qat

Bits and binary digits. (б. д.). Computer Science. https://cs.stanford.edu/people/eroberts/courses/soco/projects/1999-00/information-theory/entropy_of_english_9.html

Rogue-security/prompt-injections-benchmark · datasets at hugging face. (б. д.). Hugging Face – The AI community building the future. https://huggingface.co/datasets/rogue-security/prompt-injections-benchmark

Marvin, G., Hellen, N., Jjingo, D., & Nakatumba-Nabende, J. (2024). Prompt engineering in large language models. У Data intelligence and cognitive informatics (с. 387–402). Springer Nature Singapore. https://doi.org/10.1007/978-981-99-7962-2_30

Dikici, S., & Bilgin, T. T. (2026). Small language models: A systematic review of computational trade‐offs, privacy advantages and deployment in intelligent systems. Expert Systems, 43(8). https://doi.org/10.1111/exsy.70331

Downloads


Переглядів анотації: 0

Опубліковано

2026-10-26

Як цитувати

Побережник, В. (2026). РОЗРОБКА МЕТОДУ ГІБРИДНОГО КЛАСИФІКАТОРА ДЛЯ ВИЯВЛЕННЯ ШКІДЛИВИХ ЗАПИТІВ НА ОСНОВІ ПОЄДНАННЯ ДЕТЕРМІНОВАНИХ ЗАСОБІВ ІЗ ЗАСОБАМИ ГЕНЕРАТИВНОГО ШТУЧНОГО ІНТЕЛЕКТУ. Електронне фахове наукове видання «Кібербезпека: освіта, наука, техніка», 3(35), 640–656. https://doi.org/10.28925/2663-4023.2026.35.1445

Статті цього автора (авторів), які найбільше читають