Skip to content

Commit 77dbcf1

Browse files
authored
chore: add audits & extend configs
1 parent 0f3e746 commit 77dbcf1

12 files changed

+1292
-9
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# build and cache
22
cache/
33
out/
4+
zkout/
45

56
# general
67
.env
@@ -36,4 +37,5 @@ resource_errors.json
3637

3738
# invariants
3839
_corpus/
39-
crytic-export/
40+
crytic-export/
41+
slither_results.json

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ git-diff :
4343

4444
# Deploy
4545
deploy-libs-one :;
46-
FOUNDRY_PROFILE=${chain} forge script scripts/misc/LibraryPreCompileOne.sol --rpc-url ${chain} --ledger --mnemonic-indexes ${MNEMONIC_INDEX} --sender ${LEDGER_SENDER} --slow --broadcast
46+
FOUNDRY_PROFILE=${chain} forge script scripts/misc/LibraryPreCompileOne.sol --rpc-url ${chain} --ledger --mnemonic-indexes ${MNEMONIC_INDEX} --sender ${LEDGER_SENDER} --slow --broadcast --verify
4747
deploy-libs-two :;
48-
FOUNDRY_PROFILE=${chain} forge script scripts/misc/LibraryPreCompileTwo.sol --rpc-url ${chain} --ledger --mnemonic-indexes ${MNEMONIC_INDEX} --sender ${LEDGER_SENDER} --slow --broadcast
48+
FOUNDRY_PROFILE=${chain} forge script scripts/misc/LibraryPreCompileTwo.sol --rpc-url ${chain} --ledger --mnemonic-indexes ${MNEMONIC_INDEX} --sender ${LEDGER_SENDER} --slow --broadcast --verify
4949

5050
deploy-libs :
5151
make deploy-libs-one chain=${chain}
52-
npx catapulta-verify -b broadcast/LibraryPreCompileOne.sol/${chainId}/run-latest.json
5352
make deploy-libs-two chain=${chain}
54-
npx catapulta-verify -b broadcast/LibraryPreCompileTwo.sol/${chainId}/run-latest.json
5553

5654

5755
# Invariants

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,19 @@ In addition, Enigma Dark has adapted the Foundry-based fuzzing [invariant suite]
9595

9696
<br>
9797

98+
**-> Aave v3.4 - June 2025**
99+
100+
#### Removal of custom GHO. Addition of Multicall & Position manager
101+
102+
- [Certora v3.4](./audits/2025-06-11_Certora_Aave-v3.4_Report.pdf), [Certora v3.4 AIP](./audits/2025-06-11_Certora_Aave-v3.4_AIP_Report.pdf)
103+
- [StErMi v3.4](./audits/2025-06-11_Stermi_Aave-v3.4_Report.pdf), [StErMi v3.4 AIP](./audits/2025-06-11_Stermi_Aave-v3.4_AIP_Report.pdf)
104+
- [Blackthorn](./audits/2025-06-12_Blackthorn-v3.4_Report.pdf)
105+
- [Enigma](./audits/2025-05-13_Enigma_Aave-v3.4.pdf)
106+
107+
In addition, Enigma Dark has adapted the Foundry-based fuzzing [invariant suite](./tests/invariants) to the Aave v3.3 codebase.
108+
109+
<br>
110+
98111
### Bug bounty
99112

100113
This repository will be subjected to [this bug bounty](https://immunefi.com/bounty/aave/) once the Aave Governance upgrades the smart contracts in the applicable production instances.
286 KB
Binary file not shown.
302 KB
Binary file not shown.
375 KB
Binary file not shown.

audits/2025-06-11_Stermi_Aave-v3.4_AIP_Report.md

Lines changed: 349 additions & 0 deletions
Large diffs are not rendered by default.

audits/2025-06-11_Stermi_Aave-v3.4_Report.md

Lines changed: 901 additions & 0 deletions
Large diffs are not rendered by default.
293 KB
Binary file not shown.

foundry.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,24 @@ max_test_rejects = 20000
2525
[profile.linea]
2626
evm_version = 'london'
2727

28+
[profile.zksync]
29+
src = 'zksync'
30+
test = 'zksync'
31+
libs = ['lib']
32+
solc = '0.8.27'
33+
optimizer = true
34+
optimizer_runs = 200
35+
fs_permissions = [{ access = "write", path = "./reports" }]
36+
ffi = true
37+
evm_version = 'cancun'
38+
39+
[profile.zksync.zksync]
40+
bytecode_hash = 'none'
41+
compile = true
42+
fallback_oz = true
43+
mode = '3'
44+
zksolc = '1.5.13'
45+
2846
[rpc_endpoints]
2947
mainnet = "${RPC_MAINNET}"
3048
optimism = "${RPC_OPTIMISM}"
@@ -45,6 +63,9 @@ gnosis = "${RPC_GNOSIS}"
4563
base = "${RPC_BASE}"
4664
metis = "${RPC_METIS}"
4765
linea = "${RPC_LINEA}"
66+
sonic = "${RPC_SONIC}"
67+
soneium = "${RPC_SONEIUM}"
68+
zksync = "${RPC_ZKSYNC}"
4869

4970
[etherscan]
5071
mainnet = { key = "${ETHERSCAN_API_KEY_MAINNET}", chainId = 1 }
@@ -63,4 +84,5 @@ bnb = { key = "${ETHERSCAN_API_KEY_BNB}", chainId = 56, url = 'https://api.bscsc
6384
base = { key = "${ETHERSCAN_API_KEY_BASE}", chain = 8453 }
6485
gnosis = { key = "${ETHERSCAN_API_KEY_GNOSIS}", chainId = 100 }
6586
metis = { key = "", chainId = 1088, url = 'https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api' }
87+
6688
# See more config options https://github.com/gakonst/foundry/tree/master/config

0 commit comments

Comments
 (0)