feat: add vector-based retrieval for threat catalog loading 0.1.3
维护者通常 4 天内回复
评估
这个 Issue 还没有评估数据。
描述
Summary
Security analysis currently loads large threat-catalog sections directly into the model context. Add a vector-backed retrieval layer that selects only the catalog entries relevant to the current architecture, attack surfaces, and analysis phase.
The complete catalog must remain the authoritative source. Vector retrieval should optimize candidate discovery without silently excluding required coverage.
Design Sketch
- Parse the canonical catalog into independently retrievable entries.
- Store embeddings with:
- canonical threat/scenario ID;
- source-catalog hash and schema version;
- threat-discovery fields;
- mitigation fields;
- source references.
- Step C performs bounded semantic retrieval using architecture and attack-surface queries.
- Step D loads mitigation data by the exact threat IDs selected in Step C.
- Deduplicate results by canonical ID and record retrieved IDs in the phase artifact.
- Validate index freshness before every analysis run.
- 主要语言
- Python
- 星标
- 17
- 派生
- 6
- 平均合并
- 4 天 31 分钟
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IBM/smith 的其他 Issue
-
security
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 4 天内回复
-
feat: Support tool scoped security guidance analysis可能重新可做 @iamsreec 于 45 天前认领,目前没有进行中的 PR。 未关闭enhancement
维护者通常 4 天内回复
-
feat: Provenance tracking between requirements, test cases, and policy blocks可能重新可做 @iamsreec 于 51 天前认领,目前没有进行中的 PR。 未关闭enhancement
维护者通常 4 天内回复
-
feat: Organize subskills as graphs可能重新可做 @dhl123 于 51 天前认领,目前没有进行中的 PR。 未关闭enhancement
维护者通常 4 天内回复
-
feat: Make skills portable — remove dependency on paths and .env可能重新可做 @dhl123 于 51 天前认领,目前没有进行中的 PR。 未关闭enhancement
维护者通常 4 天内回复
相似的 Issue
-
area:core-platform effort:S priority:P3 risk:night-safe status:ready type:test
难度 2/5 1-3 小时 新手友好度 78/100
randomparity/kdive#3620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
FinanceFlash/unvibecode#760 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
google-research/google-research#3470 ·
维护者通常 21 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
mrvautin/ha-workouts#11 ·