Skip to content
プロジェクト

概要

Materials related to security: docs, checklists, processes, etc...

セキュリティ・プライバシー

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Repo for public materials related to Origin security.

Table of Contents

  1. Defi incident reports
  2. Security materials
  3. Checklists
  4. Tools
  5. External audits

Defi incident reports

Security materials

Checklists

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

関連プロジェクトを探す

読み込み中…