[high] gitleaks: Secret detected: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
high Finding
Scanner: gitleaks
Severity: high
Rule: generic-api-key
Description
Potential secret (generic-api-key) found in src/app.rs:71. Match: a-project-key": "a04b8cf1-9177-42ce-8a7b-084f38b99799"
Location
File:
src/app.rs(line 71)Code
Remediation
Remove the hardcoded API key from src/app.rs line 71. Move the key to a secure configuration management system or environment variables. Consider using a secrets management tool like HashiCorp Vault, AWS Secrets Manager, or similar.
Fingerprint:
6165a41462d4e6a772e9016957c308d0e915650d326db086c2a490dcaeaa16dbGenerated by compliance-scanner
Labels: severity:high, scanner:gitleaks, compliance-scanner