Skip to content
Leaked secrets Disclosed report Beginner

Private eth key found

A private Ethereum key was committed to a public repository in an example environment file. The reporter states that the key controls a wallet holding funds, so anyone who reads the file could spend those coins.

mstwtd73 Follow

Originally disclosed on HackerOne

  • Disclosed after 41 days

Hello, team!

Found private ethereum key at file: https://github.com/Sifchain/sifnode/blob/develop/smart-contracts/.env.example

This key points to wallet balance:

balance.jpg
balance.jpg From the original on HackerOne

As I understood, private key allows to spend this coins, so it may need to be masked or hidden.

Impact

eth private key disclosure

The original report as published on HackerOne, by mstwtd73. 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 real private key was placed in a committed example configuration file instead of a placeholder value.

Impact

The key appears to control a wallet with funds, so it may allow spending them.

What the attacker needed

Public repository access; no account needed

The fix

The key should be masked or hidden in the 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 the secret number that proves you own a cryptocurrency wallet; whoever has it can move the money. Here that secret was saved in a file inside a public code repository, so anyone browsing the project could copy it. The reporter says the wallet behind it held coins, meaning those funds were exposed.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More from Sifchain

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.