-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello team, in ListAccount.js I've noticed that in our codebase, assigning a default value to the ALCHEMY_API_KEY as shown below:
const ALCHEMY_API_KEY =
process.env.ALCHEMY_API_KEY || "oKxs-03sij-U_N0iOlrSsZFr29-IqbuF";
Before making any changes, I want to ensure that including a default API key like this does not pose any security risks. Is it safe to have a default ALCHEMY_API_KEY hardcoded in repository? Could this lead to potential misuse or exposure of our API resources? What are the best practices for handling API keys in our projects to ensure security and flexibility?
Metadata
Metadata
Assignees
Labels
No labels