Yugcoins security record

BNB Chainyugcoins.io

As of 3 Nov 2026, Yugcoins has 3 audit reports by 1 security firm on Trustblock; the latest is by QuillAudits, dated 8 Dec 2022. Those reports list 1 critical acknowledged and not fixed. It also holds 2 deployed contracts on 1 chain.

Critical findings
1 critical acknowledged, not fixed
Reported in “yugcoins” by QuillAudits, Dec 2022. The team acknowledged it. See the findings
Open the latest report
Your label, live
Get the label for your site

Record last updated . It holds audits, findings and contracts up to Nov 2026, and incidents up to Oct 2026. Trustblock does not review code.

Audits3

Newest first

AuditSecurity firmDateScopeCritical findingsReport
yugcoinsSecurity firm: QuillAuditsDate: Scope: 2 addresses on BNB Chain1 critical acknowledged, not fixedOpen · IPFS
TRGSecurity firm: QuillAuditsDate: Scope: Files named in the reportNo open critical findingsOpen · quillaudits.com
yugcoinsSecurity firm: QuillAuditsDate: Scope: 2 addresses on BNB ChainNo open critical findingsOpen · quillaudits.com

Findings27

Statuses are the security firm’s own, from each report.

SeverityOpenAcknowledgedFixed
Critical011
High102
Medium106
Low3210
CriticalUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
HighPossible Manipulation of distributeRewardsAndRugLoser()TRG · QuillAudits · 4 Nov 2022Fixed

performUpkeep() is a public function which can be called by anyone but contains a critical function distributeRewardsAndRugLoser(). This can be exploited by anyone to Rug losers quickly in short span of time by directly calling the performUpKeep function, resulting in the game to get over earlier than expected. This could also result in Denial of service and unfair manipulation of the game.

Open the report
HighsetsTrg() access controlTRG · QuillAudits · 4 Nov 2022Fixed

setsTrg() lacks access control and can be called by anyone to change the sTrg address to any address.

Open the report
MediumUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
MediumUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
Medium_buyAndBurnToken and _rugLoser susceptible to Frontrun attacksTRG · QuillAudits · 4 Nov 2022Fixed

_buyAndBurnToken() function in susceptible to Frontrun attack. This is because the _amountOutMin parameter is set to 0. This is not recommended as this results in 100% slippage and can be frontrunned by attackers and bots especially in a low liquidity pool. Similarly _rugLoser() function is susceptible to frontrun attack (see line: 242). For example, a sandwich attack is possible(which consists of a frontrun and a backrun) to snipe funds from a swap by placing a buy order(with higher gas price) before the user's order and a sell order after the user's order. This would result in the attacker buying at a low price, which results in a costlier trade for the user and then selling at a slightly higher price after the user's trade. This attack is significant especially in the trades that are larger in size/amount. So here it would mean the transfers of large amounts of THERUGGAME tokens while buying and selling them.

Open the report
MediumCentralization issue in rewards and transaction order dependenceTRG · QuillAudits · 4 Nov 2022Fixed

The rewards to the stakers of TRG tokens, in the STRG contract are sent in terms of TRG tokens. But the STRG contract does not hold the TRG tokens that are expected to be given for reward. This is because, according to the current logic, the TRG tokens are sent after the stakers have staked some amount of tokens. Only after this, the dividendPerToken variable in TRG contract is updated, thus giving non-zero rewards. But these TRG tokens are sent by the admin, which brings in centralization for providing the rewards to the stakers. If the TRG tokens are not sent to STRG contract(after the stakers have staked), then the stakers will get no rewards. Also note that currently it is not possible to send TRG tokens to the STRG contract before any stakers come in. This is because the totalStaked is 0, thus giving a panic on line: 42 in TRG contract.    Another issue is that if the TRG tokens are manually sent to the STRG contract each time by the admin for allocating a pool of rewards to the users, an attacker can front run this transaction to deposit a large amount of tokens and then backrun it with withdrawal of his stake, thus sandwiching a substantial amount of rewards, which is unfair to the current stakers(See sandwich attacks).

Open the report
MediumInsufficient checks in Bribe()TRG · QuillAudits · 4 Nov 2022Fixed

In function bribe the following if statement is incorrect and Insufficient.       bool isRugged = IERC20(pair).balanceOf(factory) == 0; This is not a foolproof way to check if a token in the game has been rugged or not. This is because even if the token is Rugged according the flow, still the factory contract can be sent tokens thus setting the isRugged variable to false even if it should have been true.

Open the report
MediumUsage of Openzeppelin draft-eip contracts is not recommendedTRG · QuillAudits · 4 Nov 2022Fixed

Draft EIPs. The following EIPs are still in Draft status. Due to their nature as drafts, the details of these contracts may change and we cannot guarantee their stability. Minor releases of OpenZeppelin Contracts may contain breaking changes for the contracts in this directory, which will be duly announced in the changelog. The EIPs included here are used by projects in production and this may make them less likely to change significantly.”

Open the report
LowUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
Show 9 more
LowUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
LowUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
LowUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
LowUntitled findingyugcoins · QuillAudits · 8 Dec 2022Fixed

No description was provided.

Open the report
LowArithmetic checkTRG · QuillAudits · 4 Nov 2022Fixed

pendingRewards() amount is an unsigned integer member of UserInfo struct and can never be less than zero.           if (user.amount <= 0) return 0; pendingRewards() The same goes for emergencyWithdraw() function. if (user.amount <= 0) revert NotEnoughDeposit(); emergencyWithdraw() Also in the claimReward() function, userRewards is checked if its less than or equal to zero. But the following less than zero statement is not required as pendingRewards() returns an unsigned integer which can never be less than zero.              if (userReward <= 0) revert NotEnoughRewards(); claimReward()

Open the report
LowgetWinner() can be misleadingTRG · QuillAudits · 4 Nov 2022Fixed

getWinner() always shows some winner. This can be misleading. Bcoz this winner may not necessarily be the winner of this round and points can change

Open the report
LowNaming conventionTRG · QuillAudits · 4 Nov 2022Fixed

The afterBalance variable holds the value of the token after the beforeBalance is subtracted from the current balance. This is the balance change, not afterBalance; it is slightly misleading and does not convey the intended message.

Open the report
LowRedundant inheritanceTRG · QuillAudits · 4 Nov 2022Fixed

ERC20Permit is not needed to be inherited as ERC20Votes already inherits it.

Open the report
LowUnlocked pragma (pragma solidity ^0.8.9)TRG · QuillAudits · 4 Nov 2022Fixed

The solidity pragma version is kept unlocked in STRG.sol

Open the report

Contracts2

AddressChainSource code
0x04c8238663631cd88c0a2dd9f27b6655b6a83496Chain: BNB ChainSource code: Verified source
0xf3fd85ec9eaf17e469ebad5d6027282ebc7a5ef2Chain: BNB ChainSource code: Verified source

All 2 addresses and the files the reports name

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="yugcoins"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us