• Stars
    star
    199
  • Rank 196,105 (Top 4 %)
  • Language
    Solidity
  • Created almost 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Repo for public materials related to OUSD 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

More Repositories

1

origin

Monorepo for our developer tools and decentralized marketplace application
JavaScript
652
star
2

origin-playground

Playground for us to try out new ideas, specifically around Identity (ERC 725) & the Origin Marketplace
JavaScript
159
star
3

dshop

Origin Dshop - launch your own decentralized store
JavaScript
138
star
4

origin-dollar

OUSD and OETH are stablecoins that passively accrue yield while you are holding it
JavaScript
116
star
5

telegram-moderator

Telegram bot for controlling spam, logging, and more
Python
113
star
6

origin-js

We've moved to a monorepo: https://github.com/OriginProtocol/origin
JavaScript
81
star
7

origin-website

The code powering our website
HTML
40
star
8

react-native-samsung-bks

React Native wrapper for Samsung Blockchain Keystore SDK
Java
16
star
9

origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
Python
15
star
10

minimal-proxy-example

An example implementation of a Minimal Proxy | EIP-1167
JavaScript
11
star
11

ousd-governance

OUSD Governance Portal and Contracts
Solidity
11
star
12

ousd.com

Frontend for ousd.com
TypeScript
11
star
13

nft-launchpad

Contracts for Origin's NFT platform
JavaScript
10
star
14

origin-tracer

Ethereum transactions visualization tool
TypeScript
9
star
15

origin-docs-archived

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/docs
JavaScript
9
star
16

ousd-analytics

Web application to pull statistics on OUSD from the blockchain.
Python
8
star
17

website-frontend

originprotocol.com front-end
JavaScript
6
star
18

origin-box

We've moved to a monorepo: https://github.com/OriginProtocol/origin/blob/master/DEVELOPMENT.md
Shell
5
star
19

origin-defi

Origin Protocol frontend monorepo
TypeScript
4
star
20

origin-mobile

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/mobile
JavaScript
3
star
21

origin-squid

Origin Subsquid
TypeScript
3
star
22

origin-squid-notifications

Subsquid for Notifications
TypeScript
3
star
23

wash-inspector

NFT trade analytics tool that identifies NFTs that have been wash traded.
TypeScript
2
star
24

origin-schemas

Example Origin listing schemas
2
star
25

civic-proxy

Handles the decrypting of user information being returned from Civic
JavaScript
2
star
26

origin-monorepo

The Origin Protocol monorepo for dApps and resuable packages across the organization
TypeScript
2
star
27

origin-devops

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/devops
2
star
28

test-builds

Test builds of the Origin dapp
CSS
2
star
29

oeth.com

Frontend for oeth.com
TypeScript
2
star
30

ousd-compensation-calculation

Scripts, utilties, and data for the OUSD attack compensation
Python
1
star
31

telegram-discord-bridge

JavaScript
1
star
32

stolen

Literally the Worst Idea
JavaScript
1
star
33

origin-dollar-docs

Official documentation for OUSD. This repo is used to sync changes between Crowdin and Gitbook.
1
star
34

origin-how-to

1
star
35

oeth-dapp

The dapp for oeth integration
TypeScript
1
star
36

origin-cms

JavaScript
1
star
37

veogv

Solidity
1
star
38

story.xyz

Story.xyz frontend using Next.js
TypeScript
1
star