We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A potential API key, access token, client secret, or authentication credential has been exposed in the codebase. This includes but is not limited to:
sk-...
ghp_...
aws_access_key_id
aws_secret_access_key
xoxb-...
Bearer ...
client_id
client_secret
private_key
Edit the file and remove the sensitive value:
// ❌ Hardcoded secret std::string token = "ghp_XXXXXXXXXXXXXXXXXXXXX"; // ✅ Load from environment or secrets manager std::string token = std::getenv("GITHUB_TOKEN");
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🔍 What Was Detected?
A potential API key, access token, client secret, or authentication credential has been exposed in the codebase. This includes but is not limited to:
sk-...
(OpenAI)ghp_...
(GitHub)aws_access_key_id
/aws_secret_access_key
(AWS)xoxb-...
(Slack bot tokens)Bearer ...
tokensclient_id
,client_secret
,private_key
and other sensitive values🛑 Why This Is Dangerous
🧹 How to Fix This
✅ 1. Remove the Secret from the Code
Edit the file and remove the sensitive value:
The text was updated successfully, but these errors were encountered: