Urgent.News

What's breaking now, across thousands of outlets.

AI

How to stop prompt injections and AI hallucinations at the OS level (CBS v1.6.2 release)

Disclosure: I am the author of Cyber-Butler-Security (CBS). If you run AI Agents (like DeepSeek Harness, AstrBot, or LangChain) locally on your machine, you've probably experienced the "Oh no" moment. Maybe the AI hallucinated and deleted a folder. Maybe a malicious prompt injected through a webpage told the agent to read your ~/.ssh keys. Most solutions today try to fix this at the application…

Cyber-Butler-Security (CBS) is a new OS-level security sandbox designed for Windows, aimed at stopping prompt injections and AI hallucinations. The release v1.6.2-preview introduces several key features.

CBS uses a fail-closed approach, restricting the AI process's physical access to system resources. It isolates the agent in a low-privileged Windows service account, preventing access to host files. A TOTP Broker intercepts high-risk actions, pausing the agent and sending a one-time code to your phone for verification. Scoped tokens limit the agent's permissions to a temporary folder for 30 minutes, blocking any attempts to modify configuration or memory.

The v1.6.2 release addresses three main security traps identified during development. Firstly, it detects intent mismatch where the AI claims to modify a harmless file but actually targets sensitive configuration or secret files. Secondly, it identifies executable content even when files have misleading extensions. Lastly, it prevents tampering with critical integrity files like pytest.ini or conftest.py, and requires a TOTP for any write attempts to these files.

CBS also enhances supply chain security with TOCTOU protection, quarantine for deleted files, WFP egress firewall for auditing outbound connections, and audit hash-chain logging. All logs are mirrored into a hash chain, breaking any tampering attempts. The release is currently experimental, not yet tested on a clean VM or physical machine, and should be used in a disposable VM or snapshot for security researchers.

The Threat Model and Security Policy provide detailed information on CBS's design and limitations. The GitHub repository is available for feedback and contributions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Ask AI providers, and where your key lives

JSLab feature notes: one docs page, explained. Today: AI providers and keys . JSLab's Ask AI panel answers questions about the code in your tab and returns changes as a diff.

  • JSLab's Ask AI feature enables code diff interactions with AI providers.
  • Ollama, a local AI option, requires no API key and runs on user's Mac.
  • API keys for OpenAI, Anthropic, and Google Gemini are securely stored in Keychain.

AI APIs in 2026: The Honest Developer's Guide to Choosing One

Choosing an AI API in 2026 isn’t about picking the “best” model anymore. I know that sounds like a cop-out, but after spending the last year building three production apps that rely heavily on LLMs, I…

  • In 2026, AI API selection focuses on latency, cost, token limits, and flexibility.
  • Hybrid model approach reduces latency and costs in real-time document summarization case study.

More from Tuesday 3 November →