通过预提交钩子, Talisman 会验证输出的更改集,以检测出可疑的内容,例如令牌、密码和私钥。
一个用于检测和防止秘密被检入的工具
## 目录 - [什么是 Talisman?](#what-is-talisman) - [安装](#installation) - [在路径上安装(推荐的方法)](#install-onto-path-recommended-approach) - [作为全局钩子模板安装](#installation-as-a-global-hook-template) - [配置项目](#configuring-a-project) - [与钩子框架一起使用](#using-with-hook-frameworks) - [预提交](#pre-commit) - [Husky](#husky) - [直接调用 talisman](#directly-invoking-talisman) - [升级](#upgrading) - [Talisman 的使用](#talisman-in-action) - [验证](#validations) - [忽略文件](#ignoring-files) - [交互模式](#interactive-mode) - [忽略特定检测器](#ignoring-specific-detectors) - [忽略特定关键字](#ignoring-specific-keywords) - [忽略同一类型的多个文件(带有通配符)](#ignoring-multiple-files-of-same-type-with-wildcards) - [通过指定语言范围忽略文件](#ignoring-files-by-specifying-language-scope) - [自定义搜索模式](#custom-search-patterns) - [配置严重性阈值](#configuring-severity-threshold) - [Talisman 作为 CLI 工具](#talisman-as-a-cli-utility) - [交互模式](#interactive-mode-1) - [Git 历史扫描器](#git-history-scanner) - [校验和计算器](#checksum-calculator) - [Talisman HTML 报告](#talisman-html-reporting) - [示例屏幕截图](#sample-screenshots) - [卸载](#uninstallation) - [从全局钩子模板中卸载](#uninstallation-from-a-global-hook-template) - [从单个仓库中卸载](#uninstallation-from-a-single-repository) - [对 Talisman 的贡献](#contributing-to-talisman) # Talisman 是什么? Talisman 是一个工具,用于扫描 git 变更集,确保潜在的秘密或敏感信息不会从开发人员的工作站中流出。它会验证输出的变更集,检查看起来可疑的内容,例如潜在的 SSH 密钥、授权令牌、私钥等。暂无开放 Issues,或尚未同步最近议题。