security: remove Asana URLs, harden http-allowed-hosts guidance, deconflict genesis chain IDs#134
Draft
security: remove Asana URLs, harden http-allowed-hosts guidance, deconflict genesis chain IDs#134
Conversation
…ons, deconflict genesis chain IDs Co-authored-by: numbers-official <181934381+numbers-official@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [Security] Fix exposed Asana URLs in public scripts
security: remove Asana URLs, harden http-allowed-hosts guidance, deconflict genesis chain IDs
Mar 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three medium-severity security issues: internal Asana URLs committed to a public repo,
--http-allowed-hosts="*"recommended without security caveats (disables DNS rebinding protection), and root genesis template files sharing chain ID 10508 with testnet (EIP-155 replay risk).Asana URL removal
subnet-cli/subnet-cli-add-subnet-validator-{mainnet,testnet}.sh— replacedhttps://app.asana.com/0/1202305127727547/1202919355642524/fwithsee internal task trackerREADME.mdline 345 — sameHTTP host hardening (README, 3 occurrences)
Replaced the insecure pattern:
--http-host=0.0.0.0 \ --http-allowed-hosts="*"with:
--http-host=127.0.0.1 \ --http-allowed-hosts="<your-rpc-domain.example.com>"Added inline guidance recommending an nginx reverse proxy for external access and noting that the wildcard bypasses avalanchego's DNS rebinding protection (v1.10.3+).
Genesis chain ID deconfliction
Changed
chainIdin all threegenesis/template files from10508(identical tochains/testnet/genesis.json) to99999— a clearly out-of-range placeholder distinct from all deployed environments (mainnet: 10507, testnet: 10508, devnet: 10509). Operators must set a valid unique chain ID before deploying from these templates.Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.