正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Exposure of confidential secret or token Anthropic API key

Description

The response body contains content that matches the pattern of an Anthropic API key was detected. Anthropic keys are used to access generative AI services. Malicious actors could use these keys to build up excessive charges to your account. Exposing this value could allow attackers to gain access to all resources granted by this token.

Remediation

For general guidance on handling security incidents with regards to leaked keys, please see the GitLab documentation on Credential exposure to the internet.

To remediate a leaked Anthropic key, you should delete it from the list of API keys for your organization.

  • Sign in to your Anthropic account
  • Go to “API settings” by selecting your profile icon and then selecting “API Keys” or through the Settings tab
  • Identify the leaked API key and select the meatball menu (three horizontal dots) next to the key you want to delete
  • Select “Delete API Key”
  • Note: Deleting an API key is a permanent action and cannot be undone
  • Generate a new key by selecting “Create Key” and give it a descriptive name

For more information, please see Anthropic’s website: https://support.anthropic.com/en/articles/8384961-what-should-i-do-if-i-suspect-my-api-key-has-been-compromised.

Details

IDAggregatedCWETypeRisk
798.130false798PassiveHigh