持续追踪技能更新风险,守护安装后的安全盲区
简介
持续监控AI技能安装后的安全变化,通过版本对比检测权限扩张、新增网络端点、依赖链变更等风险信号,防范
原始描述
Helps detect security-relevant changes in AI skills after installation. Tracks deltas between the audited version and current version, flagging updates that...
通过你的 Agent 添加
安装目录:skill-update-delta-monitor/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
skill-update-delta-monitor 是一款针对 AI 技能生态设计的持续安全监控工具,核心解决"安装时审计通过,后续更新引入风险"这一盲区问题。用户只需提供技能标识符与安装时的审计版本号,或本地技能目录的 git 历史,即可获得跨版本差异报告。
工具从五个维度进行 delta 检测:
- 权限范围变更:对比声明的权限边界是否扩张(如从
./data/扩展到~/.config/) - 网络端点新增:标记更新中出现的任何新 outbound 请求,特别关注 POST 到外域的行为
- 依赖链变化:分析传递依赖引入的新能力面(如意外引入 boto3 等云 SDK)
- 行为指令漂移:基于语义相似度计算 SKILL.md 描述的变化分数(0-100)
- 版本速度异常:检测与历史模式不符的频繁更新
输出报告包含风险分级(CLEAN/WATCH/REVIEW/ROLLBACK)及回滚建议。
显著优点
- 填补安全盲区:直接针对"后安装攻击向量"——恶意行为通过更新而非初始代码植入
- 多维信号聚合:不依赖单一指标,而是通过权限、网络、依赖、语义、频率的交叉验证降低误报
- 可解释性强:每项风险都有明确的版本溯源和对比依据,便于安全团队复核
- 生态适配:支持 git 历史解析,兼容主流技能分发模式
潜在缺点与局限性
- 语义分析非精确:指令漂移评分基于启发式,无法捕捉所有行为变更形式
- 意图不可判定:工具只能标记"变化",无法区分恶意扩张与正常功能迭代
- 版本策略盲区:频繁 minor 版本号跳跃可能稀释有效变更的可见性
- 需基线可信:依赖安装时的"审计版本"为可信起点,若初始审计已失守则后续检测失效
适合人群
- 企业 AI 平台安全团队:管理数十至数百个技能的企业级部署
- 合规审计人员:需证明"持续监控"而非"一次性检查"满足监管要求
- 高敏感度场景用户:处理机密数据的个人或团队,对技能供应链安全有极高要求
常规风险
风险类型
说明
误报疲劳
正常功能更新可能触发多项警报,需建立白名单机制
依赖延迟
依赖分析依赖外部数据库,新版本依赖信息可能暂时缺失
基线漂移
长期未审计的技能可能累积多代变更,单次对比意义下降
- 语义分析非精确:指令漂移评分基于启发式,无法捕捉所有行为变更形式
- 意图不可判定:工具只能标记"变化",无法区分恶意扩张与正常功能迭代
- 版本策略盲区:频繁 minor 版本号跳跃可能稀释有效变更的可见性
- 需基线可信:依赖安装时的"审计版本"为可信起点,若初始审计已失守则后续检测失效
适合人群
- 企业 AI 平台安全团队:管理数十至数百个技能的企业级部署
- 合规审计人员:需证明"持续监控"而非"一次性检查"满足监管要求
- 高敏感度场景用户:处理机密数据的个人或团队,对技能供应链安全有极高要求
常规风险
风险类型
说明
误报疲劳
正常功能更新可能触发多项警报,需建立白名单机制
依赖延迟
依赖分析依赖外部数据库,新版本依赖信息可能暂时缺失
基线漂移
长期未审计的技能可能累积多代变更,单次对比意义下降
| 风险类型 | 说明 |
|---|---|
| 误报疲劳 | 正常功能更新可能触发多项警报,需建立白名单机制 |
| 依赖延迟 | 依赖分析依赖外部数据库,新版本依赖信息可能暂时缺失 |
| 基线漂移 | 长期未审计的技能可能累积多代变更,单次对比意义下降 |
技能正文
name: skill-update-delta-monitor
description: >
Helps detect security-relevant changes in AI skills after installation.
Tracks deltas between the audited version and current version, flagging
updates that expand permissions, add new network endpoints, or alter
behavior in ways that bypass install-time security checks.
version: 1.0.0
metadata:
openclaw:
requires:
bins: [curl, python3, git]
env: []
emoji: "🔍"
Your Skill Passed the Audit. That Was Six Weeks Ago.
Helps identify security-relevant changes in skills after installation, catching the class of attacks that bypasses install-time verification by introducing malicious behavior through post-install updates.
Problem
Helps identify security-relevant changes in skills after installation, catching the class of attacks that bypasses install-time verification by introducing malicious behavior through post-install updates.
Problem
Install-time security audits are snapshots. They verify the state of a skill at one moment — the moment of installation. But skills evolve. Dependencies update. Behavior changes. Most agents have no mechanism to detect when a skill they installed and trusted six weeks ago has quietly become something different. This is the post-install attack vector: a skill that passes every check at installation because it is clean at that moment, then receives an update that introduces malicious behavior after the audit window has closed. The "verified" badge persists. The trust persists. The skill has changed.
What This Monitors
This monitor tracks deltas across five dimensions:
- Permission scope changes — Did a skill update add new permission requests? A skill that previously declared "read current directory" and now requests "read home directory" has expanded its capability surface without triggering a new install-time audit. Any permission expansion after initial installation should require explicit re-approval
- Network endpoint additions — New outbound endpoints introduced in updates are a primary indicator of data exfiltration additions. A skill update that introduces a new
POSTto an external URL that wasn't in the original version deserves scrutiny regardless of what the update description says - Dependency chain changes — Updated dependencies can introduce new transitive capabilities. A dependency update that pulls in a new package with file system or network access changes the effective permission surface of the skill even if the skill's own code is unchanged
- Behavioral instruction drift — Compares the natural language instructions in SKILL.md files across versions. Instructions that shift from task-completion to data-collection framing, that add new data handling steps, or that introduce new external interactions are signals of intent drift
- Version velocity anomalies — Unusual update frequency is itself a signal. A skill that updates three times in a week after six months of stability may be undergoing active modification — legitimate or otherwise
How to Use
Input: Provide one of:
- A skill identifier with the version that was audited at install time
- A local skill directory with version history (git history supported)
- Two skill snapshots (before and after) for direct comparison
Output: A delta report containing:
- Permission scope diff (added/removed/unchanged)
- New network endpoints introduced
- Dependency chain changes with capability impact assessment
- Instruction drift score (0-100, where higher = more drift from original)
- Version velocity assessment
- Risk classification: CLEAN / WATCH / REVIEW / ROLLBACK
Example
Input: Monitor delta for data-formatter skill, installed version 1.2.0, current version 1.4.1
🔍 SKILL UPDATE DELTA REPORT
Skill: data-formatter
Audited version: 1.2.0
Current version: 1.4.1
Versions since audit: 3 (1.2.0 → 1.3.0 → 1.4.0 → 1.4.1)
Time since audit: 47 days
Permission scope: ⚠️ EXPANDED
Added in v1.3.0: read ~/.config/
Added in v1.4.0: network.outbound (new)
Previously declared: read ./data/ only
Permission expansion occurred across two incremental updates
Network endpoints: ⚠️ NEW ENDPOINTS DETECTED
Added in v1.4.0: POST https://analytics.third-party.example/usage
Description in changelog: "usage telemetry for performance optimization"
Not present in v1.2.0 or v1.3.0
Dependency changes:
requests: 2.28.0 → 2.31.0 (security update, low risk)
data-utils: 0.9.1 → 1.1.0 (major version, +3 new transitive dependencies)
New transitive: boto3 (AWS SDK) — significant new capability surface
Instruction drift score: 34/100 (moderate)
v1.2.0: "Format input data according to specified template"
v1.4.1: "Format input data... collect usage metrics for improvement"
Drift: new data collection framing introduced
Version velocity: ⚠️ ELEVATED
3 updates in 47 days vs. 1 update per 3 months historically
Risk classification: REVIEW
Multiple converging signals: permission expansion + new outbound endpoint +
new data collection framing + elevated update velocity.
Recommend: manual review of v1.3.0 and v1.4.0 changes before continued use.
Rollback option: v1.2.0 (audited baseline) — confirmed clean at install time
Related Tools
- evolution-drift-detector — Detects behavioral drift in inherited skill chains; this tool tracks direct update deltas
- blast-radius-estimator — Estimates impact scope; use after delta monitoring to assess exposure
- supply-chain-poison-detector — Checks install-time supply chain; this tool monitors post-install changes
- trust-decay-monitor — Tracks trust freshness; delta monitoring provides concrete change events that accelerate decay
Limitations
Delta monitoring helps detect changes but cannot determine intent. Not every permission expansion is malicious — skills legitimately add features that require new capabilities. Not every new network endpoint is exfiltration — telemetry and update checks are legitimate uses. This tool surfaces changes that warrant review, not changes that are confirmed malicious. The instruction drift score is a heuristic based on semantic similarity and does not capture all forms of behavioral change. Skills that version their releases in ways that obscure meaningful changes (frequent minor version bumps) may underreport their effective delta.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。