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

Don't print Etherscan api key in logs #550

Open
iirekm opened this issue Jan 2, 2025 · 0 comments
Open

Don't print Etherscan api key in logs #550

iirekm opened this issue Jan 2, 2025 · 0 comments

Comments

@iirekm
Copy link

iirekm commented Jan 2, 2025

Currently ityfuzz produces logs like:

INFO fetching abi from https://api.bscscan.com/api?module=contract&action=getabi&address=0x84...&format=json&apikey=C7...

This is potential security issue e.g.:

  • if someone uses a paid version of Etherscan and this key leaks via logs so someone else can use the key for free
  • if someone does a leaked key to commit a crypto crime and investigation leads to other, innocent person

Users generally don't expect keys in logs. It should be e.g. replaced with ***secret***.

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

1 participant