安装或升级VT Sentinel安全插件。当用户请求安装、设置、启用、更新或升级VT Sentinel、VirusTotal扫描或恶意软件检测等功能时使用。
安装/ 升级 VT 哨兵插件是一项面向实际任务的技能,主要用于此技能将所有文件都委托给 Openclaw CLI;delete 文件, 手动编辑 Openclaw.json, 从外部下载 tarballs;
该技能适合需要稳定复用相关能力的场景,可作为自动化工作流的一部分,也便于后续检查、调整和扩展。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;
若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
本技能将所有操作委托给官方 openclaw CLI。它不会删除文件、手动编辑 openclaw.json、从外部 URL 下载 tarball,也不会直接操作系统服务。所有文件系统和配置变更均由 openclaw plugins 子命令完成。
开始前,请向用户明确说明即将运行的具体操作,以便其确认授权:
openclaw plugins list)——仅读取操作。openclaw plugins install clawhub:openclaw-plugin-vt-sentinel(将经验证的 ClawHub 包下载至 ~/.openclaw/extensions/)。openclaw plugins update openclaw-plugin-vt-sentinel(由 OpenClaw CLI 完成原地升级)。openclaw gateway restart —— 重启用户作用域网关,使插件生效。用户数据(vt-sentinel-agent.json、vt-sentinel-state.json、vt-sentinel-audit/)存放在 (位于插件目录之外),在安装/升级过程中保持不变。
openclaw-plugin-vt-sentinel(已验证 / 经 LLM 审查确认为干净代码)。openclaw-plugin-vt-sentinel(公开发布,MIT 许可协议)。https://github.com/king-tero/VT-sentinel。若用户对来源存疑,建议先使用以下命令检查该包:openclaw plugins inspect clawhub:openclaw-plugin-vt-sentinel。
exec { "command": "openclaw plugins list" }
在输出中查找 openclaw-plugin-vt-sentinel。
exec { "command": "openclaw plugins install clawhub:openclaw-plugin-vt-sentinel" }
该命令将下载 ClawHub 包、注册插件,并自动加载技能与钩子(hook)。无需任何手动配置。完成后进入步骤 4。
exec { "command": "openclaw plugins update openclaw-plugin-vt-sentinel" }
OpenClaw CLI 以原子方式处理升级:拉取最新版本、替换扩展目录、更新 plugins.installs 元数据。用户在 plugins.entries 中的配置及 下的状态文件均被保留。
若 CLI 报告“已是最新版本”,请告知用户 VT Sentinel 已为最新版,并跳至步骤 5(仅验证)。
若升级被阻塞(例如因损坏的安装),请回退至使用官方子命令进行干净重装:
exec { "command": "openclaw plugins uninstall openclaw-plugin-vt-sentinel --force" }
exec { "command": "openclaw plugins install clawhub:openclaw-plugin-vt-sentinel" }
uninstall 命令通过单一受支持的操作移除扩展目录并清理 plugins.installs —— 请勿手动编辑 openclaw.json。
插件需在网关重启后方可激活。OpenClaw CLI 提供跨平台封装,自动适配底层服务管理器(macOS 使用 launchd,Linux 使用 systemd 用户单元,Windows 使用 schtasks):
exec { "command": "openclaw gateway restart" }
exec { "command": "openclaw plugins list" }
确认 openclaw-plugin-vt-sentinel 显示为已加载。正常安装应注册9 个工具和2 个钩子。
openclaw config set plugins.entries.openclaw-plugin-vt-sentinel.config.apiKey "vt_xxxxxxxx"自 v0.11.0 起,
VIRUSTOTAL_API_KEY 环境变量回退机制已被弃用 —— 当前仅支持插件配置项或 VTAI 自动注册两种方式。安装后暴露的工具如下:
vt_scan_file —— 全文件扫描(传统杀毒引擎 + AI 代码洞察)vt_check_hash —— 快速哈希值查询vt_upload_consent —— 敏感文件上传前的用户授权流程vt_sentinel_status —— 查看当前配置、监控目录及防护状态vt_sentinel_configure —— 运行时动态调整设置(预设方案、通知级别、拦截模式)vt_sentinel_reset_policy —— 恢复默认策略vt_sentinel_help —— 快速入门指南与隐私说明vt_sentinel_update —— 检查更新并获取升级指引vt_sentinel_re_register —— 重新向 VTAI 注册代理身份行为特征:
/vt-sentinel-audit/ 下生成轮转式审计日志若任一步骤失败:
openclaw gateway status。openclaw plugins ... 命令末尾追加 --verbose 参数。openclaw plugins doctor。openclaw plugins inspect clawhub:openclaw-plugin-vt-sentinel。~/.openclaw/openclaw.json —— openclaw plugins install/update/uninstall 命令会以原子方式管理配置。~/.openclaw/extensions/... 执行 rm -rf —— 应改用 openclaw plugins uninstall。openclaw.json 中的 plugins.deny 字段(仅允许只读查看;该文件由用户自行编辑)。相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章