GitHub 秘密扫描默认拦截 Anthropic 密钥,新增 Salesforce
Secret scanning blocks Anthropic keys by default, adds Salesforce
开发者若在代码中硬编码 Anthropic 密钥,推送将被 GitHub 自动拦截,需立即改用密钥管理或环境变量;同时新增的 Salesforce 检测也值得关注。
Secret scanning now detects new secret types from Salesforce, Anthropic, and Cloudsmith, with the new Anthropic secret types blocked with push protection by default.
秘密扫描现在可以检测来自 Salesforce、Anthropic 和 Cloudsmith 的新秘密类型,其中新的 Anthropic 秘密类型默认通过推送保护进行阻止。
New secret scanning partner
新的秘密扫描合作伙伴
Salesforce is now a secret scanning partner.
Salesforce 现在是秘密扫描的合作伙伴。
When a provider’s secret is found in a public repository, GitHub forwards it to the relevant partner so they can revoke or rotate the credential before it can be abused.
当在公共仓库中发现提供商的秘密时,GitHub 会将其转发给相关合作伙伴,以便他们可以在凭证被滥用之前撤销或轮换该凭证。
| Provider | Secret type |
|---|---|
| Salesforce | salesforce_marketing_cloud_api_oauth2_token |
| 提供商 | 秘密类型 |
|---|---|
| Salesforce | salesforce_marketing_cloud_api_oauth2_token |
Detectors added
新增检测器
Secret scanning now automatically detects the following new secret types in your repositories.
秘密扫描现在会自动检测仓库中的以下新秘密类型。
| Provider | Secret type |
|---|---|
| Anthropic | anthropic_service_api_key |
| Anthropic | anthropic_user_api_key |
| Cloudsmith | cloudsmith_api_key |
| 提供商 | 秘密类型 |
|---|---|
| Anthropic | anthropic_service_api_key |
| Anthropic | anthropic_user_api_key |
| Cloudsmith | cloudsmith_api_key |
Partner secrets are automatically reported to the secret issuer when found in public repositories through the secret scanning partnership program. User secrets generate secret scanning alerts when found in public or private repositories.
通过秘密扫描合作伙伴计划,在公共仓库中发现的合作伙伴秘密会自动报告给秘密签发者。用户秘密在公共或私有仓库中发现时会产生秘密扫描警报。
Push protection defaults expanded
推送保护默认范围扩大
The following detectors are now included in push protection by default. Repositories with secret scanning enabled, including free public repositories, will have commits containing these secrets automatically blocked.
以下检测器现在默认包含在推送保护中。启用了秘密扫描的仓库(包括免费的公共仓库)将自动阻止包含这些秘密的提交。
| Provider | Secret type |
|---|---|
| Anthropic | anthropic_service_api_key |
| Anthropic | anthropic_user_api_key |
| 提供商 | 秘密类型 |
|---|---|
| Anthropic | anthropic_service_api_key |
| Anthropic | anthropic_user_api_key |
Learn more
了解更多
Learn more about secret scanning and see the full list of supported secrets in our documentation. Let us know what you think in the community discussion.
在我们的文档中了解更多关于秘密扫描的信息,并查看支持的秘密的完整列表。在社区讨论中告诉我们您的想法。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力