Guess  Meme Rust

Guess Meme Rust Smart Contract Audit Report

Share
Share
SolanaSolana
DeFiBonding Curve AlgoSPL Token
SolanaSolana
DeFiBonding Curve Algo+1

QuillAudits audited the Guess Meme Rust smart contracts on Solana between Feb 26, 2025 and Apr 22, 2025. The audit found 8 issues: 4 high, 3 medium, 1 low, of which 2 resolved, 5 acknowledged and 1 partially resolved.

Project Description

Guessmeme is a Solana bonding curve protocol that enables token creation and trading through an automated market maker. Users can create tokens with customizable parameters, but final metadata and minting authority must be set by an admin through the meta function.

Users enter by calling the buy function to purchase tokens with SOL, and can exit through the sell function to receive SOL back. Both functions use a linear bonding curve formula to determine prices, with fees applied to each transaction.
Only a hardcoded admin address (4B868oRgryogLJirzMkebmBgcWirKSUE1WUe6Z21F8o1) can withdraw SOL from the bonding curves, and this is only possible when a curve is marked as complete (when all tokens are sold). Token creators have no direct access to withdraw funds from their curves.

Timeline

S1
Feb 26, 2025
IA
Mar 7, 2025
S2
Apr 22, 2025

Scope of Audit

The scope of this Audit was to analyze the Smart Contracts for quality, security, and correctness.

Methodology: the QuillAudits smart contract audit process.

speedometer
0
50%
60%
70%
90%
100%
94.4%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0000
acknowledged2300
partially resolved1000
resolved1010
Guess  Meme Rust

Guess Meme Rust

High Severity Issues

Missing Token Account Owner Validation Check

Resolved
arrow-right
Description

The buy and sell functions don't properly validate that the token accounts provided belong to the expected owners. This could allow attackers to pass in token accounts they don't own or manipulate the transaction with incorrect token accounts. There is no check during Account declaration or when users interact with these functions.

Contract

lib.rs

Recommendation

Add quality checks in the account declaration and on the functions for runtime check

Possible lock of funds due to the tendency of complete status remaining active

Acknowledged
arrow-right
Description

The bonding curve's funds can become permanently locked if all tokens are not sold. The withdraw function requires complete status, which is only set when real_token_reserves reaches zero, creating a potential deadlock scenario. Complete status solely depends on selling all tokens (Not 80% of tokens). There is a possibility that the bonding curve will not sell tokens until the real token reserve value becomes 0.

Contract

lib.rs

Recommendation

Fix the code implementation to be dependent on the sale of 80% tokens. This will indirectly fix the issue H3, ensuring that there are 20% left over tokens in the contract to be withdrawn alongside SOL.

Zero Token Withdrawal Risk: Complete Status Only Triggered After Last Token Sale

Acknowledged
arrow-right
Description

The bonding curve's "complete" status, which enables withdrawal, is only triggered when the last token is sold. This design means there will be no tokens left to withdraw when the withdraw authority calls the withdraw function.

Contract

lib.rs

Recommendation

See issue H-4

The create instruction is susceptible to unlimited minting attack and pump/dump scenario

Partially Resolved
arrow-right
Description

1. Unlimited Minting Exploits - With the dependence on admin calling the meta function, there are high chances for users to mint an unlimited amount of the tokens before admin action.
2. Price Manipulation Attack - Users can manipulate the price as at the point of creating tokens so it is favorable for a pump and dump scenario.

Contract

lib.rs

Recommendation

Introduce some variables in the BondingCurve account that tracks when an initial mint has been completed and when metadata has been finalized. These variables could help stand as a check to prevent minting more than once after token creation. To keep all tokens to use a standard value when users create a token, use the global values.

Medium Severity Issues

Low Severity Issues

Appendix

Disclaimer

Guess  Meme Rust

Guess Meme Rust

High Severity Issues
Medium Severity Issues
Low Severity Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC