Meta Muse Agent 导出运行时文件,含内部文档与 SSH 密钥
I asked Meta’s Muse for its filesystem and it sent me 6.8GB
Agent 安全领域的典型案例,详细拆解了 Muse 的内部架构、技能体系与权限边界,对做 Agent 开发的同学极具参考价值。
The export
导出
I asked Muse to archive the files it could see and send them to my Google Drive. It did.
我要求 Muse 归档它能看到的文件,并将它们发送到我的 Google Drive。它照做了。
The download was about 2.7 GB compressed and 6.8 GB unpacked. It appeared to contain the root filesystem of the Linux environment assigned to my session, including Ubuntu system files, Muse’s internal documentation, integration code, app templates, memory files, and agent logs. There were also SSH key files.
下载的文件压缩后约为 2.7 GB,解压后为 6.8 GB。它似乎包含分配给我会话的 Linux 环境的根文件系统,包括 Ubuntu 系统文件、Muse 的内部文档、集成代码、应用模板、内存文件和代理日志。其中还包含 SSH 密钥文件。
Figure 1. Muse describes an earlier archive of its code, documentation, memory, and binaries. The file counts and sizes here are claims in the chat, and refer to that earlier export. Click image to enlarge.
图 1。Muse 描述了其代码、文档、内存和二进制文件的早期归档。此处显示的文件数量和大小是聊天中的声明,指的是那次较早的导出。点击图片放大。
Figure 2. Muse’s delivery message links to muse-full-root.zip and calls it 2.86 GB. My notes record roughly 2.7 GB compressed; I haven’t reconciled the two figures. The message above it makes an unverified claim about container escape. I did not demonstrate an escape. Click image to enlarge.
图 2。Muse 的交付消息链接到 muse-full-root.zip,并称其大小为 2.86 GB。我的笔记记录压缩后约为 2.7 GB;我尚未调和这两个数据。上方的消息对容器逃逸做出了未经证实的声明。我并未演示逃逸行为。点击图片放大。
What I reported
我所报告的内容
I submitted the findings through Meta’s bug bounty program and contacted several employees. I’m not publishing the archive, keys, or session logs. This is a breakdown of what I found and what I could establish from it.
我已通过 Meta 的漏洞赏金计划提交了这些发现,并联系了几名员工。我不会公开该归档文件、密钥或会话日志。以下是我所发现内容及其可确认情况的详细分解。
The concern I reported was that internal runtime files and sensitive material could leave that environment through an ordinary conversation and a connected export destination. I haven’t established whether the SSH keys were active or what access they could provide.
我所报告的担忧是,内部运行时文件和敏感材料可能通过普通对话和连接的导出目标离开该环境。我尚未确定 SSH 密钥是否处于活动状态,以及它们能提供何种访问权限。
The runtime and its manual
运行时及其手册
Most of the interesting files were under /home/hatch, /opt/hatch, and /opt/hatch-image. Hatch is internal name Meta uses for Muse and the name used throughout the runtime files.
大多数有趣的文件位于 /home/hatch、/opt/hatch 和 /opt/hatch-image 目录下。Hatch 是 Meta 用于指代 Muse 的内部名称,也是整个运行时文件中使用的名称。
/
/
- ▸ home/hatch/
- · SOUL.md
- · IDENTITY.md
- · USER.md
- · MEMORY.md
- · AGENTS.md
- · TOOLS.md
- ▸ agents/
- ▸ docs/
- · devices/home_link.md
- ▸ memory/
- ▸ bank/
- ▸ dreams/
- ▸ workspace/self_improvement/
- ▸ opt/hatch/
- ▸ skills/
- ▸ runtime-cell/
- ▸ opt/hatch-image/
- · bin/codex
- · bin/codex-resources/bwrap
- ▸ home/hatch/
- · SOUL.md
- · IDENTITY.md
- · USER.md
- · MEMORY.md
- · AGENTS.md
- · TOOLS.md
- ▸ agents/
- ▸ docs/
- · devices/home_link.md
- ▸ memory/
- ▸ bank/
- ▸ dreams/
- ▸ workspace/self_improvement/
- ▸ opt/hatch/
- ▸ skills/
- ▸ runtime-cell/
- ▸ opt/hatch-image/
- · bin/codex
- · bin/codex-resources/bwrap
/home/hatch
/home/hatch
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读章节 →
/home/hatch/SOUL.md
/home/hatch/SOUL.md
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读章节 →
/home/hatch/IDENTITY.md
/home/hatch/IDENTITY.md
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读章节 →
/home/hatch/USER.md
/home/hatch/USER.md
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读章节 →
~/MEMORY.md
~/MEMORY.md
~/MEMORY.md is a short sheet of facts, preferences, and commitments.
~/MEMORY.md 是一份简短的事实、偏好和承诺清单。
Read section →
阅读章节 →
/home/hatch/AGENTS.md
/home/hatch/AGENTS.md
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读章节 →
/home/hatch/TOOLS.md
/home/hatch/TOOLS.md
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。
Read section →
阅读本节 →
agents/
agents/
An agents/ directory contained 113 subagent records with JSONL traces.
agents/ 目录包含 113 条带有 JSONL 跟踪记录子代理记录。
Read section →
阅读本节 →
docs/
docs/
About 20 Markdown files described browser use, connectors, payments, credentials, data handling, generated files, voice, goals, and scheduling.
约 20 个 Markdown 文件描述了浏览器使用、连接器、支付、凭据、数据处理、生成文件、语音、目标和调度。
Read section → Figure 3
阅读本节 → 图 3
docs/devices/home_link.md
docs/devices/home_link.md
docs/devices/home_link.md described an experimental integration called Meta Home Link, using an ESP32-C5 with Wi-Fi and Bluetooth LE.
docs/devices/home_link.md 描述了一个名为 Meta Home Link 的实验性集成,使用带有 Wi-Fi 和蓝牙 LE 的 ESP32-C5。
Read section → Figure 8
阅读本节 → 图 8
~/memory/
~/memory/
Dated files under ~/memory/ keep the day-to-day detail. The agent can write to these during a conversation.
~/memory/ 下的带日期文件保留了日常细节。代理可以在对话期间向这些文件写入内容。
Read section →
阅读本节 →
memory/bank/
memory/bank/
Files under memory/bank/ organize that material into circumstances, experiences, and preferences, with citations back to the source lines.
memory/bank/ 下的文件将材料组织为情境、经验和偏好,并引用回源行。
Read section →
阅读本节 →
~/dreams/
~/dreams/
A nightly “dream” reviews recent conversations and writes guidance for future sessions.
每晚的“梦境”会回顾最近的对话,并为未来的会话编写指导。
Read section → Figure 7
阅读本节 → 图 7
workspace/self_improvement/
workspace/self_improvement/
These runs leave receipts under workspace/self_improvement/, while their actual changes go into the relevant memory and workspace files.
这些运行在 workspace/self_improvement/ 下留下收据,而它们的实际更改进入相关的记忆和工作区文件。
Read section →
阅读本节 →
/opt/hatch
/opt/hatch
Most of the interesting files were under /home/hatch, /opt/hatch, and /opt/hatch-image. Hatch is internal name Meta uses for Muse and the name used throughout the runtime files.
/home/hatch、/opt/hatch 和 /opt/hatch-image 下包含了大部分有趣的文件。Hatch 是 Meta 用于 Muse 的内部名称,也是整个运行时文件中使用的名称。
Read section →
阅读本节 →
/opt/hatch/skills/
/opt/hatch/skills/
Under /opt/hatch/skills/, I counted roughly 68 skill directories. These generally paired a SKILL.md instruction file with a command-line tool or supporting code.
在 /opt/hatch/skills/ 目录下,我统计了大约 68 个技能目录。这些目录通常将 SKILL.md 指令文件与命令行工具或辅助代码配对使用。
Read section → Figure 4
阅读本节 → 图 4
/opt/hatch/runtime-cell/
/opt/hatch/runtime-cell/
/opt/hatch/runtime-cell/ contained 18 files, including scripts for building the root filesystem, launching it with systemd-nspawn, and running startup hooks and daemons.
/opt/hatch/runtime-cell/ 包含 18 个文件,其中包括用于构建根文件系统、使用 systemd-nspawn 启动它以及运行启动钩子(startup hooks)和守护进程(daemons)的脚本。
Read section →
阅读本节 →
/opt/hatch-image
/opt/hatch-image
Most of the interesting files were under /home/hatch, /opt/hatch, and /opt/hatch-image. Hatch is internal name Meta uses for Muse and the name used throughout the runtime files.
/home/hatch、/opt/hatch 和 /opt/hatch-image 下包含了大部分有趣的文件。Hatch 是 Meta 用于 Muse 的内部名称,也是整个运行时文件中使用的名称。
Read section →
阅读本节 →
/opt/hatch-image/bin/codex
/opt/hatch-image/bin/codex
Codex CLI was installed at /opt/hatch-image/bin/codex, reporting version 0.149.0. I found no evidence that Muse uses it as a coding agent.
Codex CLI 安装于 /opt/hatch-image/bin/codex,报告版本为 0.149.0。我没有发现任何证据表明 Muse 将其用作编码代理。
Read section →
阅读本节 →
/opt/hatch-image/bin/codex-resources/bwrap
/opt/hatch-image/bin/codex-resources/bwrap
The binary lives under codex-resources/bwrap and identifies itself as bubblewrap built for Codex.
该二进制文件位于 codex-resources/bwrap 下,并自称是为 Codex 构建的 bubblewrap。
Read section →
阅读本节 →
The agent’s home directory contained SOUL.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, and TOOLS.md. Alongside those were directories for documentation, memory, workspace projects, channels, hooks, and subscriptions. An agents/ directory contained 113 subagent records with JSONL traces.
代理的主目录包含 SOUL.md、IDENTITY.md、USER.md、MEMORY.md、AGENTS.md 和 TOOLS.md。旁边还有用于文档、记忆、工作区项目、频道、钩子和订阅的目录。agents/ 目录包含 113 条带有 JSONL 跟踪记录的子代理记录。
The documentation was unusually useful for understanding the system. About 20 Markdown files described browser use, connectors, payments, credentials, data handling, generated files, voice, goals, and scheduling. There were separate guides for WhatsApp, a paired Mac, Tailscale, and a device integration called Home Link.
这些文档对于理解系统来说异常有用。大约 20 个 Markdown 文件描述了浏览器使用、连接器、支付、凭据、数据处理、生成文件、语音、目标和调度。此外还有针对 WhatsApp、配对的 Mac、Tailscale 以及名为 Home Link 的设备集成的独立指南。
Figure 3. The opening of muse.md describes a persistent agent computer for each user and points to the product’s other guides. These are statements in the exported documentation. Click image to enlarge.
图 3。muse.md 的开头描述了一个为每个用户提供的持久化代理计算机,并指向产品的其他指南。这些是导出文档中的陈述。点击图片放大。
Skills and integrations
技能和集成
Under /opt/hatch/skills/, I counted roughly 68 skill directories. These generally paired a SKILL.md instruction file with a command-line tool or supporting code. They covered Google Workspace, Meta’s social apps, Outlook, travel, shopping, health services, home devices, and media generation.
在 /opt/hatch/skills/ 目录下,我统计了大约 68 个技能目录。这些目录通常将 SKILL.md 指令文件与命令行工具或辅助代码配对使用。它们涵盖了 Google Workspace、Meta 的社交应用、Outlook、旅行、购物、健康服务、家庭设备和媒体生成。
Figure 4. One example of a SKILL.md file: share_ideas specifies when the agent should use it and describes an INSTALL.md file packaged with a public page. Click image to enlarge.
图 4。SKILL.md 文件的一个示例:share_ideas 指定了代理何时应使用它,并描述了与公共页面打包在一起的 INSTALL.md 文件。点击图片放大。
Two configuration files, skill-scopes.conf and bin-scopes.conf hinted at unreleased connectors Meta has in the pipeline. They included names such as Slack, Dropbox, Polymarket, Canva, and Klaviyo, plus an internal-facebook-cLI.
两个配置文件 skill-scopes.conf 和 bin-scopes.conf 暗示了 Meta 正在开发中尚未发布的连接器。其中包含 Slack、Dropbox、Polymarket、Canva 和 Klaviyo 等名称,以及一个内部使用的 facebook-cLI。
Container setup
容器设置
The container setup was also included. /opt/hatch/runtime-cell/ contained 18 files, including scripts for building the root filesystem, launching it with systemd-nspawn, and running startup hooks and daemons. A separate runtime-cell.kdl manifest described packages and systemd units in the image.
容器设置也被包含在内。/opt/hatch/runtime-cell/ 目录中包含 18 个文件,包括用于构建根文件系统、使用 systemd-nspawn 启动它以及运行启动钩子和守护进程的脚本。一个独立的 runtime-cell.kdl 清单描述了镜像中的软件包和 systemd 单元。
Those files gave me a fairly clear view of how the assigned Linux environment was assembled. They weren’t enough to audit the whole service or prove anything about infrastructure outside that environment.
这些文件让我对分配的 Linux 环境的组装方式有了相当清晰的了解。但它们不足以审计整个服务或证明该环境之外的任何基础设施情况。
Spaces and file builders
Spaces 和文件构建器
The largest code project I found was the Spaces framework, which Muse uses to build and serve apps. Its TypeScript starter included a React client, server actions, a Drizzle SQLite schema, SQL migrations, and Bun configuration. There was a smaller static template and runtime code in directories named worker, sdk, cloudflare, and cvm.
我发现最大的代码项目是 Spaces 框架,Muse 使用该框架构建和提供应用。其 TypeScript 入门模板包括 React 客户端、服务器操作、Drizzle SQLite 模式、SQL 迁移和 Bun 配置。在名为 worker、sdk、cloudflare 和 cvm 的目录中还有较小的静态模板和运行时代码。
Figure 5. The Spaces directory contains templates and a TypeScript runtime, including worker, sdk, cloudflare, and cvm folders. The directory listing shows structure, not the full implementation. Click image to enlarge.
图 5。Spaces 目录包含模板和 TypeScript 运行时,其中包括 worker、sdk、cloudflare 和 cvm 文件夹。目录列表显示的是结构,而非完整实现。点击图片放大。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力