环境查询和自动派遣子代理可能扩大敏感文件的接触范围
原文依据:1 处Skill 要求凡是能从环境查到的事实都自行查找,并明确要求派遣子代理,但没有限定允许读取的目录、文件类型、敏感信息范围,也没有要求查询前取得用户同意。
如果待讨论的问题可由工作区、配置文件或工具状态回答,代理和子代理可能读取与决策无关或含凭据、客户资料、商业信息的内容。所示文件没有要求将数据发送到外部,但额外代理会扩大接触这些内容的主体和上下文。
第26行确实要求代理自行查询环境事实并派遣子代理,且未在 Skill 内规定目录或敏感文件边界,因此可能增加环境数据被读取和在代理间传递的范围。但它只授权查找当前问题所需的“事实”,没有要求读取凭据、搜遍文件系统或向外部发送数据;实际风险取决于运行环境权限及任务内容。用户可要求作者明确查询范围、排除敏感路径并在读取敏感资料前确认。
这项判断针对展示的代码和适用条件,不表示风险已经实际发生。Finding _facts_ is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it; don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report; ask the rest of the frontier now. The _decisions_ are the user's: put each to them and wait.