Skip to content

fix(example): avoid potential API key exposure in debug output#800

Open
braveocheretovych wants to merge 1 commit into
a16z:masterfrom
braveocheretovych:fix/config-debug-exposure
Open

fix(example): avoid potential API key exposure in debug output#800
braveocheretovych wants to merge 1 commit into
a16z:masterfrom
braveocheretovych:fix/config-debug-exposure

Conversation

@braveocheretovych

Copy link
Copy Markdown

The example printed the entire Config struct via {config:#?}. Since Config derives Debug and contains URL fields like execution_rpc, this could expose API keys embedded in RPC URLs. Replaced with a generic success message.

Fixes #799

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

Successfully merging this pull request may close these issues.

examples/config.rs: potential API key exposure through Debug output

1 participant