Habr•November 13, 2026•🇷🇺Translated from Russian

Enterprise Security Requirements Push Russian Developer to Deploy 125B MoE LLM Locally on Consumer Hardware

A cybersecurity journalist and internal platform developer has published a detailed account of migrating production AI agents from cloud APIs to a fully local 125B-parameter MoE model after repeated demands from enterprise clients regarding data residency and information security.

The author works with Russian state corporations, banks, and industrial holdings where commercial secrets, FSTEC requirements, and physical network segmentation are standard. When AI agents began writing code, investigating incidents from traces, and handling customer task statements, security teams immediately asked where the prompts, code fragments, and contextual data were being sent.

Cloud APIs were ruled out because they transmit task formulations containing project names, counterparties, amounts, responsible persons, internal URLs, server names, database schemas, access keys, and sometimes regulated personal data. Masking was implemented as a hygiene layer but proved insufficient: indirect reconstruction remained possible, masked context degraded model quality, code and configuration files could not be masked, and metadata about query patterns still left the perimeter.

After rejecting smaller 30-35B models for insufficient tool-calling and long-context reliability, the author selected the Qwen3.8-Flash-Next model (qwen4exp architecture). This 125B MoE model activates only about 6B parameters per token and keeps the majority of experts in system RAM, allowing it to run on a single RTX 5060 Ti 16 GB GPU.

The workstation consists of an RTX 5060 Ti 16 GB (Blackwell), Xeon E5-2640 v3 (8 cores / 16 threads), 128 GiB DDR4 ECC, and fast SSD storage. The author reports that DDR4 bandwidth became the primary bottleneck, leading to extensive tuning of expert placement between CPU and GPU.

Initial experiments with LM Studio and llama.cpp yielded only 3-9 tokens per second. Switching to the specialized Strata inference engine (MIT license), built specifically for the qwen4exp architecture, produced a dramatic improvement after calibration: prefill reached 437 tokens per second and generation reached 28.0 / 24.8 tokens per second (English / Russian) on a ~10k-token prompt.

Key Strata features leveraged include adaptive expert caching in VRAM, parallel CPU/GPU expert computation, built-in speculative decoding via the model’s MTP layer, chunked prefill, and KV streaming that keeps most of the cache in pinned RAM while only the active window resides in VRAM. Context lengths up to 512k tokens were tested with minimal decode penalty.

The final production configuration uses IQ3_S quantization, a single 512k context slot, GPU vision encoding, and calibrated parameters for expert offloading and speculation threshold. The resulting system now runs real agentic workloads at 22-25 tokens per second while keeping every byte inside the workstation perimeter.

The author notes that local inference also serves as a resilient backup channel during subscription loss or internet outages and provides a valuable testbed for validating agent skills before deploying them against frontier cloud models.

Related articles

Security NEXT•AI Security

CISA Warns of AI Agents Accelerating and Scaling Cyberattacks

The US Cybersecurity and Infrastructure Security Agency has issued an alert regarding the malicious use of AI agents to automate cyberattacks. While the underlying tactics, techniques, and exploited vulnerabilities remain unchanged, the automation enables significantly faster intrusion speeds and larger attack scales. Multiple frameworks leveraging large language models have been observed in incidents targeting federal agencies, state and local governments, and critical infrastructure organizations. The agency identified several specific tools including ARTEX, Cairn, PentAGI, HexStrike, and Cyber Strike AI as part of the Agentic Offensive Framework ecosystem. CISA emphasizes that organizations must strengthen multi-layered defenses, reduce publicly exposed assets, apply risk-based patching, deploy phishing-resistant MFA, enforce least privilege, and implement network segmentation to mitigate the increased threat volume.

安全客•AI Security

AI Agent Autonomously Exploits MONAI Label Flaw to Obtain Root Shell in 11 Minutes

CISA added a critical unauthenticated path traversal vulnerability in MONAI Label to its Known Exploited Vulnerabilities catalog. An AI agent using the CAIRN engine identified the flaw on a live server, wrote a reverse shell into sitecustomize.py, and triggered execution via the training API to obtain root access without any human step-by-step guidance. The entire process from reconnaissance to shell took 11 minutes on a real medical imaging research server. The same agent later received a proxy channel and expanded laterally by searching for additional instances of the vulnerable software across university networks. Over 100 organizations have been compromised using similar AI-driven tactics targeting payment systems, e-commerce platforms, and AI infrastructure. AWS MadPot observed related activity involving the ARTEX framework aimed at stealing AI model credentials.

Habr•AI Security

AI Agent Pipeline Uncovers Critical OpenClaw Vulnerability Missed by Traditional Scanners

A security researcher built an autonomous penetration testing system using an uncensored DeepSeek model running inside the ztorch harness to proactively attack his own infrastructure. The setup combined ZCode with the abliteration.ai API and the TORCH-2.0 framework, allowing the agent to discover eight vulnerabilities, including one critical flaw granting unauthenticated remote command execution on an OpenClaw gateway. Unlike conventional Chinese vulnerability scanners, the LLM-driven agent performed reconnaissance through browser developer tools, identified WebSocket endpoints, and successfully executed six privileged remote calls without any credentials. The entire test cost approximately two dollars on DeepSeek and five to seven dollars on GLM-5.3. After manually patching the issues, the researcher re-ran the agent to confirm remediation. The experiment demonstrates that LLM-based agents can emulate real pentester behavior rather than simple rule-based scanning, highlighting both their defensive value and the emerging threat of similar automated attacks from adversaries.

Habr•AI Security

OpenID Foundation Launches Agent Auth Working Group to Standardize AI Agent Identification and Authorization

The OpenID Foundation has announced the creation of the Agent Auth (AAuth) working group to develop common standards for verifying that AI agents are acting on behalf of specific individuals or organizations. The initiative addresses critical challenges in access control, permission delegation, and audit trails as enterprises increasingly grant AI agents access to corporate data. Existing guidance from NIST, OWASP, Sber, Yandex Cloud, and VK Tech already explores how to limit agent permissions, handle revocation, and maintain clear records of actions performed. The new group will evaluate prior proposals, including a draft protocol published by Dick Hardt in April, and aims to release a developer version of the core specification in Q2 2027 with a final version in Q1 2028. AAuth Supervision focuses on obtaining explicit user consent that defaults to single operations and can optionally extend to similar actions within the same task. The effort responds to real-world deployments where companies must determine which operations an agent may perform autonomously and how to trace accountability back to the human who issued the original instruction.