微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📉

预测信任崩溃时点的智能计算器

Trust Velocity Calculator · v1.0.0
效率 安全 B 级 作者 andyxinweiminicloud 公开目录收录
1k 下载 0 安装 4.5k 收藏 13 浏览

简介

通过时间衰减与变更速度双因子模型,量化预测技能信任度何时跌破阈值,识别高风险更新行为。

原始描述

Helps calculate the rate at which trust in a skill or agent is decaying by combining time elapsed since last verification with the rate of change in behavior...

通过你的 Agent 添加

安装目录:trust-velocity-calculator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/trust-velocity-calculator/
Codex CLI~/.codex/skills/trust-velocity-calculator/
DeepSeek Harness~/.agents/skills/trust-velocity-calculator/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

trust-velocity-calculator 是一款信任度动态评估工具,用于计算技能或代理的信任衰减速度。它结合"时间因子"与"变更速度乘数",输出可量化的信任速度评分(trust velocity score),并预测信任度跌破安全阈值的具体时间点。

关键计算维度

  1. 时间衰减因子:基于最后验证日期,支持线性/指数/阶梯函数三种衰减曲线
  2. 变更速度乘数:统计权限扩展、新端点、依赖升级、指令漂移等变更的频率
  3. 波动窗口检测:对比当前更新率与历史基线,识别突发性高速度风险
  4. 验证覆盖滞后:估算审计覆盖当前代码的比例,反映"未审计代码"占比
  5. 综合评分与预测:输出当前信任分(0-100)、30/60/90天预测值、阈值突破警报

典型输出示例

  • 当前信任度 43/100(已跌破 50 阈值 41 天)
  • 变更速度为历史基线的 5.9 倍 → 高波动
  • 审计覆盖当前代码仅 38%,62% 表面区域未经验证
  • 紧急度分级:REVERIFY NOW / REVIEW SOON / MONITOR / CURRENT

显著优点

  • 量化信任衰减:将"信任会随时间下降"的直觉转化为可计算公式
  • 识别高隐蔽风险:老审计 + 高频变更的组合风险高于直觉判断
  • 预测性警报:提前 23 天预警"信任将跌破 60%",支持主动干预
  • 多维度归因:细分权限、端点、依赖、指令漂移四类变更影响
  • 可配置风险参数:衰减曲线、阈值、权重均可按组织风险偏好调整

潜在局限

  • 非实际危害指标:高分仅表示信任衰减快,不证明技能存在恶意
  • 版本号误导风险:频繁无实质内容的小版本升级会虚高变更速度
  • 覆盖估算近似性:假设代码行变化比例等同于表面区域变化比例
  • 依赖外部输入:需准确的验证历史、版本变更日志、权限变更记录
  • 参数校准负担:指数衰减常数、速度阈值等需根据环境实验调优

适合人群

  • 平台运营方:管理大量第三方技能的信任生命周期
  • 安全审计团队:确定重审优先级,优化有限审计资源的分配
  • 企业技能采购决策者:评估引入技能的持续可信度
  • DevSecOps 工程师:构建自动化信任监控流水线

常规风险

风险类型 说明
误报疲劳 高变更速度的合法维护技能可能被过度标记
参数漂移 长期未更新衰减常数可能导致评估失准
输入数据污染 伪造的版本历史或审计日期会直接破坏输出可信度
阈值设置悖论 阈值过严导致频繁重审成本,过宽则遗漏风险

技能正文


name: trust-velocity-calculator description: > Helps calculate the rate at which trust in a skill or agent is decaying by combining time elapsed since last verification with the rate of change in behavior, permissions, or dependencies — producing a trust velocity score that predicts when a trusted credential will become unreliable. version: 1.0.0 metadata: openclaw: requires: bins: [curl, python3] env: [] emoji: "📉"

Trust Doesn't Just Decay. It Decays Faster When Things Change.

Helps identify when a trusted skill or agent is losing reliability faster than time alone would suggest — by measuring both elapsed time and the rate of change in behavior, permissions, and dependencies.

Problem

A verification badge from 18 months ago represents less trust than a badge from 3 months ago. That much is intuitive. What's less intuitive is that a badge from 6 months ago on a skill that has received 8 updates in the last 4 weeks represents less trust than a badge from 12 months ago on a skill that hasn't changed at all.

Trust decay is not linear with time. It accelerates with change velocity. A skill that updates frequently is either actively maintained (good) or actively modified toward new objectives (potentially bad). The update rate is a multiplier on decay — high velocity amplifies uncertainty. A skill with a high change rate and an old audit badge is more uncertain than a skill with a low change rate and the same old badge, because more surface area has changed without re-verification.

Current trust models treat verification as binary and time-independent: verified or not, with a vague sense that older is riskier. Trust velocity makes the decay quantitative: trust score = baseline × time_factor × (1 - change_velocity_penalty).

What This Calculates

This calculator produces trust velocity assessments across five dimensions:

  1. Time decay factor — How much has raw elapsed time since last verification reduced the baseline trust score? Configurable decay curves: linear, exponential, or step-function by verification type
  2. Change velocity multiplier — How many meaningful changes (permission expansions, new endpoints, dependency updates, instruction drift) have occurred per unit time since last verification? Higher velocity = faster decay
  3. Volatility window — Is the current update rate higher or lower than the skill's historical baseline? A sudden velocity increase is a stronger decay accelerator than consistent high velocity
  4. Verification coverage lag — What percentage of the current skill's surface area was covered by the last verification? If 40% of the code has changed since the audit, the audit covers 60% of what's running
  5. Composite trust velocity score — A single score combining all four factors, with a projected date at which the skill's trust score falls below configurable thresholds (e.g., "trust will fall below 60% in 23 days at current velocity")

How to Use

Input: Provide one of:

  • A skill identifier with last verification date and version history
  • A trust decay parameters object (baseline trust, verification date, update history)
  • Two skills to compare relative trust velocity

Output: A trust velocity report containing:

  • Current trust score (0-100) based on time + velocity
  • Decay curve visualization (text-based)
  • Projected trust score at 30/60/90 days
  • Change velocity breakdown by category
  • Trust threshold alert dates
  • Re-verification urgency: CURRENT / MONITOR / REVIEW SOON / REVERIFY NOW

Example

Input: Calculate trust velocity for workflow-optimizer skill

📉 TRUST VELOCITY REPORT

Skill: workflow-optimizer
Last verified: 2024-09-15 (213 days ago)
Verification type: Publisher signature + marketplace review
Baseline trust at verification: 85/100

Time decay (213 days, exponential curve):
  Raw time factor: 0.74 (26% decay from age alone)
  Score after time: 63/100

Change velocity analysis:
  Updates since verification: 14
  Expected rate (historical): 0.8 updates/month
  Actual rate (last 90 days): 4.7 updates/month
  Velocity ratio: 5.9× above baseline → HIGH VOLATILITY

  Change categories in 14 updates:
    Permission expansions: 2 (read scope expanded ×2)
    New outbound endpoints: 1 (analytics.external-domain.example)
    Dependency major bumps: 3
    Instruction drift score: 41/100 (moderate)

Change velocity penalty: 0.31 (31% additional decay from change rate)

Composite trust velocity score: 43/100
  (63 × (1 - 0.31) = 43)

Verification coverage lag:
  Surface area changed since audit: ~62%
  Current audit coverage: ~38% of running code

Projections:
  Current: 43/100
  +30 days: 37/100 (at current velocity)
  +60 days: 31/100
  Trust threshold breach (50/100): Already breached 41 days ago

Re-verification urgency: REVERIFY NOW
  The skill is operating at 43/100 trust with 62% of its surface
  area outside the last audit's coverage. At current change velocity,
  every additional week increases unverified surface by ~4.5%.

Recommended actions:
  1. Immediate: Audit permission expansions and new outbound endpoint
  2. Short-term: Re-verify skill at current state (not 2024-09-15 state)
  3. Structural: Set automatic re-verification trigger at velocity ratio >3×

Related Tools

  • trust-decay-monitor — Tracks time-based trust freshness; trust-velocity-calculator adds the change velocity multiplier
  • skill-update-delta-monitor — Identifies what changed in updates; trust-velocity-calculator quantifies how much those changes accelerate decay
  • attestation-chain-auditor — Validates chain integrity; trust velocity identifies when re-attestation is needed
  • blast-radius-estimator — Estimates impact scope; combine with trust velocity to prioritize which low-trust skills need immediate review

Limitations

Trust velocity is a predictive model, not a measurement of actual compromise. A high velocity score indicates that trust is decaying faster than baseline — it does not indicate that the skill is malicious. Many legitimate skills update frequently without becoming unsafe. The decay curve parameters (linear vs. exponential, decay constants) are configurable and should be calibrated to your environment's risk tolerance. Skills that version their releases in ways that obscure meaningful changes (many minor bumps with no real content change) may show artificially high velocity without the associated risk. The verification coverage lag estimate is approximate — it assumes that changed lines of code represent changed surface area proportionally, which may not hold for all change patterns.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

trust-managementrisk-quantificationpredictive-analysisaudit-automationsupply-chain-securityversion-control-analysiscompliance-monitoring

同类 Skill