Skip to content
Info disclosure Disclosed report Beginner

ETHEREUM_PRIVATE_KEY leaked via github

A private key used to sign Ethereum transactions was committed to a public GitHub repository. Anyone who found it could use it to access the funds held at the corresponding address.

bugkillerak Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 4 months

ETHEREUM_PRIVATE_KEY

It is used to sign Ethereum transactions on the Blockchain.

Steps To Reproduce:

Open this url https://github.com/Sifchain/sifnode/blob/f96727748e1f44926d3bd72b1021f6c2461dee17/test/integration/start-integration-env.sh

  • POC - screenshot attached

Impact

It shouldn’t be publicly shared because whoever owns the Private keys can access the funds for that address. -Private keys are used to create Public addresses using SHA256 hash function.

Attachments

Screenshot_(164).png
Screenshot_(164).png From the original on HackerOne

The original report as published on HackerOne, by bugkillerak. 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 a developer committed a test private key into a public source repository.

Impact

Anyone with the key could access the funds for that address, though the text does not say whether the key controlled real funds.

What the attacker needed

Public GitHub repository

How it was found

  1. Open the GitHub file URL given in the report.

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 the password that proves you own a cryptocurrency wallet. If it is published, anyone can use it to move the money. Here the key was left in a file on a public code-hosting site.

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.