Agent Skills
› anthropics/defending-code-reference-harness
anthropics/defending-code-reference-harness
GitHub将基于C/C++ ASAN的漏洞检测流水线适配至其他语言或漏洞类型。通过阅读代码理解通用与特定逻辑,采访用户明确需求后重写提示词、解析器等文件,实现领域迁移。
Install All Skills
npx skills add anthropics/defending-code-reference-harness --all -g -y
Skills in Collection (9)
将基于C/C++ ASAN的漏洞检测流水线适配至其他语言或漏洞类型。通过阅读代码理解通用与特定逻辑,采访用户明确需求后重写提示词、解析器等文件,实现领域迁移。
需要适配非C/C++语言的漏洞检测
目标迁移至Web应用、智能合约或其他领域
请求定制或分叉现有安全流水线
npx skills add anthropics/defending-code-reference-harness --skill customize -g -y
主动威胁狩猎技能,在无告警情况下分析日志与源码。通过假设驱动循环、本地PoC验证及严格规则,输出包含证据链的入侵事件报告,用于发现潜在攻击活动。
hunt the logs
find the campaign
look for signs of compromise
run dnr-hunt
npx skills add anthropics/defending-code-reference-harness --skill dnr-hunt -g -y
用于安全事件响应,基于告警或线索分析日志与源码,判定攻击是否成功及影响范围,定位根因并生成修复方案。
respond to this alert
work this incident
how bad is this
run dnr-respond
npx skills add anthropics/defending-code-reference-harness --skill dnr-respond -g -y
仓库入门引导技能,提供新用户快速上手指引。支持简介模式展示Day-1目标及引导运行,以及问答模式基于仓库文档解答疑问,帮助用户快速了解安全扫描与补丁流程。
新用户首次进入仓库需要介绍
用户询问如何使用、原理或文件位置
npx skills add anthropics/defending-code-reference-harness --skill quickstart -g -y
对原始安全扫描结果进行分流处理,验证漏洞真实性、去重、按可利用性重新排序并分配负责人。适用于验证扫描输出、优先处理漏洞或审查积压项的场景。
triage findings
validate scanner output
prioritize vulns
review the backlog
npx skills add anthropics/defending-code-reference-harness --skill triage -g -y
提供在无 Docker 环境下验证 harness 变更的端到端方案,通过驱动真实 CLI 并对接模拟服务器捕获请求头,确保环境配置与管道行为一致。
需要验证本地环境的 CLI 行为
无法使用 Docker 时进行集成测试
检查 API 请求头是否正确注入
npx skills add anthropics/defending-code-reference-harness --skill verify -g -y
对源代码目录进行静态安全漏洞扫描,通过并行子代理分析生成发现报告,供后续分类处理。支持威胁模型集成与自定义关注点,不执行代码,仅读取源码推理潜在风险。
要求扫描代码中的漏洞
审查代码安全性
查找指定目录中的Bug
npx skills add anthropics/defending-code-reference-harness --skill vuln-scan -g -y
将已验证的安全漏洞转化为候选修复补丁。读取漏洞发现数据,生成独立的 diff 文件供人工审查,绝不直接修改代码库。支持断点续传和多种输入格式。
fix the findings
patch these vulns
generate fixes
close the loop on triage
npx skills add anthropics/defending-code-reference-harness --skill patch -g -y
为代码库构建威胁模型,支持访谈、自动引导及组合模式。通过静态分析代码、历史漏洞等信息,识别潜在风险并生成标准化报告,指导安全测试与修复优先级。
threat model
build a threat model
map the attack surface
what should we be worried about in this codebase
npx skills add anthropics/defending-code-reference-harness --skill threat-model -g -y


