360 Secure SkillHub
360 安全技能中心

ds-blast-radius

读取 diff 与相关源码,找出变更安全所依赖的关键事实,检查文本搜索难以覆盖的库版本、异步顺序和数据流出风险,并用脚本或测试证明这些事实;报告证明等级、真实破坏与未证明项,不负责修复。

分类:开发
aicodeking
热度 0.00
最近更新 2026-11-01 05:11:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aicodeking/deepseek-stack/ds-blast-radius
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
ds-blast-radius
description
Find what a change could break outside its own diff, then prove the key safety fact by running real code. Use before shipping a risky or untrusted change, for 'what could this break', 'blast radius of X', or /ds-blast-radius.

ds-blast-radius

Listing callers is easy. The job is finding the breakage that a text search will not show, and proving the change is safe with a run instead of an argument.

Steps

  1. Read the change: the diff, the symbols it adds, changes or removes, and the behavior it now has that the diff does not spell out.
  2. Find the one or two facts the change is safe because of, for example "this only removes cache entries that are already expired". Most risk clears if that fact holds. Spend your effort here.
  3. Look where search stops. Read the source of libraries you call at their pinned version. Check timing: async ordering, teardown, retries. Follow data that leaves the code: API responses, database columns, file formats, config, other languages reading the same data.
  4. Grade each key fact by how far you proved it:
    1. you said so (worthless alone),
    2. you pointed at a real file and line,
    3. you traced the failure path and showed it cannot be reached,
    4. you ran a script or test against the real code that fails loudly if you are wrong,
    5. you reproduced it in the running app.
  5. Push each key fact to level 4 when it is cheap. Usually that is one small script calling the exact function in question.
  6. Report: the key facts, their proof level with the command and output, any real breakage found, and what stayed unproven.

Stop when

  • Every key fact is at level 4 or higher, or you have said why it could not be, and the report is written.
  • Or you found a real break. Report it with the repro and stop.

Rules

  • A convincing write-up is not proof. Show output.
  • Do not fix anything here. Hand fixes to the normal flow.