tintinweb / semgrep-rules

Low Noise Semgrep Security Rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ₯·βœ¨ 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


Languages

Language:Solidity 100.0%