• Stars
    star
    633
  • Rank 68,414 (Top 2 %)
  • Language
    Solidity
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

A set of challenges to hack implementations of DeFi in Ethereum. Featuring flash loans, oracles, governance, NFTs, lending pools, and more!

Created by @tinchoabbate at OpenZeppelin

Play

Visit damnvulnerabledefi.xyz!

Troubleshooting

  • Some users have reported issues with specific versions of node. I have succesfully installed all dependencies, and executed all challenges, with version v12.20.0. If you're using a different version of node and are having problems during the setup, try switching to version v12.20.0.
  • Some users have reported issues with the timeout set in the package.json file for "The Rewarder" challenge. If you're having trouble executing your exploit for this challenge, try increasing the timeout.

Disclaimer

All Solidity code, practices and patterns in this repository are DAMN VULNERABLE and for educational purposes only.

DO NOT USE IN PRODUCTION.

More Repositories

1

openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.
JavaScript
23,822
star
2

ethernaut

Web3/Solidity based wargame
JavaScript
1,860
star
3

openzeppelin-contracts-upgradeable

Upgradeable variant of OpenZeppelin Contracts, meant for use in upgradeable contracts.
JavaScript
925
star
4

cairo-contracts

OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup
Rust
774
star
5

awesome-openzeppelin

Blockchain educational resources curated by the OpenZeppelin team
735
star
6

openzeppelin-upgrades

Plugins for Hardhat and Foundry to deploy and manage upgradeable contracts on Ethereum.
TypeScript
585
star
7

openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
JavaScript
433
star
8

solidity-docgen

Documentation generator for Solidity projects
TypeScript
423
star
9

workshops

Code and slides for OpenZeppelin Workshops
JavaScript
417
star
10

openzeppelin-test-helpers

Assertion library for Ethereum smart contract testing
JavaScript
408
star
11

merkle-tree

A JavaScript library to generate merkle trees and merkle proofs.
TypeScript
377
star
12

openzeppelin-labs

A space for the community to interact and exchange ideas on the OpenZeppelin platform. Do not use in production!
JavaScript
361
star
13

nile

CLI tool to develop StarkNet projects written in Cairo
Python
322
star
14

contracts-wizard

Interactive smart contract generator based on OpenZeppelin Contracts.
TypeScript
232
star
15

exploit-uniswap

Exploiting a Uniswap exchange that uses an ERC777 token by leveraging the reentrant microtrading attack vector
JavaScript
167
star
16

openzeppelin-subgraphs

Subgraph schema and templates to index the activity of OpenZeppelin Contracts.
TypeScript
137
star
17

solidity-jwt

Experiments with Solidity JWT. Do not use in production.
Solidity
130
star
18

starter-kit

An OpenZeppelin starter kit containing React, OpenZeppelin SDK & OpenZeppelin Contracts.
JavaScript
122
star
19

token-vesting-ui

UI for TokenVesting contract from OpenZeppelin. No longer maintained
JavaScript
97
star
20

openzeppelin-foundry-upgrades

Foundry library for deploying and managing upgradeable contracts
Solidity
97
star
21

openzeppelin-test-environment

[Not actively maintained] One-line setup for blazing-fast smart contracts tests
Solidity
90
star
22

solidity-ast

TypeScript types and a JSON Schema for the Solidity AST
JavaScript
86
star
23

contract-bots-gang

TypeScript
69
star
24

sample-crowdsale-starter

Empty sample starter truffle project for using zeppelin-solidity for a crowdsale
JavaScript
67
star
25

nile-rs

CLI tool to develop Starknet projects written in Cairo
Rust
56
star
26

defender-client

Monorepo for all defender-client npm packages
TypeScript
54
star
27

crafty

A collectibles crafting game. Built using the OpenZeppelin SDK.
JavaScript
48
star
28

defender-autotask-examples

Example snippets for Defender Autotasks
JavaScript
47
star
29

openzeppelin-network.js

An easy to use and reliable library that provides one line access to Web3 API.
TypeScript
45
star
30

docs.openzeppelin.com

Source for the OpenZeppelin documentation site
SCSS
44
star
31

starter-kit-gsn

An OpenZeppelin starter kit focused on GSN.
JavaScript
40
star
32

starter-kit-tutorial

An OpenZeppelin starter kit tutorial containing React, OpenZeppelin SDK & OpenZeppelin Contracts.
JavaScript
38
star
33

openzeppelin-gsn-provider

Web3 provider for the Gas Station Network
JavaScript
37
star
34

polkadot-generic-runtime-template

A generic template for Substrate Runtime
Rust
33
star
35

defender-docs

Security Management to Protect the Open Economy
31
star
36

openzeppelin.org

Source code for OpenZeppelin website
23
star
37

compound-monitoring

JavaScript
22
star
38

defender-templates

Templates for using OpenZeppelin Defender using Serverless configurations
JavaScript
22
star
39

openzeppelin-gsn-helpers

Test and development helper methods and scripts for GSN
JavaScript
21
star
40

upgrades-safe-app

TypeScript
20
star
41

gsn-sample-chat_app

OpenZeppelin starter-kit based GSN tutorial for a Chat App
JavaScript
20
star
42

openzeppelin-transpiler

TypeScript
20
star
43

defender-serverless

Configure a Defender environment via code
TypeScript
20
star
44

configs

Code style guidelines and rules for OpenZeppelin projects
JavaScript
19
star
45

openzeppelin-contracts-docs

OpenZeppelin documentation site configuration
JavaScript
19
star
46

gnosis-multisig

Allows multiple parties to agree on transactions before execution. Forked from Gnosis multisig repository.
CSS
19
star
47

defender-example-metatx-relay

Example meta-tx relay built using Defender
JavaScript
17
star
48

accesscontrol-explorer

Work in progress explorer for AccessControl roles
Svelte
16
star
49

openzeppelin-contract-loader

Load contract ABIs from built artifacts and return contract objects
JavaScript
16
star
50

openzeppelin-whitepaper

LaTeX sources for the OpenZeppelin Platform Whitepaper
Makefile
15
star
51

sample-crosschain-env

Test environments for crosschain operations
Shell
15
star
52

erc20-onboarding

ERC20 token on-boarding on the OpenZeppelin SDK platform
JavaScript
14
star
53

openzeppelin.com

Main website of OpenZeppelin
HTML
13
star
54

openzeppelin-team-nft

NFT for OpenZeppelin Team
JavaScript
11
star
55

solidity-loader

Solidity Hot Loader for Starter Kits. Not currently maintained
JavaScript
11
star
56

proxy-explorer

👷 Under construction!
TypeScript
11
star
57

gsn-site

The Ethereum Gas Station Network Alliance Landing Page and Tools
JavaScript
11
star
58

ethernaut-leaderboard

JavaScript
10
star
59

defender-sdk

Defender SDK
TypeScript
10
star
60

compound-re-enable-dsr-proposal

Foundry simulation for Compound Proposal for re-enabling MakerDAO DSR
Solidity
10
star
61

openzeppelin-nile-upgrades

Plugin for Nile to deploy and manage upgradeable contracts on StarkNet.
Python
10
star
62

highlightjs-cairo

JavaScript
8
star
63

web3-gsn-faucet-provider

JavaScript
8
star
64

token-vouching

Vouching contracts and scripts for the OpenZeppelin SDK token
JavaScript
7
star
65

proposal143

Solidity
7
star
66

defender-as-code

TypeScript
7
star
67

gsn-relayer

GSN relayer server, forked from openeth-dev/gsn
Go
7
star
68

zeppelin.solutions

Institutional website
6
star
69

research-cryptography

OpenZeppelin Research group working repository
Jupyter Notebook
6
star
70

openzeppelin-token-registry

OpenZeppelin Ethereum Packages registry
JavaScript
5
star
71

access-manager-explorer

TypeScript
5
star
72

compound-assets-listing

Template repo to define assets listing on Compound
4
star
73

compound-security-policies

Security roles and responsibilities for Compound
4
star
74

fuzzy-import-parser

TypeScript
4
star
75

gsn-tools

Set of tools to manage the GSN
JavaScript
4
star
76

compound-governance-proposal-behavior

Set of tests to reflect the proposal lifecycle behavior
Solidity
4
star
77

docs-utils

Scripts used for docs previews in pull requests across OpenZeppelin projects
JavaScript
4
star
78

discourse-highlightjs-langs

HTML
3
star
79

openzeppelin-upgrades-migration-example

3
star
80

governor-quorum-bot

Forta detection bot to alert about changes in quorum quantity in a Governor contract
TypeScript
3
star
81

oz-devops

Repository for OpenZeppelin devops scripts
HCL
3
star
82

polkadot-evm-runtime-template

EVM runtime template for Polkadot parachains
Rust
3
star
83

defender-serverless-workshop

JavaScript
2
star
84

futureswap-artifacts

Compiled bytecode related to our FutureSwap audits for public viewing
2
star
85

cto.openzeppelin.com

Description of the CTO job opening at OpenZeppelin
HTML
2
star
86

ctf-infra

🧱 Infrastructure for Ethernaut CTF 2024
Python
2
star
87

tech-coaching

A place to keep study materials associated with the tech coaching
HTML
2
star
88

slack.openzeppelin.org

https://openzeppelin-slack.netlify.com/ Source for https://slack.openzeppelin.org/
1
star
89

netlify-redirects

Redirection rules for various old websites
1
star