OriginProtocol/security
소개
Materials related to security: docs, checklists, processes, etc...
보안 및 개인정보 보호측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRepo for public materials related to Origin security.
Table of Contents
Defi incident reports
Security materials
- Solidity security considerations
- Trail of Bits curated list
- Caveats about ecrecover
- 2020 paradigm CTF writeup
- How to do a Proper Code Review
Checklists
- ERC20 token integration checklist
- Contract PR checklist
- Verbose Contract PR Checklist
- Deployment Plan template on notion
Tools
Testing
Slither
Slither is a static analysis tool for Solidity contracts.
How to run it
pip3 install slither-analyzer
cd origin-dollar/contracts
yarn install
yarn run slither
Updating Slither DB
yarn run slither --triage
Running this command will open an interactive console where you can select the errors/warning that you want to be excluded. Once done, commit and push the updated Slither DB file. Note: make sure you are running the latest version of slither on your local.
Echidna
Echidna is a test fuzzer for Solidity contracts.
The Echnida tests for the OUSD contracts are under contracts/contract/crytic.
How to run it
On MacOS and Linux, download the latest pre-compiled binaries from here. Untar the files in a directory and add the path where the echidna-test binary was extracted to your shell's PATH.
To run the tests:
cd origin-dollar/contracts
yarn run echidna
Note that the tests take about ~30min to run.
Transaction viewers
Bytecode decompilers
4byte signature databases
External audits
See this directory
Bug bounty program
관련 프로젝트 살펴보기
불러오는 중…