Skip to content

Commit

Permalink
Added via-ir since forge doesn't selectively compile on match-path
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro-immunefi committed Jan 22, 2024
1 parent 18e943b commit 3e257cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This repository contains all the proof of concepts (POCs) related to the article

| Name | POC | Article | Command
| ---- | ------- | ---- | ---- |
| Beanstalk logical vulnerability | [BeanStalkPoC](./test/BeanStalk.t.sol) | [BeanStalk Logical Vulnerability Postmoterm](https://medium.com/immunefi/beanstalk-logic-error-bugfix-review-4fea17478716) | `RPC_URL=$ALCHEMY_API forge test --match-contract BeanStalkPoC -vvv`
| DFX Finance Rounding Error | [DFXFinancePoC](./src/DFXFinance/AttackContract.sol) | [DFX Finance Bugfix Review](https://medium.com/immunefi/dfx-finance-rounding-error-bugfix-review-17ba5ffb4114) | `forge test -vvv --match-path ./test/DFXFinance/AttackTest.t.sol`
| Yield protocol Logical Vulnerability| [YieldProtocolPoC](./test/YieldProtocol/AttackTest.t.sol) | [Yield Protocol Bugfix Review](https://medium.com/immunefi/yield-protocol-logic-error-bugfix-review-7b86741e6f50) | `forge test -vvv --match-path ./test/YieldProtocol/AttackTest.t.sol`
| MEV POC| [ForgeSandwichPOC](./test/MEV/Forge/Sandwich.t.sol) | [MEV POC Article](https://medium.com/immunefi/how-to-reproduce-a-simple-mev-attack-b38151616cb4) | `forge test -vvv --match-path ./test/MEV/Forge/Sandwich.t.sol`
| Balancer Rounding Error | [BalancerPoC](./test/Balancer/rounding-error-aug2023/BalancerPoC.sol) | [Balancer Rounding Error Bugfix Review](https://medium.com/immunefi/balancer-rounding-error-bugfix-review-cbf69482ee3d) | `forge test -vvv --match-path ./test/Balancer/rounding-error-aug2023/BalancerPoC.sol`
| Beanstalk logical vulnerability | [BeanStalkPoC](./test/BeanStalk.t.sol) | [BeanStalk Logical Vulnerability Postmoterm](https://medium.com/immunefi/beanstalk-logic-error-bugfix-review-4fea17478716) | `RPC_URL=$ALCHEMY_API forge test --match-contract BeanStalkPoC -vvv --via-ir`
| DFX Finance Rounding Error | [DFXFinancePoC](./src/DFXFinance/AttackContract.sol) | [DFX Finance Bugfix Review](https://medium.com/immunefi/dfx-finance-rounding-error-bugfix-review-17ba5ffb4114) | `forge test -vvv --match-path ./test/DFXFinance/AttackTest.t.sol --via-ir`
| Yield protocol Logical Vulnerability| [YieldProtocolPoC](./test/YieldProtocol/AttackTest.t.sol) | [Yield Protocol Bugfix Review](https://medium.com/immunefi/yield-protocol-logic-error-bugfix-review-7b86741e6f50) | `forge test -vvv --match-path ./test/YieldProtocol/AttackTest.t.sol --via-ir`
| MEV POC| [ForgeSandwichPOC](./test/MEV/Forge/Sandwich.t.sol) | [MEV POC Article](https://medium.com/immunefi/how-to-reproduce-a-simple-mev-attack-b38151616cb4) | `forge test -vvv --match-path ./test/MEV/Forge/Sandwich.t.sol --via-ir`
| Balancer Rounding Error | [BalancerPoC](./test/Balancer/rounding-error-aug2023/BalancerPoC.sol) | [Balancer Rounding Error Bugfix Review](https://medium.com/immunefi/balancer-rounding-error-bugfix-review-cbf69482ee3d) | `forge test -vvv --match-path ./test/Balancer/rounding-error-aug2023/BalancerPoC.sol --via-ir`
| Alchemix Missing Solvency Check | [AlchemixPoC](./test/Alchemix/PoCTest.sol) | [Alchemix Missing Solvency Check](https://medium.com/immunefi/alchemix-missing-solvency-check-bugfix-review-bcbc13289a12) | `forge test -vvv --match-path ./test/Alchemix/PoCTest.sol --via-ir`
| Astar Network Integer Truncation Bug | [AstarNetworkPoC](./src/AstarNetwork/AttackContract.sol) | [Astar Network Integer Truncation Bug](https://medium.com/immunefi/) | `forge test -vv --match-path ./test/AstarNetwork/AttackTest.t.sol --via-ir`
| Wormhole Uninitialized Proxy | [WormholePoC](./test/Wormhole/WormholeBugFix.t.sol) | [Wormhole Uninitialized Proxy](https://medium.com/immunefi/wormhole-uninitialized-proxy-bugfix-review-90250c41a43a) | `forge test -vvv --match-path ./test/Wormhole/WormholeBugFix.t.sol --via-ir`
Expand Down

0 comments on commit 3e257cd

Please sign in to comment.