返回首页

对比阅读

对比阅读:AgentScope Adds Permission Gates for Tool Calls as AI Security Enters Engineering 与 AgentScope给工具调用加权限闸门,AI执行安全进入工程阶段

AEN
AgentScopeAI AgentsMCP·

AgentScope Adds Permission Gates for Tool Calls as AI Security Enters Engineering

What this is

The open-source AgentScope framework has added a permission system designed not to make AI smarter, but to restrict what it can do. Before an AI invokes Bash to execute commands, writes files, or connects to MCP services, the system evaluates the specific parameters and makes one of three decisions: allow, deny, or request human confirmation. In AgentScope’s permission model, MCP—the protocol that lets AI connect to external tools and data sources—is governed within the same framework as command-line and file operations.

We have noticed that permission rules are no longer divided solely by user identity; they now extend down to individual tools and parameters. Reading a project directory may be allowed, while deleting files is denied. Modifying ordinary configuration may pass automatically, while changing a user’s startup file requires confirmation. Human-in-the-loop (HITL), in which critical operations pause for human approval, also does not need to interrupt the entire task: the confirmation result can carry over into subsequent conversation turns.

Industry view

This design addresses a fundamental shift that comes with Agents evolving from chat tools into execution systems. Permissions in traditional software are generally tied to users and interfaces, but the caller in an Agent system is actually the model, and the risk depends on the parameters it generates at that moment. Running a command to list a directory and running one to batch-delete files do not carry the same level of danger, so approving access merely by tool name is insufficient.

That said, we do not believe a permission layer alone is enough to solve the security problem. First, rule matching depends on tools providing clear, explainable semantics. If a tool cannot accurately describe parameter boundaries, its permission checks may leave gaps. Second, human confirmation can easily become mechanical clicking: approvers who lack context may authorize dangerous actions. The more realistic risk is that even after deploying a permission system, enterprises must continuously maintain its rules, log operations, and resolve rule conflicts and abnormal behavior. AgentScope demonstrates a viable direction, but it cannot replace comprehensive security governance.

Impact on regular people

For enterprise IT: As enterprises deploy AI assistants, permission systems are becoming infrastructure rather than an add-on. This is especially true once Agents can access codebases, office systems, and customer data, because operation authorization, log retention, and accountability must be built alongside one another.

For individual professionals: AI can now handle more tasks on our behalf, but capabilities such as file access and command execution generally will not be enabled by default. Setting confirmation boundaries and preserving human approval is better suited to work such as organizing emails, analyzing reports, and maintaining documents.

For the consumer market: AI products that place orders, change settings, or invoke third-party services on users’ behalf will place greater emphasis on operation confirmation and authorization management. What consumers see in the future will not only include how well an AI answers, but also what it does at every step and which decisions remain under human control.

来源: juejin.cn
BZH
AgentScopeAgentMCP·

AgentScope给工具调用加权限闸门,AI执行安全进入工程阶段

这是什么

AgentScope开源框架新增了一套权限系统,核心不是让AI更聪明,而是限制它能做什么。AI准备调用Bash执行命令、写入文件或连接MCP服务前,系统会结合具体参数作出三种判断:允许、拒绝或请求人工确认。MCP(让AI连接外部工具和数据源的协议)在AgentScope的权限模型中与命令行、文件操作处于同一治理框架。

我们注意到,权限规则不再只按用户身份划分,而是细化到工具和参数。例如,读取项目目录可以被允许,删除文件则被拒绝;修改普通配置可以放行,改写用户启动文件则需要确认。人机协作(HITL,即关键操作暂停并由人确认)也不必中断整个任务,确认结果还能在后续对话中沿用。

行业怎么看

这套设计抓住了Agent从聊天工具走向执行系统后的关键变化:传统软件里的权限通常绑定用户和接口,而Agent的调用方实际是模型,风险取决于它此刻给出的参数。同样是运行命令,查看目录和批量删除并非同一危险等级,仅按工具名称放行并不够。

但我们不认为有了权限层就足以解决安全问题。首先,规则匹配依赖工具提供清晰、可解释的语义;如果某项工具无法准确描述参数边界,权限判断就可能留下空隙。其次,人工确认容易变成机械点击,审批者若不了解上下文,也可能误放行。更现实的风险是,企业即使部署了权限系统,也需要持续维护规则、记录操作,并处理规则冲突和异常行为。AgentScope展示了可行方向,却不能替代完整的安全治理。

对普通人的影响

对企业IT:企业部署AI助手时,权限系统正在从附加功能变成基础设施。尤其是让Agent接触代码库、办公系统和客户数据后,操作授权、日志留存与责任追踪需要同时建设。

对个人职场:AI可以代办更多任务,但文件读写、命令执行等能力通常不会默认全开。设置确认范围、保留人工审批,反而更适合处理邮件整理、报表分析和文档维护等工作。

对消费市场:能替用户下单、修改设置和调用第三方服务的AI产品,会更强调操作确认与授权管理。消费者未来看到的可能不只是AI回答得好不好,还包括它每一步做了什么、哪些地方需要自己把关。

来源: juejin.cn