Done
Details
Details
Assignee
Unassigned
UnassignedReporter
Julian Ladisch
Julian LadischPriority
Development Team
Core: Platform
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 10, 2022 at 8:44 PM
Updated March 10, 2022 at 4:48 PM
Resolved March 10, 2022 at 4:48 PM
snyk.io correctly flags the empty string in crypto.createHmac('sha256', '') in coverage.js as a security issue because the secret of a Hmac must not be a public constant:
https://cwe.mitre.org/data/definitions/547.html
Replacing the Hmac algorithm by a hash algorithm is the way to fix it because only a hash is needed here.