trailofbits/skills✦ 精选0°

audit-context-building

仓库创建 2026年1月15日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由

用于高精度安全审计前的深度理解与定位。

▸ 风险提示

分析过程需访问源码,可能暴露敏感信息。

这个 Skill 做什么

以逐行/块级分析构建深层代码与架构上下文,辅助后续审计。

以逐行/块级的方式把代码和架构背景梳理清楚,先构建深层上下文再去找漏洞,能把函数、模块和系统级影响连成脉络。适合审计初期或接手陌生代码时用,避免遗漏跨模块的安全边界问题。特点是细到每行/每块分析,常用 First Principles、5 Whys 等方法把原因链条写出来。

▸ 展开 SKILL.md 英文原文

Enables ultra-granular, line-by-line code analysis to build deep architectural context before vulnerability or bug finding.

开发编程代码审计上下文构建逐行分析通用
6.3k
Stars
542
Forks
40
仓库内 Skill
+270
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trailofbits/skills/main/plugins/audit-context-building/skills/audit-context-building/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trailofbits/skills/main/plugins/audit-context-building/skills/audit-context-building/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Deep Context Builder Skill (Ultra-Granular Pure Context Mode)

## 1. Purpose

This skill governs **how Claude thinks** during the context-building phase of an audit.

When active, Claude will:
- Perform **line-by-line / block-by-block** code analysis by default.
- Apply **First Principles**, **5 Whys**, and **5 Hows** at micro scale.
- Continuously link insights → functions → modules → entire system.
- Maintain a stable, explicit mental model that evolves with new evidence.
- Identify invariants, assumptions, flows, and reasoning hazards.

This skill defines a structured analysis format (see Example: Function Micro-Analysis below) and runs **before** the vulnerability-hunting phase.

---

via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有