Closed carlossampol closed 5 years ago
Auditing time is 1 day
@MrCrambo assigned.
My report is finished
Auditing time is 1 day.
My report is finished.
@danbogd assigned.
Auditing time 1 day
@RideSolo assigned
Curate (CUR8) Token smart contract security audit report performed by Callisto Security Audit Department
Symbol : CUR8
Name : Curate
Capped supply: 100,000,000
Decimals : 8
Standard : ERC20
In total, 2 issues were reported including:
No critical security issues were found.
It is possible to double withdrawal attack. More details here.
Lack of transaction handling mechanism issue. WARNING! This is a very common issue and it already caused millions of dollars losses for lots of token users! More details here.
Add the following code to the transfer(_to address, ...)
function:
require( _to != address(this) );
Transfers to address 0 is used as a basic burn mechanism, however transfer to address zero can also be a result of a mistake by a user or a dapp, devs should take this issue into consideration
function transfer(address to, uint tokens) public returns (bool success) {
balances[msg.sender] = safeSub(balances[msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
Transfer(msg.sender, to, tokens);
return true;
}
function transferFrom(address from, address to, uint tokens) public returns (bool success) {
balances[from] = safeSub(balances[from], tokens);
allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
Transfer(from, to, tokens);
return true;
}
function totalSupply() public constant returns (uint) {
return _totalSupply - balances[address(0)];
}
The audited smart contract can be deployed. Only low severity issues were found during the audit.
https://gist.github.com/yuriy77k/5ad87c96038fe675464e03df5a2960a1
https://gist.github.com/yuriy77k/515f895dfb06b566c0a99478a333b0fd
https://gist.github.com/yuriy77k/90fd91fcf6b5f81094af0bfc74ba5054
Audit request
CURATE is a style discovery decentralized app (DApp) i.e 'blockchain smart contract enabled' platform, which rewards users with digital tokens in the form of BTC, ETH and our own $CUR8 tokens in return for users curating fashion styles.
The audit request is for our own ERC-20 token Curate (CUR8).
GitHub: https://github.com/curate-project Website: https://curate.style/
Source code
https://etherscan.io/address/0x490dbf7884b8e13c2161448b83dd2d8909db48ed#code
Disclosure policy
jmshkm@me.com
Platform
Ethereum
Number of lines:
108