YYDS Finance audit reports

YYDS Finance has 1 public audit report from QuillAudits; dated 7 Nov 2023; no critical findings reported.

Critical and high findings
No open critical findings; 1 high acknowledged in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

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

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
YYDS FinanceSecurity firm: QuillAuditsDate: Scope: Files listedNone openFindings: 1 high · 3 medium · 4 low
8 acknowledged
quillaudits.com ↗

Findings11

11 findings in 1 report: 8 acknowledged (the team chose not to change the code), none open, 3 informational.

SeverityAcknowledged
Critical0
High1
Medium3
Low4

Not fixed (8)

HighAcknowledgedOn-chain generated prices can be manipulatedYYDS Finance · QuillAudits · 7 Nov 2023

On-chain generated prices are susceptible to price manipulation as these values can be affected by users of the protocol. For now, token price is calculated via the tokenPrice() function below.

Report ↗
MediumAcknowledgedImproper token accountingYYDS Finance · QuillAudits · 7 Nov 2023

In swapAndDividend(), YYDS tokens are swapped to their USDT equivalent via the uniswapV2Router. After the swap, all the USDT in tokenReceiver is transferred to the marketingAddr and treasureAddr and this could lead to accounting errors if there was some USDT already in the tokenReceiver before the call to swapAndDividend(). Scenario: If another user sends in 1,000 USDT tokens to the tokenReceiver and the swap yields 500 USDT, it’ll send ~1,333USDT to the marketingAddr and ~166USDT to the treasureAddr which is 300% more than expected.

Report ↗
MediumAcknowledgedMissing test casesYYDS Finance · QuillAudits · 7 Nov 2023

The YYDS token contract does not have any test cases and has not shown any results of thoroughly testing the protocol before launch. It is advised to have >95% code coverage before deploying protocols so as to reduce the surface area open to errors.

Report ↗
MediumAcknowledgedUse of two-step ownableYYDS Finance · QuillAudits · 7 Nov 2023

If ownership transfer is not done appropriately, the current contract owner can renounce/transfer ownership, lose owner privileges, and lose the ability to burn tokens. When ownership is renounced, all of the contract’s methods will be rendered unusable.

Report ↗
LowAcknowledgedMissing event emissionYYDS Finance · QuillAudits · 7 Nov 2023

Some of the contract functions that update the token’s state do not emit events when called. It is advisable for ease of tracking changes on the blockchain to emit events. The following functions could have events emitted when called: setBuyInterval, setMaxTokenVaulePerTx, setMaxTokenVauleSellPerTx, setIntervalDays, setBuyMarketingFee, setSellMarketingFee, setNumTokensSellToSwap, setMinAmountDeflation, and setMinAmountBurn.

Report ↗
LowAcknowledgedNo way to withdraw stuck tokens/BNBYYDS Finance · QuillAudits · 7 Nov 2023

In the course of transacting with contract addresses and swaps, there could be tokens mistakenly sent into the YYDS token contract and will remain stuck there with no means to claim them.

Report ↗
LowAcknowledgedOutdated librariesYYDS Finance · QuillAudits · 7 Nov 2023

The codebase is replete with old packages from libraries that have gotten updates and newer releases. If the older versions are still in use and they contain bugs, then the entire codebase would be opened up to a larger attack surface than necessary. The ERC20 library used is an older version without the newer internal checks and custom error messages, it also uses the SafeMath library which is redundant from solidity versions >0.8.0 due to internal overflow and underflow checks.  The SafeERC20 library also exposes the safeApprove function which is deprecated to favor the use of safeIncreaseAllowance and safeDecreaseAllowance instead.

Report ↗
LowAcknowledgedVariables can be converted into immutable instead of constantYYDS Finance · QuillAudits · 7 Nov 2023

For addresses and values that do not change after deployment, they can be stored as immutable values to reduce gas costs for reading from storage. Some of these variables are tokenOwner, tokenReceiver, uniswapV2Pair and uniswapV2Router all set at deployment time in the constructor.

Report ↗

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

YYDS Finance: questions

Is YYDS Finance audited?

Trustblock holds 1 public audit report for YYDS Finance, dated 7 Nov 2023. The latest is by QuillAudits (“YYDS Finance”).

Who audited YYDS Finance?

QuillAudits wrote the report Trustblock holds for YYDS Finance.

Are there open findings in YYDS Finance’s audits?

11 findings in 1 report: 8 acknowledged (the team chose not to change the code), none open, 3 informational. No critical finding is reported. Statuses are the security firms’ own.

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