starknet_transaction_prover: redact URL credentials in logs and add startup banner#14164
starknet_transaction_prover: redact URL credentials in logs and add startup banner#14164avi-starkware wants to merge 1 commit into
Conversation
…tartup banner Adds `redact_url_host` which collapses a URL to `scheme://host[:port]`, dropping userinfo, path, and query. The CLI-override logs for `rpc_node_url` and `blocking_check_url` and a new startup banner all route through it so credentials embedded in those URLs cannot reach a log sink. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview CLI override messages for Unit tests cover credentials, default ports, fragments, and invalid input. Reviewed by Cursor Bugbot for commit 948a1e9. Bugbot is set up for automated code reviews on this repo. Configure here. |

Adds
redact_url_hostwhich collapses a URL toscheme://host[:port],dropping userinfo, path, and query. The CLI-override logs for
rpc_node_urlandblocking_check_urland a new startup banner allroute through it so credentials embedded in those URLs cannot reach a log
sink.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com