Skip to content
Info disclosure Write-up Beginner

Exposed Crypto Addresses in Frontend Code: A Bug Bounty Story

The frontend JavaScript translation file contained hardcoded cryptocurrency deposit addresses, example transaction IDs, balance messages and system messages about KYC/AML bypass. An attacker could use these real addresses to make phishing sites look legitimate or to redirect deposits.

mohamedabdulhamid Follow

Published on medium.com

In the world of information security, some vulnerabilities appear deceptively simple at first glance, yet hide risks that can unexpectedly threaten users. Today, I’m sharing the story of a bug bounty report I submitted for a cryptocurrency exchange platform, and how a seemingly straightforward discovery sparked a…

Mohamed Abdul Hamid, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely sensitive data such as deposit addresses and internal messages were placed in a public frontend translation bundle instead of being fetched from an authenticated server-side API.

Impact

The exposed addresses could be used in phishing and impersonation campaigns, and malicious browser extensions or man-in-the-middle attacks could redirect deposits, though the platform argued the addresses are public by nature.

What the attacker needed

None

The fix

Sensitive data such as deposit addresses should be served dynamically through authenticated APIs rather than bundled into frontend files.

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 write-up has not been written yet. The Original tab links to the source.

A website sends code to your browser so it can run. That code should not contain secret or sensitive information, because anyone can read it. Here, a file meant only for translated text also held real cryptocurrency wallet addresses and other internal messages, which a criminal could copy to make a fake site look real.

What is Info disclosure?

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

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.