forked from request/request
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Summary
The hawk.js accepts SHA-1 credentials for authentication which is no longer considered cryptographically secure. With enough resources, an attacker might be able to crack the authentication mechanism and disclose sensitive information from the application.
Simplest Example to Reproduce
if (['sha1', 'sha256'].indexOf(credentials.algorithm) === -1) {
return ''
}Possible Solution
if (credentials.algorithm !== 'sha256') {
return ''
}Context
This issue has been created as part of our SCA vulnerability remediation efforts.
Your Environment
The Cypress package is used for UAT automation in our Gitlab pipelines.
@cypress/request : 3.0.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels