跳到正文
GitHub Blog · AI & ML· Batu Ozturkler·· 22 天前AI 评分40

GitHub 密钥检测模型解析:如何用更低噪声发现更多密钥

GitHub’s model for secret detection: Finding more secrets with less noise

AI 导读

GitHub 介绍了驱动其密钥扫描的上下文感知分类器:用两阶段管线(正则候选生成 + 微调 ModernBERT 分类)替代原 LLM 管线,区分真实凭证与占位符等“难负例”。相比原方案,用户接受度提升 11.5%,post-push 扫描中位执行时间降低 86%,服务成本降低逾 98%,并使通用密钥检测得以扩展到 push protection。

来源:GitHub Blog · AI & ML · github.blog