You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security-related question about a possible exposed credential #74
My name is Emma, I am conducting an academic study on possible credential exposure in public GitHub repositories.
While analyzing this repository, I found a string that may represent a credential. I'm including the code snippet below containing possible leakage. To avoid exposing sensitive information publicly, I marked the sensitive information.
Could you please help clarify whether the detected string is:
a real credential, or
a placeholder / example value?
Thank you for your time.
Code snippet (sensitive values masked):
accountName, apiKey, ok := r.BasicAuth()
if !ok {
// Credentials not provided.
err := &APIError{
Code: CodeCredentialsMissing,
Message: "You must authenticate.",
Hint: "Try using multyvac.config.set_key(api_key='us****me', api_secret_key='A****ey', api_url='') before calling other multyvac methods.",
Retry: false,
}
err.Report(http.StatusUnauthorized, w)
return nil, err
}
Thank you in advance for your time - I really appreciate it!
Activity