Closed yuriy77k closed 1 year ago
Binance-Peg Dogecoin Token (DOGE) smart contract security audit report performed by Callisto Security Audit Department
The Binance-Peg Dogecoin Token (DOGE) is an upgradable contract where the owner can change the executable contract whenever they want. In this report, we audit contract implementation https://bscscan.com/address/0xba5fe23f8a3a24bed3236f05f2fcf35fd0bf0b5c#code that was active on 30 April 2023
In total, 1 issue were reported, including:
0 high severity issues.
0 medium severity issues.
1 low severity issue.
In total, 2 notes were reported, including:
0 notes.
2 owner privileges.
No critical security issues were found.
Lack of transaction handling mechanism issue. WARNING! This is a very common issue, and it already caused millions of dollars in losses for lots of token users! More details here.
Add the following code to the transfer(_to address, ...)
function:
require( _to != address(this) );
CREATE (0xf0)
opcode is assigned following this scheme keccak256(rlp([sender, nonce]))
. Therefore you need to use the same address that was originally used at the main chain to deploy the mock contract at a transaction with the nonce
that matches that on the original chain. Example: If you have deployed your main contract with address 0x010101 at your 2021th transaction then you need to increase your nonce of 0x010101 address to 2020 at the chain where your mock contract will be deployed. Then you can deploy your mock contract with your 2021th transaction, and it will receive the same address as your mainnet contract.The audited smart contract can be deployed. Only a low severity issue was found during the audit.
Users must pay attention to unlimited contract owner's rights.
It is recommended to adhere to the security practices described in pt. 4 of this report to ensure the contract's operability and prevent any issues that are not directly related to the code of this smart contract.
Audit request
Binance-Peg Dogecoin Token (DOGE)
Source code
https://bscscan.com/address/0xba2ae424d960c26247dd6c32edc70b295c744c43
Payment plan
... Write [x] at the checkbox of the payment plan that suits your needs ...
Disclosure policy
Standard disclosure policy.
Contact information (optional)
Public
Platform
BSC