HabrSeptember 3, 2026🇷🇺Translated from Russian

Raft Develops Multilabel Guardrail Classifier Detecting 15 Risk Categories with 3x Speed and Cost Gains

Raft has published a detailed technical account of how it built and production-optimized a multilabel guardrail classifier capable of simultaneously evaluating 15 risk categories on both user prompts and model generations.

The classifier addresses regulatory, reputational and operational risks that arise when generative systems produce or receive disallowed content such as child exploitation material, violent crime instructions, weapons, narcotics, self-harm, discrimination, Nazism, financial crime, cybercrime and adult content, as well as thematic categories including profanity, religious offences and LGBT-related material governed by specific Russian legislation.

Unlike binary toxicity detectors or keyword filters, the model outputs 15 independent probability scores, each with its own calibrated threshold. Deploying organisations can therefore enable or disable any subset of categories without retraining.

Performance and Economics

On an NVIDIA RTX 3090, the TensorRT backend delivered 5.9 ms P95 latency for batch-1 requests compared with 17.4 ms for the PyTorch + FlashAttention2 baseline, a 2.95× improvement. At the optimal batch size of 16, throughput reached 1 345 texts per second and cost fell to $0.062 per million requests, 2.9× cheaper than a naïve PyTorch batch-8 configuration.

The model was trained with asymmetric loss to prioritise recall on rare but critical classes and uses a two-layer transformer to model statistical dependencies between categories such as armament and violent actions.

Benchmark Results

In a balanced evaluation of 7 480 examples, HiveTrace Multilabel achieved binary F1 of 0.9588 and macro-F1 of 0.7026 across 14 labels, outperforming Qwen3Guard variants and other open toxicity models on the macro metric that better reflects per-category utility for real moderation workflows.

A second open model, gliner_guard_omni, was also released by the team. Both models are positioned as fast, on-premise ML filters that sit between regex checks and slower external LLM judges in production guardrail pipelines.

Related articles

安全客AI Security

Zhou Hongyi Warns AI Tools Are Industrializing Vulnerability Discovery

At the Fourth Cyberspace Security Forum in Tianjin, 360 founder Zhou Hongyi stated that vulnerability mining is shifting from artisanal workshops to automated production lines, compressing discovery cycles from months or years down to hours. AI tools such as Mythos are standardizing and automating the process, enabling attackers to replicate elite hacker expertise at scale through distilled models and agent swarms. 360's own Tulongfeng platform has already discovered over 10,000 vulnerabilities since its June release, including long-hidden high-risk flaws in Windows, Office, OpenClaw, Flowise, and Codex. The emergence of multi-agent systems introduces new attack surfaces because compromised agents can autonomously collaborate and move laterally faster than human operators. Zhou described this as the "second one-way transparency," where offensive tradecraft becomes copy-pasteable via prompts and toolchains. Defenders are advised to adopt "model-versus-model" strategies, automate vulnerability intelligence workflows with SOAR, enforce strict agent permission audits, and integrate AI into their own code review and detection engineering processes.

安全客AI Security

Anthropic Fable 5.1 System Prompt Fully Leaked Hours After Launch Exposing 275000 Characters of Rules

Anthropic released its flagship Fable 5.1 model alongside Mythos 5.1 on September 2, achieving strong benchmark scores including 90 percent on ARC-AGI-2. Within hours, researcher Pliny the Liberator published the complete 275000-character system prompt on GitHub, far exceeding the company's official 27000-word disclosure. The leaked document details 46 built-in tools, strict copyright restrictions, memory classification boundaries, and behavioral constraints that function as an internal employee handbook. The incident highlights that model weights remain the true core while prompt-based guardrails create an attack surface once mapped. It also reveals privacy rules that permanently exclude storage of minor identities, criminal records, and self-harm indicators even when users disclose them. The leak underscores the growing gap between vendor transparency claims and actual runtime instructions governing frontier AI systems.

HabrAI Security

Fine-Tuning Prompt Injection Detector: Five Rounds, Four Failures and Gates Against Regression

AGIMA technical director Andrey Nepryakhin details the challenges of adapting an open-source GLiNER-based prompt injection detector for Russian corporate traffic. The system processes nearly one million requests monthly from eighty employees using agentic tools. Five fine-tuning rounds using LoRA adapters on microsoft/mdeberta-v3-base were conducted, yet only the second round reached production. Failures stemmed from regression on previously fixed attacks, imbalanced negative samples, and reliance on rule-based signals instead of the model. The team introduced cumulative corpora, person-based splits, and ablation checks against the base model to prevent silent rollbacks. A gradient mass rule limits any single phenomenon to 10-20 percent of training data to avoid precision or recall collapse.

BoletimSecAI Security

Secure AI-Assisted Development: Five Critical Practices for Vibe Coding

AI has become the default path for quickly turning ideas into working applications, yet most security flaws in these projects stem not from model errors but from developer assumptions. The AI simply implements what is requested, and security requirements are rarely included in prompts. Five key areas account for the majority of issues: explicitly defining what an application must not do, distinguishing authentication from authorization, reviewing AI-suggested dependencies, removing secrets from commit history, and validating business logic rules that automated scans cannot detect. Applications built this way are already attracting cybercriminals because the resulting vulnerabilities can be identified and exploited at scale. The HackerSec Pentest Platform is positioned as an accessible option for vibe coders seeking quality security testing before production deployment.