Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function testReentrancyBurnDrain() public {

## Code Location

- [FeeAMM.sol - burn() function](contracts/FeeAMM.sol#L188-L220)
- [FeeAMM.sol - burn() function](https://github.com/evmbench-org/2026-01-tempo-feeamm/blob/9ca5a9a49f6e129e9f65b2d1aab8728ac9f5e482/contracts/FeeAMM.sol#L228-L271)
- Vulnerable lines: Token transfers at lines 205-206 before state updates at lines 209-212

## Recommendation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ channel.settle(voucher, mainnetSignature); // Succeeds on testnet!

## Code Location

- [TempoStreamChannel.sol - settle() function](contracts/TempoStreamChannel.sol#L168-L204)
- [VOUCHER_TYPEHASH definition](contracts/TempoStreamChannel.sol#L42-L44)
- [TempoStreamChannel.sol - settle() function](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L293-L334)
- [VOUCHER_TYPEHASH definition](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L61-L64)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ channel.close(maliciousVoucher, signature, payerSig);

## Code Location

- [TempoStreamChannel.sol - close() function](contracts/TempoStreamChannel.sol#L243-L290)
- [TempoStreamChannel.sol - close() function](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L386-L440)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ channel.settle(voucher, invalidSignature);

## Code Location

- [TempoStreamChannel.sol - openChannel()](contracts/TempoStreamChannel.sol#L107-L140)
- [TempoStreamChannel.sol - settle()](contracts/TempoStreamChannel.sol#L168-L204)
- [TempoStreamChannel.sol - close()](contracts/TempoStreamChannel.sol#L243-L290)
- [TempoStreamChannel.sol - openChannel()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L221-L262)
- [TempoStreamChannel.sol - settle()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L293-L334)
- [TempoStreamChannel.sol - close()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L386-L440)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ channel.settle(voucher, mainnetSignature); // Succeeds on testnet!

### Code Location

- [TempoStreamChannel.sol - settle() function](contracts/TempoStreamChannel.sol#L168-L204)
- [VOUCHER_TYPEHASH definition](contracts/TempoStreamChannel.sol#L42-L44)
- [TempoStreamChannel.sol - settle() function](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L293-L334)
- [VOUCHER_TYPEHASH definition](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L61-L64)

### Recommendation

Expand Down Expand Up @@ -192,7 +192,7 @@ channel.close(maliciousVoucher, signature, payerSig);

### Code Location

- [TempoStreamChannel.sol - close() function](contracts/TempoStreamChannel.sol#L243-L290)
- [TempoStreamChannel.sol - close() function](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L386-L440)

### Recommendation

Expand Down Expand Up @@ -341,9 +341,9 @@ channel.settle(voucher, invalidSignature);

### Code Location

- [TempoStreamChannel.sol - openChannel()](contracts/TempoStreamChannel.sol#L107-L140)
- [TempoStreamChannel.sol - settle()](contracts/TempoStreamChannel.sol#L168-L204)
- [TempoStreamChannel.sol - close()](contracts/TempoStreamChannel.sol#L243-L290)
- [TempoStreamChannel.sol - openChannel()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L221-L262)
- [TempoStreamChannel.sol - settle()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L293-L334)
- [TempoStreamChannel.sol - close()](https://github.com/evmbench-org/2026-01-tempo-mpp-streams/blob/41962def7127946d8ab2f0e0ccb0f689f3fb79d6/contracts/TempoStreamChannel.sol#L386-L440)

### Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function testGriefingAttack() public {

## Code Location

- [StablecoinDEX.sol - cancel()](contracts/StablecoinDEX.sol#L234-L240)
- [StablecoinDEX.sol - cancel()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L258-L263)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function testCombinedDoubleCancelTheft() public {

## Code Location

- [StablecoinDEX.sol - _cancelOrder()](contracts/StablecoinDEX.sol#L246-L275)
- [StablecoinDEX.sol - _cancelOrder()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L269-L298)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ function testCompleteDrainageViaUnderflow() public {

## Code Location

- [StablecoinDEX.sol - _processWithdrawal()](contracts/StablecoinDEX.sol#L313-L319)
- [StablecoinDEX.sol - emergencyWithdraw()](contracts/StablecoinDEX.sol#L328-L331)
- [StablecoinDEX.sol - _processWithdrawal()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L372-L382)
- [StablecoinDEX.sol - emergencyWithdraw()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L390-L393)

## Recommendation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function testGriefingAttack() public {

### Code Location

- [StablecoinDEX.sol - cancel()](contracts/StablecoinDEX.sol#L234-L240)
- [StablecoinDEX.sol - cancel()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L258-L263)

### Recommendation

Expand Down Expand Up @@ -268,7 +268,7 @@ function testCombinedDoubleCancelTheft() public {

### Code Location

- [StablecoinDEX.sol - _cancelOrder()](contracts/StablecoinDEX.sol#L246-L275)
- [StablecoinDEX.sol - _cancelOrder()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L269-L298)

### Recommendation

Expand Down Expand Up @@ -427,8 +427,8 @@ function testCompleteDrainageViaUnderflow() public {

### Code Location

- [StablecoinDEX.sol - _processWithdrawal()](contracts/StablecoinDEX.sol#L313-L319)
- [StablecoinDEX.sol - emergencyWithdraw()](contracts/StablecoinDEX.sol#L328-L331)
- [StablecoinDEX.sol - _processWithdrawal()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L372-L382)
- [StablecoinDEX.sol - emergencyWithdraw()](https://github.com/evmbench-org/2026-01-tempo-stablecoin-dex/blob/f66de060ec2bf899b2a54dd1d984fff4d9f20c4e/contracts/StablecoinDEX.sol#L390-L393)

### Recommendation

Expand Down