crytic / crytic/slither

Add code comment for proxy & upgradeability

Open
#1,301 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the desired feature

Since 0.8.3 we support custom code comment (ex: `@custom:security non-reentrant`), we can add the support for things like:
- `@custom:security isProxy`
- `@custom:security isUpgradeable`
- `@custom:version name:`
for the contract definition.

This will allow to leverage some of the detectors from `slither-check-upgradeability` automatically (without having to specify manually what contracts are upgradeable, the version etc...)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.