Skip to content
Business logic Audit finding Beginner

NFT Boost Lookup values not adhere to docs

The boost values stored in the contract's lookup array do not match the percentages published in the project documentation, so a user holding a given number of NFTs receives a different boost than the docs promise. The reporter states no exploitable vulnerability was found, only a documentation and code mismatch.

peppef Follow

Originally disclosed on Immunefi

Informational View original
  • Disclosed after under an hour

#41132 [SC-Insight] NFT Boost Lookup values not adhere to docs

Submitted on Mar 11th 2025 at 14:18:17 UTC by @peppef for Audit Comp | Yeet

Description

Brief/Intro

A mismatch exists between the values in NFTBoostWeight page of Yeet Documentation and the nftBoostLookup array in Yeet.sol

Vulnerability Details

On the docs, the page NFTBoostWeight describes the boosts in percentage that a player will receive in $YEET tokens depending on the number of NFTs.
In Yeet.sol the array nftBoostLookup holds all the boost values from 0 to 1500, which corresponds to 15%, namely the maximum boost a user can receive by holding 25 NFTs.
Particularly if a user holds 21 NFTs the boost should be 14.1% while nftBoostLookup at the related position 1400 is stored instead of 1410.

Impact Details

No vulnerability can be found regarding the issue, but it shows a mismatch between docs and code

Proof of Concept

Proof of Concept

N/A

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

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 transcription error when the boost table was copied into the contract, so one entry holds 1400 where the documentation specifies 1410.

Impact

No exploitable vulnerability is claimed; the effect is that users holding certain NFT counts may receive a boost that differs from the published documentation.

What the attacker needed

None

The fix

The lookup entry should be corrected to match the documented boost value, or the documentation should be updated to match the code.

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 smart contract is a program that runs on a blockchain and holds rules such as how many reward tokens someone gets. This project publishes a table saying how much extra reward you earn for holding a certain number of NFTs, and the contract keeps its own table of those numbers. The two tables disagree in at least one place, so the reward a user actually gets can differ from what the documentation says.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by peppef

View all

2 more disclosed reports, best first.

More from Yeet

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.