以太坊安全性:以太坊的安全性问题在摩卡测试中得到了证明。 该修复程序也得到了证明

时间:2021-02-05 08:26:00
【文件属性】:
文件名称:以太坊安全性:以太坊的安全性问题在摩卡测试中得到了证明。 该修复程序也得到了证明
文件大小:152KB
文件格式:ZIP
更新时间:2021-02-05 08:26:00
security ethereum smart-contracts solidity mocha-tests 以太坊安全 :red_exclamation_mark: :warning: 请勿在此存储库中使用合同。 它们很容易造成安全隐患。 :warning: :red_exclamation_mark: 带有一些以太坊安全漏洞的存储库。 使用Mocha测试演示了错误和修复。 到目前为止添加的错误: 溢出 下溢 重入(DAO hack) Delegatecall(奇偶校验黑客风格) DOS(例如,永远担任拍卖负责人) DOS(*数组循环) 强制以太(依靠不变this.balance == 0) Tx起源 未经检查的send()输出 存储覆盖(通常在蜜罐中使用-或真正的错误) 阵列存储覆盖(长度下溢-存储覆盖) extcodesize在用于检查调用方是否为合同时被绕过 跑: tru
【文件预览】:
ethereum-security-master
----.gitignore(38B)
----truffle-config.js(249B)
----package.json(773B)
----package-lock.json(8KB)
----LICENSE(34KB)
----node_modules()
--------bignumber.js()
----README.md(2KB)
----migrations()
--------2_migration.js(2KB)
--------1_initial_migration.js(129B)
----contracts()
--------reentrancy()
--------forcether()
--------dos()
--------overunderflow()
--------Migrations.sol(515B)
--------arraystorageoverride()
--------txorigin()
--------storageoverride()
--------send()
--------dos_unbound_array()
--------extcodesize()
--------delegatecall()
----truffle.js(135B)
----.gitattributes(33B)
----test()
--------reentrancy()
--------forcether()
--------dos()
--------overunderflow()
--------arraystorageoverride()
--------txorigin()
--------storageoverride()
--------send()
--------dos_unbound_array()
--------extcodesize()
--------delegatecall()

网友评论