You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools: Make 4byte.directory selector lookup opt-in in decode_apdu
decode_function_selector() automatically queried 4byte.directory for
any selector that was not present in the local cache. Operators
running the decoder on captured APDU traces had no way to keep the
analysis offline, and the function selectors of internal contracts
or private integrations could leak to a third-party host without an
explicit prompt.
Add an --online-selectors flag (default off). When set, main() flips
the module-level ALLOW_ONLINE_SELECTOR_LOOKUP gate and emits a clear
warning before any external request. Without the flag the decoder
returns "Unknown (0x...)" for cache misses and never reaches the
network (CWE-201).
0 commit comments