Decats

QuillAudits1 address on Polygon (POS)

Audit · firm’s term: audit report

QuillAudits reviewed DeCats on 16 Nov 2023: 4 findings, 0 critical; none marked fixed.

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

Report hosted on quillaudits.com.

Trustblock does not review code.

Findings4

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low400
LowFront running of init functionOpen

init function basically acts as an initialise function for the contract. creator, totalSupply, name, decimals, and symbol are set through this function. As well as, the creator address’s balance is set with total supply.Attackers/Searchers can front-run the init call transaction by looking at the mempool. Through this, they can set the values mentioned above and steal tokens. This is happening because the function is public, and there is no check on who the caller is. This is not a high-severity issue because the contract is deployed and live already.

LowNot protected for the ERC20 approval race conditionOpen

There is no protection for race condition through the approve function. For Example, if Alice approves 10 tokens to Bob, later wants to change the approval to 5 tokens and calls the approve function which will create a transaction. Bob can look into the mempool and notice that approval is changed. Then, Bob will send a transaction (call transferfrom) with a higher gas price than the approval transaction to transfer 10 tokens to himself. Later, 5 tokens approval transaction is executed, and Bob can get 5 more tokens as well. Alice wanted to send 5 tokens but instead gave out 15 tokens. The contract is not inheriting OpenZeppelin’s ERC20 contract.

LowReduce number storage slots usedOpen

Each slot in the storage is 32 bytes in size. decimals and initialized only use 1 byte, but both are defined between 32-byte size variables. This creates new slots just for 1-byte variables, and total number of slots is 6.

LowUse the latest version of SolidityOpen

The contract is using 0.6.9 solidity version, which is old and contains vulnerabilities. Using the latest stable solidity version will prevent vulnerabilities.

Contracts in scope1

AddressChainSource code
0x198f1d316aad1c0bfd36a79bd1a8e9dba92daa18Chain: Polygon (POS)Source code: Verified source

Part of DeCats’s security record

DeCats
Audits1 audit by 1 firmLast audit Nov 2023, by QuillAudits.
Critical findingsNo open critical findingsIn 1 report.
Open DeCats’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