Panoptic - CRYP70's results

Effortless options trading on any token, any strike, any size.

General Information

Platform: Code4rena

Start Date: 27/11/2023

Pot Size: $60,500 USDC

Total HM: 7

Participants: 72

Period: 7 days

Judge: Picodes

Total Solo HM: 2

Id: 309

League: ETH

Panoptic

Findings Distribution

Researcher Performance

Rank: 63/72

Findings: 1

Award: $11.32

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

11.3163 USDC - $11.32

Labels

bug
downgraded by judge
grade-b
QA (Quality Assurance)
edited-by-warden
duplicate-233
Q-24

External Links

Lines of code

https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/SemiFungiblePositionManager.sol#L519-L533 https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/SemiFungiblePositionManager.sol#L485-L500

Vulnerability details

Impact

Front running is a constant attack which occurs on AMM protocols and as a result, allowing the user to specify a deadline is useful to ensure that a transaction is not able to be maliciously executed. Because there is no check, it could be more profitable for a validator to deny the transaction from executing which results in the maximum amount of slippage or executing a transaction at an unfavourable time for the user.

Proof of Concept

_mintTokenizedPosition:

https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/SemiFungiblePositionManager.sol#L519-L533

_burnTokenizedPosition:

https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/SemiFungiblePositionManager.sol#L485-L500

Tools Used

Manual review

Recommend including a deadline parameter and asserting that the transaction is executed before this time.

Assessed type

MEV

#0 - c4-judge

2023-12-14T14:42:07Z

Picodes marked the issue as duplicate of #233

#1 - c4-judge

2023-12-26T00:28:09Z

Picodes changed the severity to QA (Quality Assurance)

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter