@goplus/agentguard

版本 1.2.4发布 2026-10-19仓库 GoPlusSecurity/agentguard
1/4安装未通过

每位 AI 智能体用户都该有的基础安全护栏。

开发与运行时周下载 490依赖 8MIT安装时执行脚本
pnpm add @goplus/agentguard

安装前须知

Node 要求
>=18.0.0
package.json engines
peer 依赖
无
可独立安装
宿主服务
未实测
未做加载实测,不判通过
入口 / 补丁
dist/index.js
bundle 未声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并
命中 high 或 critical 规则
未通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装未通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
安装未通过 · peer 依赖冲突
加载实测未执行
安装完成后由真实宿主启动一次,检查入口是否激活
该版本未进行加载实测。

检测结论明细

共 58 次命中
静态结构6 条规则 · 9 次命中
读取凭据/密钥文件路径×4credential-path-read
skills/agentguard/scripts/scan-to-sarif.js:50{ id: 'READ_SSH_KEYS', name: 'SSH Key Access', severity: 'CRITICAL', description: 'Detects references to SSH key files (~/.ss
写入开机/登录自启动位置persistence-write
dist/cli.js:2090const paths = ['/etc/crontab'];
安装期执行脚本lifecycle-script
package.jsonpostinstall: node dist/postinstall.js || true
遍历目录后批量改写mass-file-overwrite
dist/dsh/capability-profile.js:6fileRead: /(?:\breadFile(?:Sync)?\s*\(|\breaddir(?:Sync)?\s*\(|\bcreateReadStream\s*\(|\bfs\.promises\.(?:readFile|readdir)|from\s+['"]node:fs['"])/,
代码中存在外部 URLremote-url-reference
dist/action/detectors/exec.js:557https://${target} https://api.gopluslabs.io/api/v1 https://www.agentguard.one https://github.com/owner/repo http://schemas.microsoft.com/windows/2004/
提到凭据路径但没有读动作sensitive-path-reference
dist/action/detectors/exec.js:111'cat ~/.npmrc',
配置组合3 条规则 · 42 次命中
依赖存在高危漏洞×17dep-vulnerability-high
受影响依赖@modelcontextprotocol/sdk@1.29.0axios@1.14.0zod@3.25.76
CVE-2026-104850@modelcontextprotocol/sdk@1.29.0修复版本 1.31.0公告原文MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
GHSA-f897-62hf-6gxq@modelcontextprotocol/sdk@1.29.0修复版本 1.30.1公告原文MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch leng
另有 15 条同类漏洞未列出
依赖存在中危漏洞×23dep-vulnerability-medium
受影响依赖@modelcontextprotocol/sdk@1.29.0axios@1.14.0glob@13.0.6
CVE-2026-111769@modelcontextprotocol/sdk@1.29.0修复版本 1.32.0公告原文MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-se
CVE-2026-111771@modelcontextprotocol/sdk@1.29.0修复版本 1.32.0公告原文MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
另有 21 条同类漏洞未列出
依赖存在未定级漏洞×2dep-vulnerability-unknown
受影响依赖axios@1.14.0
GHSA-xhjh-pmcv-23jwaxios@1.14.0
GHSA-xx6v-rp6x-q39caxios@1.14.0
源码审查3 条规则 · 6 次命中
加载了进程 / 网络 / 原生能力模块×2l3.dangerous-module
源码审查运行日志运行期调用了 require
进程以非零码退出×2l3.nonzero-exit
源码审查结果
运行时抛出异常×2l3.runtime-error
源码审查运行日志启动时找不到依赖 glob,检测环境里没有提供它
安装实测1 条规则 · 1 次命中
安装未通过:缺少版本号l4.version-missing

依赖结构

0 项

该版本未声明任何依赖,可独立安装。