Skip to content
New issue

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

Hard-coded key in HMAC #1018

Closed
tianjk99 opened this issue Dec 8, 2023 · 1 comment
Closed

Hard-coded key in HMAC #1018

tianjk99 opened this issue Dec 8, 2023 · 1 comment

Comments

@tianjk99
Copy link

tianjk99 commented Dec 8, 2023

Please check if there is any problem with using fixed key.

  1. bin/util.js, line 163

The presence of a hardcoded key in the HMAC implementation introduces vulnerabilities that can compromise the security of our application. Using a fixed key may reduce security and easily cause key exposure, difficulty in key rotation, and encryption failure. For enhanced security, it is recommended to remove hardcoded passwords and store key securely using industry-standard practices such as hashing and salting.

@avwo
Copy link
Owner

avwo commented Dec 8, 2023

This is only used to generate temporary file names, there will be no security issues.

@avwo avwo closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants