Auditing icon indicating copy to clipboard operation
Auditing copied to clipboard

Resource delegator

Open Dexaran opened this issue 6 years ago • 5 comments

WARNING! This is an example audit request. The main purpose of this audit request is to provide an example of the workflow of the security audit department for new entrants to the position of security auditor.

Audit request

Resource delegator is a simple smart-contract which stakes the desired amount of EOS for caller's CPU or NET for 2 minutes. A user can not request more than 0,1 EOS (for both NET and CPU in total). The contract is intended to work with a total balance of 0,1 EOS on its balance. Contract must only allow one request at a time, i.e. if a user has requested resources then the contract must not accept other requests unless it has successfully completed the current request. The contract must preserve the name of a user whose request is currently in progress in a special multi-index table.

Account ownership restriction issues must not be taken into account during this security audit.

Source code

https://github.com/EthereumCommonwealth/EOS-resource-delegator/tree/master/src

Disclosure policy

Publish everything

Platform

EOS

Dexaran avatar Mar 05 '19 02:03 Dexaran

Estimated auditing time is 7 days.

gorbunovperm avatar Apr 08 '19 15:04 gorbunovperm

@gorbunovperm assigned.

Dexaran avatar Apr 10 '19 14:04 Dexaran

Estimated time to complete the audit - 4 days.

web3abhi avatar Apr 10 '19 16:04 web3abhi

@cryptoabhi assigned.

Dexaran avatar Apr 10 '19 18:04 Dexaran

I have completed and submitted the audit report

web3abhi avatar Apr 13 '19 20:04 web3abhi