├── .github └── workflows │ └── main.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md └── solidity ├── constant-not-in-uppercase.sol ├── constant-not-in-uppercase.yaml ├── lack-of-indexed-parameters.sol ├── lack-of-indexed-parameters.yaml ├── lack-of-revert-alreadyinitialized.sol ├── lack-of-revert-alreadyinitialized.yaml ├── missing-constructor-sanity-checks.sol ├── missing-constructor-sanity-checks.yaml ├── privileged-func-lacks-access-control.sol ├── privileged-func-lacks-access-control.yaml ├── state-changing-func-does-not-emit-event.sol ├── state-changing-func-does-not-emit-event.yaml ├── transfer-return-value-not-checked.sol ├── transfer-return-value-not-checked.yaml ├── uint-naming-lowercase.sol ├── uint-naming-lowercase.yaml ├── underscore-prefix-function.sol └── underscore-prefix-function.yaml /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .history/ 3 | .vscode/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/README.md -------------------------------------------------------------------------------- /solidity/constant-not-in-uppercase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/constant-not-in-uppercase.sol -------------------------------------------------------------------------------- /solidity/constant-not-in-uppercase.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/constant-not-in-uppercase.yaml -------------------------------------------------------------------------------- /solidity/lack-of-indexed-parameters.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/lack-of-indexed-parameters.sol -------------------------------------------------------------------------------- /solidity/lack-of-indexed-parameters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/lack-of-indexed-parameters.yaml -------------------------------------------------------------------------------- /solidity/lack-of-revert-alreadyinitialized.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/lack-of-revert-alreadyinitialized.sol -------------------------------------------------------------------------------- /solidity/lack-of-revert-alreadyinitialized.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/lack-of-revert-alreadyinitialized.yaml -------------------------------------------------------------------------------- /solidity/missing-constructor-sanity-checks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/missing-constructor-sanity-checks.sol -------------------------------------------------------------------------------- /solidity/missing-constructor-sanity-checks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/missing-constructor-sanity-checks.yaml -------------------------------------------------------------------------------- /solidity/privileged-func-lacks-access-control.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/privileged-func-lacks-access-control.sol -------------------------------------------------------------------------------- /solidity/privileged-func-lacks-access-control.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/privileged-func-lacks-access-control.yaml -------------------------------------------------------------------------------- /solidity/state-changing-func-does-not-emit-event.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/state-changing-func-does-not-emit-event.sol -------------------------------------------------------------------------------- /solidity/state-changing-func-does-not-emit-event.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/state-changing-func-does-not-emit-event.yaml -------------------------------------------------------------------------------- /solidity/transfer-return-value-not-checked.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/transfer-return-value-not-checked.sol -------------------------------------------------------------------------------- /solidity/transfer-return-value-not-checked.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/transfer-return-value-not-checked.yaml -------------------------------------------------------------------------------- /solidity/uint-naming-lowercase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/uint-naming-lowercase.sol -------------------------------------------------------------------------------- /solidity/uint-naming-lowercase.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/uint-naming-lowercase.yaml -------------------------------------------------------------------------------- /solidity/underscore-prefix-function.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/underscore-prefix-function.sol -------------------------------------------------------------------------------- /solidity/underscore-prefix-function.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Decurity/compound-semgrep-rules/HEAD/solidity/underscore-prefix-function.yaml --------------------------------------------------------------------------------