Prompt-Injection Defense for Kazakh-Language LLM Assistants

Introduction. In applications developed upon the basis of large language models the developer instructions and untrusted user text reside in one channel, which makes them vulnerable to prompt injection attack. Protection mechanisms in regard to Kazakh have not been sufficiently explored yet. Aim and objectives. This paper discusses a multilayer protection mechanism applied to a local assistant built upon Llama 3.2 3B. The research includes evaluating protection usability cost as well as studying the effectiveness of monitoring and a human factor when the proposed system was operationalized. Results. Against 615 attack samples the attack success rate dropped from 19.0% to 0% when protection measures were applied at the 3rd level of the proposed system (95% confidence interval 0 - 0.6%). Out of 150 Kazakh attack samples the attacks failed against the last level although the difference with the third level is not statistically significant. The false rejections of Kazakh benign samples dropped from 52% to 24%. Monitoring revealed a language shift but missed an attack detection. Conclusion. The results indicate that the suggested protection is applicable only for a narrow pilot involving an operator. Due to small samples, single model and simulated user behavior, the obtained conclusions can not be generalized.

Authors

Publication Details

Journal
Figshare
Published
2026-11-29
DOI
https://doi.org/10.6084/m9.figshare.35151538
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Prompt-Injection Defense for Kazakh-Language LLM Assistants

Bilyal Surli
1 links
Figshare
Adversarial Robustness in Machine Learning
article

Prompt-Injection Defense for Kazakh-Language LLM Assistants

Bilyal Surli
article en

Abstract

Introduction. In applications developed upon the basis of large language models the developer instructions and untrusted user text reside in one channel, which makes them vulnerable to prompt injection attack. Protection mechanisms in regard to Kazakh have not been sufficiently explored yet. Aim and objectives. This paper discusses a multilayer protection mechanism applied to a local assistant built upon Llama 3.2 3B. The research includes evaluating protection usability cost as well as studying the effectiveness of monitoring and a human factor when the proposed system was operationalized. Results. Against 615 attack samples the attack success rate dropped from 19.0% to 0% when protection measures were applied at the 3rd level of the proposed system (95% confidence interval 0 - 0.6%). Out of 150 Kazakh attack samples the attacks failed against the last level although the difference with the third level is not statistically significant. The false rejections of Kazakh benign samples dropped from 52% to 24%. Monitoring revealed a language shift but missed an attack detection. Conclusion. The results indicate that the suggested protection is applicable only for a narrow pilot involving an operator. Due to small samples, single model and simulated user behavior, the obtained conclusions can not be generalized.

Figshare
Peace, justice, and strong institutions
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Prompt-Injection Defense for Kazakh-Language LLM Assistants — Bilyal Surli · Figshare (2026) | TGRS Research Map | TGRS