How I was able to get extra coins
The Android game's daily bonus check relied on a client-side method whose return value decided whether the bonus was available. By hooking that method at runtime with Frida and forcing it to return true, the researcher could claim the daily bonus repeatedly and collect extra coins.
Published on web.archive.org
It’s a dynamic code instrumentation toolkit. It lets you inject snippets of JavaScript or your own library into native apps on Windows, macOS, GNU/Linux, iOS, Android, and QNX.
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 daily bonus eligibility was enforced only in client-side code, with no server-side check that the bonus had already been claimed.
Impact
An attacker with a rooted device could claim the daily bonus more than once per 24 hours and gain coins without paying, though the text does not show whether the server accepted the extra coins.
What the attacker needed
Rooted Android device; Frida server running on the device; APK available for decompilation
The fix
The bonus eligibility should be validated on the server, which should track claims per account rather than trusting a client-side flag.
How it was found
- Download the APK and decompile it with jadx
- Search the decompiled code for the daily bonus logic and find the method that decides whether the bonus is shown
- Start the Frida server on a rooted Android device
- Write a Frida script that hooks the method and makes it return true
- Run the app under Frida with the script loaded
- Open the daily bonus page and claim the bonus again to collect extra coins
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 phone game decides on the phone itself whether you can claim a daily bonus. The researcher used a tool called Frida to change that decision while the game was running, so the game believed the bonus was always available. Because the check was never confirmed by the game's servers, the extra coins were accepted.
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.