feat: update Makefile - #2292
Conversation
Codex Code Review
|
| # sourced the right file in the right shell. | ||
| LAUNCH_ENV ?= $(HOME)/align-launch.env | ||
| LAUNCH_ENV_VARS = ETH_RPC BASE_RPC ETH_TOKEN BASE_TOKEN CLAIM_ADMIN_SAFE ETH_DISTRIBUTOR_SAFE \ | ||
| BASE_DISTRIBUTOR_SAFE ETH_TREASURY_SAFE DEPLOYER START_TIMESTAMP ETH_DEADLINE \ |
There was a problem hiding this comment.
Low: launch-env prints every var in LAUNCH_ENV_VARS in cleartext (line ~77 printf ' %-24s %s\n' "$$v" "$$val"), including DEPLOYER. Everywhere else in this Makefile the deployer secret is named DEPLOYER_PRIVATE_KEY (e.g. line 29), so DEPLOYER reads like it should be the address — but the name alone doesn't enforce that. If an operator populates the launch-env file by copy-pasting from a different convention and puts a private key under DEPLOYER, this target will echo it straight to the terminal/CI log right before a mainnet deploy. Consider renaming to DEPLOYER_ADDRESS (or adding a comment noting it must be an address, never a key) to remove the ambiguity.
ReviewSmall, well-scoped Makefile change (adds a Security: No Critical/High/Medium issues. One Low-severity note posted inline: the printed Bugs / logic: None found. Simplicity: The target is appropriately minimal for what it does (loop + eval + printf), no unnecessary abstraction. No other issues found. |
No description provided.