Skip to content
Smart contracts Write-up Beginner

Smart Contract Funds Lost Due to Missing Address Validation: $80

The smart contract did not validate the beneficiary address, allowing it to be set to the zero address. Funds sent to that address would be lost forever.

JEETPAL Follow

Published on osintteam.blog

Read Free

JEETPAL, on osintteam.blog

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 the contract lacked a check to reject the zero address when setting the beneficiary.

Impact

Funds sent to the zero address are lost forever and cannot be recovered.

What the attacker needed

None

The fix

The contract should require that the new beneficiary address is not the zero address before assigning it.

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 smart contract is a program on a blockchain that holds and moves funds. If it lets someone set an address without checking it, they might accidentally use the zero address, which is like a black hole where funds disappear. This article explains that missing check and how to add it.

What is Smart contracts?

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.

More by JEETPAL

View all

12 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Smart contract vulnerabilities

The lesson behind this report.

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.