TRG

QuillAuditsFiles named in the report

Audit · firm’s term: audit report

QuillAudits reviewed Yugcoins (TRG) on 4 Nov 2022: 16 findings, 0 critical; 11 marked fixed, 5 open.

No open critical findings
Open the reportOpen Yugcoins’s security record

Report hosted on quillaudits.com.

Trustblock does not review code.

Findings16

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

SeverityOpenAcknowledgedFixed
Critical000
High102
Medium104
Low305
HighPossibility of Miscalculation of RewardsOpen

- If setsTrg() function is not called before the deposit() in the STRG starts, then it will lead to incorrect calculation of pendingRewards and dividendPerToken. By default the sTrg variable be a zero address.

MediumCentralization RiskOpen

The onlyOwner functions such as changeCult(), changeDCult(), changeTrg() and emergencyRemoveToken() can be exploited by a malicious admin resulting in a potential Denial of Service attack to users. For example, if the cult and the trg address is changed by a malicious admin to point to some other address, the users will not be able to call the bribe() function because it will lead to execution of the if statement on line: 163 resulting in Denial of Service attack. Additionally emergencyRemoveToken() can be used by a malicious admin to remove tokens that are unfavourable to the winning conditions and can be used to manipulate the game.

LowContract naming conventionOpen

There are two contracts with similar names in the codebase, TheRugGame and THERUGGAME. It could be more convenient to have the names more explicit and less similar.

LowStaking has no time delayOpen

The staking in STRG contract has no time delay. As a result, there is no incentive for users to stake for a longer time once the rewards in TRG tokens are allocated by the admin to the STRG contract.

LowUncapped supplyOpen

There is supply variable that has been used as a parameter in the constructor to mint a specific supply of tokens. But this does not guarantee that there won't be any more tokens minted apart from this supply which can be misleading.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (8)

  • com/razzorsec/RazzorSec-Contracts/blob/main/AccessControl/SafeOwn.sol
  • Ownable2Step.sol
  • TRG.sol
  • Factory.sol
  • Liquidity.sol
  • STRG.sol
  • THERUGGAME.sol
  • ERC20Capped.sol

Part of Yugcoins’s security record

Yugcoins
Audits3 audits by 1 firmLast audit Dec 2022, by QuillAudits.
Critical findings1 critical acknowledged, not fixedReported in “yugcoins” by QuillAudits, Dec 2022. The team acknowledged it.
Open Yugcoins’s security record

Security firm

QuillAudits

350 projects reviewed · 459 reports · latest Apr 2025

See QuillAudits’s audits

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