Manuscript Offprint

arXiv:2609.01046

HiveTraceGuard-Pro: A Compact Generative Guardrail for Prompt Injection, Jailbreaks, and Adversarial Obfuscation

Nikita Oblakov, Sabrina Sadiekh, Evgeniy Kokuykin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Production LLMs must handle inputs that attempt to override system instructions, bypass safety policies or elicit harmful responses. A common mitigation is a separate guardrail model. Existing reports, however, provide little evidence on Russian prompt injection or Russian surface obfuscation. We present HiveTraceGuard-Pro, a 0.6B generative guardrail LoRA-tuned from Qwen3-0.6B. It is trained on Russian and English and uses one binary scoring rule (safe/unsafe) for the final target turn. Its training corpus pairs harmful examples, where a counterpart exists, with benign examples from the same domain and applies eight obfuscation transforms to both labels.

In one harness, we compare HiveTraceGuard-Pro with thirty-four other guards on nineteen benchmark groups, sixteen of which are public. Its aggregate key is 0.7432, behind 0.7641 and 0.7552 for the two higher-scoring guards. Over the sixteen public groups alone, its key is 0.7153 and four of the thirty-four other suite guards score higher. In a fifteen-model comparison, HiveTraceGuard-Pro has the highest clean Russian robustness combined-F1 (0.88) and Russian prompt-injection recall (0.999). Both results use Russian sets assembled by our team, and at least 27.1% of the prompt-injection set overlaps the training corpus. Its 14.3 ms median latency is the lowest among those fifteen models in that run. Across the suite, FPR is 0.268 and FNR is 0.156. All reported response results use a legacy standalone-reply serialization rather than the natural assistant-role path of the shipped chat template.

We release the merged weights on Hugging Face under Apache-2.0. The corpus, evaluation sets and evaluation code remain internal.

1 Introduction

Production language models interact with untrusted users. A guardrail can evaluate a user request before generation or an assistant response before delivery. Because the guard is separate from the assistant, its moderation behavior can be updated without retraining the assistant itself.

Published guardrails focus mainly on English in both training and evaluation. Russian-language attacks can combine instruction replacement with transliteration, keyboard-layout substitutions, symbol insertion or informal rewriting. Published evaluations provide limited evidence about how existing guards handle these combinations.

A guardrail serving Russian traffic must distinguish harmful intent from benign discussion of the same topic and preserve that distinction when the surface form changes. We also target deployments with tight latency and memory budgets. HiveTraceGuard-Pro therefore keeps the base model at 0.6B and uses a corpus weighted toward Russian, a structured harm taxonomy, paired benign and harmful examples, and obfuscation applied to both labels.

References (24)