-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
forge script call traces should not print private key. #6995
Comments
good point, @DaniPopes can we redact the |
Please correct me if I'm wrong but I suspect there is a logical error in: foundry/crates/evm/traces/src/decoder/mod.rs Line 368 in 8885e97
This should be Currently both Redacting the Note that there is possibly the same logical error here: foundry/crates/evm/traces/src/decoder/mod.rs Line 378 in 8885e97
|
nice find! this makes sense do you want to submit a fix + test? |
Sure! Feel free to assign this to me |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (24abca6 2024-01-16T07:35:41.234348345Z)
What command(s) is the bug in?
forge script
Operating System
None
Describe the bug
The call traces will print the private key param of
VM::startBroadcast
andVM::broadcast
. It may lead to users inadvertently leaking sensitive information.The text was updated successfully, but these errors were encountered: