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
fix: remove hardcoded Engine API JWT secret and require explicit configuration
The default BASE_NODE_L2_ENGINE_AUTH_RAW value was a well-known public hex
string committed in the repository. Because authrpc binds to 0.0.0.0, any
operator using host networking, Kubernetes, custom port mappings, or shared
Docker networks was exposed to unauthenticated Engine API access.
- Replace hardcoded secret in .env.mainnet and .env.sepolia with a
placeholder that instructs operators to generate their own value
with `openssl rand -hex 32`
- Add validation in execution-entrypoint that exits with a clear error
message if BASE_NODE_L2_ENGINE_AUTH_RAW is unset or still holds the
placeholder value
- Upgrade the existing empty-check in consensus-entrypoint to also catch
the placeholder value
- Document BASE_NODE_L2_ENGINE_AUTH_RAW as a required field in README.md
Fixes#1086
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,10 @@ The following are the hardware specifications we use in production:
64
64
-`BASE_NODE_L1_BEACON`: your L1 beacon node endpoint
65
65
-`BASE_NODE_NETWORK`: `base` or `base-sepolia`
66
66
-`RETH_CHAIN`: `base` or `base-sepolia`
67
+
-`BASE_NODE_L2_ENGINE_AUTH_RAW`: a 32-byte hex secret shared between the execution and consensus containers — **never use the placeholder value**. Generate with:
0 commit comments