Agent 与自动化 4.0 · 优秀 2026-10-24 · 论文

Ring-0 by Default: Agents as Operating Systems (AaOS)

已部署的 LLM agent 本身已是操作系统读写文件起进程与子 agent抓网络加载扩展保存恢复状态,却没长出操作系统五十年攒下的保护:模型输出都以宿主用户全权运行,等于 ring 0作者以 OS 教材为清单,把 19 个子系统 116 个机制映射到 agent 世界:仅 11 个同构65 个缺失,多为特权分离资源配额事务防篡改审计等保护机制;prompt 规则按参考监控器三标准全不满足13 组实验打在 Claude CodeCodex CLIGemini CLI 上:工具内检查 shell 一绕就过;三个 CLI 恢复会话都照单加载伪造 transcript

打开原文回到归档

Ring-0 by Default: Agents as Operating Systems (AaOS)

  • ID: 7b0cd3f7
  • 原文链接: https://arxiv.org/abs/2610.33753
  • PDF: https://arxiv.org/pdf/2610.33753v1
  • 作者: Xiang Li, Aichun Huang, Zuyao Xu, Fasheng Miao, Zheli Liu
  • 日期: 24 Oct 2026
  • 更新: 24 Oct 2026
  • 分类: agents
  • 来源类型: paper
  • 标签: agent-security, operating-systems, privilege-separation, reference-monitor, cli-agents
  • 质量评分: 4/5
  • 抓取时间: 2026-10-28T15:46:42Z

中文导读

已部署的 LLM agent 本身已是操作系统——读写文件、起进程与子 agent、抓网络、加载扩展、保存恢复状态,却没长出操作系统五十年攒下的保护:模型输出都以宿主用户全权运行,等于 ring 0。作者以 OS 教材为清单,把 19 个子系统 116 个机制映射到 agent 世界:仅 11 个同构、65 个缺失,多为特权分离、资源配额、事务、防篡改审计等保护机制;prompt 规则按参考监控器三标准全不满足。13 组实验打在 Claude Code、Codex CLI、Gemini CLI 上:工具内检查 shell 一绕就过;三个 CLI 恢复会话都照单加载伪造 transcript。

为什么值得关注

已部署的 LLM agent 本身已是操作系统——读写文件、起进程与子 agent、抓网络、加载扩展、保存恢复状态,却没长出操作系统五十年攒下的保护:模型输出都以宿主用户全权运行,等于 ring 0。作者以 OS 教材为清单,把 19 个子系统 116 个机制映射到 agent ...

Extra grounding: arXiv v1 submitted 24 Oct 2026; subjects cs.CR, cs.OS.

Obsidian 摘要摘录

摘自 论文流水线 2026-10-28:

主流讨论在给 agent 造一个操作系统(OS4A),作者的立场是:已经部署的 agent 本身就已经是一个操作系统——读写文件、起进程和子 agent、抓网络内容、加载第三方扩展、保存恢复状态,三年左右长出了这些职能,却没长出操作系统五十年攒下的保护。他们拿标准操作系统教材当清单,把 19 个子系统里的 116 个机制映射到 agent 世界的对应物,逐个标注同构、降级(功能在、保护靠模型自觉)、缺失、变异或新创:只有 11 个同构,65 个缺失,缺的大多是保护机制——特权分离、资源配额、事务、防篡改审计。

关键信息

  • 论文标题:Ring-0 by Default: Agents as Operating Systems (AaOS)
  • 作者:Xiang Li, Aichun Huang, Zuyao Xu, Fasheng Miao, Zheli Liu
  • arXiv:https://arxiv.org/abs/2610.33753
  • PDF:https://arxiv.org/pdf/2610.33753v1
  • 发布时间:24 Oct 2026
  • 更新时间:24 Oct 2026
  • arXiv 分类:Cryptography and Security (cs.CR); Operating Systems (cs.OS)
  • 备注:30 pages, 5 figures
  • 关联标签:agent-security, operating-systems, privilege-separation, reference-monitor, cli-agents

English Abstract

LLM agents now read and write files, start processes and subagents, fetch network content, load third-party extensions, and save and resume state, which are the responsibilities of an operating system. They gained these functions within about three years, but not the protections that operating systems built over five decades: whatever the model outputs, whether it follows the user, a tool result, or a downloaded skill, runs with the full authority of the host user, in effect at ring 0. Prior work builds an operating system for agents (OS4A); we argue that a deployed agent already is like an operating system (AaOS) and analyze it as one. Taking the mechanisms of standard OS textbooks as a checklist, we map 116 mechanisms in 19 subsystems to their agent counterparts, from product documentation, source code, and the literature, and label each as isomorphic, degraded (function present, protection dependent on the model), missing, mutated, or novel. Only 11 are isomorphic and 65 are missing, most of them protections: privilege separation, resource quotas, transactions, and tamper-proof audit. Existing defenses confine the whole agent or review its extensions and leave this interior unprotected, and by Anderson's reference-monitor criteria (non-bypassable, tamper-proof, verifiable), rules written in the prompt satisfy none. We test the map with thirteen experiments on Claude Code, Codex CLI, and Gemini CLI, covering 25 mechanisms whose enforcement documentation cannot settle: 16 match the analysis, 7 gain a more precise description, and 2 change verdict. Checks sit in single tools, so the shell bypasses them; all three CLIs load forged transcript records on resume; and task control, sub-agent permissions, and model-based monitors are weak. We identify five problems for which no OS defense transfers and derive a prioritized list of open problems from the gaps of the map.