Skip to content

Security: wallet keys committed in examples/hrc20/.env (public repo) #201

Description

@Martins7513

Summary

Authorized security review identified wallet private keys and mnemonics committed in:

examples/hrc20/.env (branch master)

Variables affected include LOCAL_*, TESTNET_*, and MAINNET_* private keys and mnemonics.

Risk

Anyone can derive signing keys from this file. Even if balances are currently zero, keys must be considered compromised if they were ever used on mainnet or testnet.

On-chain check (Harmony mainnet, 2026-09-18)

We derived addresses and checked ONE + common HRC-20 tokens — no balances at scan time. Addresses are documented in our private report for maintainer correlation (we will not post seeds/keys in this issue).

Recommended actions

  1. Replace secrets with placeholders; add .env.example + gitignore .env
  2. Rotate any key that may have been used
  3. Purge git history if real keys were committed
  4. Enable secret scanning / pre-commit hooks

Happy to coordinate privately if you prefer not to discuss details publicly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions