Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tintinweb/semgrep-rules

Low Noise Semgrep Security Rules
https://github.com/tintinweb/semgrep-rules

ethereum semgrep-rules solidity

Last synced: 20 days ago
JSON representation

Low Noise Semgrep Security Rules

Awesome Lists containing this project

README

        

# 🥷✨ Low Noise Semgrep Security Rules

Rules:
- ✅ Security relevant patterns only
- ❌ No performance, micro optimizations and other noise

Rulesets:
- Solidity
- MetaMask Snaps - Hover Info

[⇒ rules](./rules) - 👈🚀 Is the **active** ruleset. Be smart, use this ☝️

[⇒ _dev](./_dev) - 🧑‍🔬💥 Experimental rules. Would not use.

## ✨ Integrations

### CLI

```shell
tintin@:~/workspace/solidity/project-under-audit|⇒ semgrep --exclude="**mock**,**test**" --severity=WARNING --severity=ERROR -c /path_to_this_repo/rules .
```

### VSCode

1. install https://marketplace.visualstudio.com/items?itemName=Semgrep.semgrep
2. configure:
1. `semgrep.scan.exclude` 👉 `**/node_modules/**`, `**test**`, `**mock**`
2. `semgrep.scan.configuration` 👉 `auto`, `/path_to_this_repo/rules`

## ⭐ Credits

Contribute, share! 🤗❤️

- [@tintinweb](https://github.com/tintinweb)
- [decurity/semgrep-smart-contracts](https://github.com/Decurity/semgrep-smart-contracts)
- [you? 🥹](https://github.com/tintinweb)