Skip to content

tintinweb/semgrep-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯·βœ¨ Low Noise Semgrep Security Rules

Rules:

  • βœ… Security relevant patterns only
  • ❌ No performance, micro optimizations and other noise

Rulesets:

  • Solidity
  • MetaMask Snaps - Hover Info

β‡’ rules - πŸ‘ˆπŸš€ Is the active ruleset. Be smart, use this ☝️
β‡’ _dev - πŸ§‘β€πŸ”¬πŸ’₯ Experimental rules. Would not use.

✨ Integrations

CLI

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

VSCode

main-vs-code-video.mp4
  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! πŸ€—β€οΈ

About

Low Noise Semgrep Security Rules

Topics

Resources

Stars

Watchers

Forks