cloudflare / cloudflare/cfweb3

Infura API key is exposed

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
318
Forks
46
PR merge metrics
No merged PRs in 30d

Description

https://github.com/cloudflare/cfweb3/blob/c4e627627732edfadcaccd90b5656b0b3c54c43c/contract/hardhat.config.js#L22

Its probably very unlikely that the Infura account that is linked to this key is _not_ on the free tier but on the small chance that it is, someone could use it for their own nefarious purposes.

Suggestion:
There could be added documentation for a user to set up an Infura account to get their own API key and possibly use dotenv instead to handle environment variables. Let me know what y'all think and I could open up a PR :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.