360 Secure SkillHub
360 安全技能中心

Osop Review

面向 OSOP 工作流与执行日志的安全审查 Skill:读取指定 .osop 或 .osoplog 文件,逐节点检查高风险等级无审批门、宽泛权限、破坏性命令、硬编码密钥、缺失超时与错误处理等问题,按类型权重与缓解因素计算 0-100 风险分,输出发现表格与是否可安全运行的结论;对日志还检查工具调用、失败原因、子代理层级与耗时成本。

archie0125
archie0125
热度 44.55
最近更新 2026-05-11 17:39:05
分类:安全依赖:读写文件 / 内部调用大模型应用场景:报告撰写 / 工作流 / 代码审查

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add osop-review
Metadata
name
osop-review
description
Review .osop/.osoplog for security risks, permission gaps, and destructive commands
version
1.2.0
emoji
🛡️
homepage
https://osop.ai
argument-hint
<path-to-osop-or-osoplog-file>
metadata
{"openclaw":{"requires":{"bins":["bash"],"config":["~/.osop/config.yaml"]},"install":[],"always":false}}
user-invocable
true
disable-model-invocation
false

OSOP Workflow Reviewer

Review a workflow or execution log for risks and issues.

Target file

$ARGUMENTS

What to do

  1. Read the file specified in the argument (.osop or .osoplog.yaml)

  2. Analyze for risks — check each node for:

    • security.risk_level: high|critical without preceding approval_gate
    • security.permissions containing broad patterns (write:*, admin:*, delete:*)
    • cli nodes with destructive commands (rm -rf, kubectl delete, terraform destroy, DROP TABLE)
    • Hardcoded secrets (strings starting with sk-, ghp_, xoxb-, API keys)
    • Agent nodes without cost.estimated (unbounded cost exposure)
    • Missing timeout_sec on external call nodes (api, cli, agent, infra, mcp)
    • Missing error handling (no fallback/error edge) on medium+ risk nodes
  3. Compute risk score (0-100):

    • Each node: type_weight * risk_multiplier * mitigation_factor
    • Type weights: cli=2, infra=2, db=1.5, agent=1.5, docker=1.5, cicd=1.5, api=1, others=0.5-1
    • Risk multiplier: low=1, medium=2, high=4, critical=8
    • Mitigations: approval_gate=-50%, retry_policy=-10%, fallback_edge=-20%
    • Finding penalty: low=+2, medium=+5, high=+10, critical=+20
  4. Present findings in a clear table:

    Risk Score: XX/100 — VERDICT (safe/caution/warning/danger)
    
    | Severity | Finding | Node | Suggestion |
    |----------|---------|------|------------|
    | CRITICAL | ... | ... | ... |
    
  5. Summarize:

    • Total permissions required
    • Secrets referenced
    • Estimated cost (if any)
    • Whether approval gates exist
    • Final verdict: is this safe to run?

For .osoplog files

If reviewing an execution log, also check:

  • Which tools were actually used and how many calls
  • Whether any nodes failed and why
  • AI reasoning decisions — were they sound?
  • Sub-agent hierarchy — was the spawning appropriate?
  • Total execution time and cost