Skip to content
Info disclosure Disclosed report Beginner

ETHEREUM_PRIVATE_KEY leaked via Open Github Repository

A GitHub workflow file contained a hardcoded Ethereum private key and mnemonic, exposing these secrets publicly.

fozisimi Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 45 days

Summary:

GitHub is a truly awesome service but it is unwise to put any sensitive data in code that is hosted on GitHub and similar services as I was able to find internal data as responsible disclosure I wanted to share it like this the only channel to do so, and it's related to your sensitive services uploaded by User: khdegraaf Last indexed on Mar 17, 2021

##Leak here:

https://github.com/Sifchain/sifnode/blob/develop/.github/workflows/node.yml

==================================================================

CONSENSUS_THRESHOLD: 25 OPERATOR: "0x627306090abaB3A6e1400e9345bC60c78a8BEf57" PAUSER: "0x627306090abaB3A6e1400e9345bC60c78a8BEf57" OWNER: "0x627306090abaB3A6e1400e9345bC60c78a8BEf57" MNEMONIC: "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" INFURA_PROJECT_ID: "JFSH7439sjsdtqTM23Dz" INITIAL_VALIDATOR_ADDRESSES: "0x627306090abaB3A6e1400e9345bC60c78a8BEf57,0xf17f52151EbEF6C7334FAD080c5704D77216b732" INITIAL_VALIDATOR_POWERS: "50,50" MAINNET_GAS_PRICE: 200000000000 EROWAN_ADDRESS: "0x0d8cc4b8d15D4c3eF1d70af0071376fb26B5669b" ==ETHEREUM_PRIVATE_KEY: "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3"==

Impact

Thanks

The original report as published on HackerOne, by fozisimi. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, sensitive credentials were hardcoded in a publicly accessible GitHub workflow file instead of being stored securely.

Impact

The report shows a leaked private key and mnemonic in a public repository, but does not describe actual exploitation.

What the attacker needed

Access to the public GitHub repository

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A private key is like a password for a cryptocurrency wallet. Here, a key and mnemonic were left in a public code repository, so anyone could see them.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Sifchain

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.