Skip to content

sherlock-audit/2024-09-symmio-v0-8-4-update-contest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SYMMIO v0.8.4 Update Contest contest details

Q&A

Q: On what chains are the smart contracts going to be deployed?

Any EVM-compatible network


Q: If you are integrating tokens, are you allowing only whitelisted tokens to work with the codebase or any complying with the standard? Are they assumed to have certain properties, e.g. be non-reentrant? Are there any types of weird tokens you want to integrate?

Only whitelisted tokens can work with the codebase and these are USDC, USDT, and USDE.


Q: Are there any limitations on values set by admins (or other roles) in the codebase, including restrictions on array lengths?

No


Q: Are there any limitations on values set by admins (or other roles) in protocols you integrate with, including restrictions on array lengths?

No


Q: For permissioned functions, please list all checks and requirements that will be made before calling the function.

There is a ultisig behind those functions and a couple of team members will review that call before executing it.


Q: Is the codebase expected to comply with any EIPs? Can there be/are there any deviations from the specification?

The codebase should be optionally compliant with Diamond Standard (EIP-2535)


Q: Are there any off-chain mechanisms for the protocol (keeper bots, arbitrage bots, etc.)? We assume they won't misbehave, delay, or go offline unless specified otherwise.

There is a Muon oracle that provides data such as the uPnL of parties' positions. You should consider that the oracle won't provide any stale prices.


Q: What properties/invariants do you want to hold even if breaking them has a low/unknown impact?

Yes, report potential issues, including broken assumptions about function behavior, if they pose future integration risks. Key properties that should hold include correctness (accurate returns), security (resistant to manipulation), consistency (uniform behavior on-chain and off-chain), and reliability (functioning correctly under all conditions).

Correctness: The function should return accurate and expected results based on its inputs and documented behavior. For example, if a read function is expected to return the current balance of an account, it should not return a cached or stale value.

Security: The function should be resistant to manipulation and unauthorized access. It should not expose any vulnerabilities that could be exploited to return false or misleading information.

Consistency: The function should behave uniformly across different environments (Different chains for example).

Reliability: The function should function correctly under all conditions, including edge cases and unexpected inputs. For example, a function that reads from a data structure should handle cases where the requested data does not exist and return a predefined error or null value.

Low severity issues falling in these categories would not be valid and issues falling in these categories would be valid only for future integrations of other protocols with Symm.


Q: Please discuss any design choices you made.

All design decisions are documented and available here for reference: https://docs.symm.io/ https://docs.symm.io/protocol-architecture/technical-documentation/contracts-documentation-0.8.4


Q: Please list any known issues and explicitly state the acceptable risks for each known issue.

Any risk is acceptable


Q: We will report issues where the core protocol functionality is inaccessible for at least 7 days. Would you like to override this value?

I would like to override the default value. The platform's core protocol functionality should not be inaccessible for more than 1 day. Any downtime exceeding 24 hours should be reported as a critical issue, as this could cause significant disruption to the platform's operations and user experience. Also the liquidation functionality should not be inaccessible for more than 2 hours.


Q: Please provide links to previous audits (if any).

https://docs.symm.io/legal-and-brand-and-security/security-audits-bugbounty/audits


Q: Please list any relevant protocol resources.

https://docs.symm.io/ https://docs.symm.io/protocol-architecture/technical-documentation/contracts-documentation-0.8.4


Audit scope

protocol-core @ 8b6d7208a8ac8d64b3ab313039fef882a03af0f4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published