Skip to content

iuliadmtru/semgrep-rules-julia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julia rules for Semgrep

semgrep-rules-test

Semgrep is a fast, open source, static analysis engine for finding bugs, detecting dependency vulnerabilities, and enforcing code standards.

Semgrep supports the Julia programming language as of version 1.5, from early 2023. This repository contains some early Semgrep rules for Julia. Feedback about these rules are much appreciated.

There rules are likely to have some false positives and negatives, so feedback will be much appreciated.

Quick Start

  • Install the Semgrep CLI
  • Clone this repo git clone https://github.com/JuliaComputing/semgrep-rules-julia.git
  • Run semgrep -c semgrep-rules-julia /path/to/your/package
  • Semgrep has good documentation and tutorials, which have more information about the tool.
  • Semgrep Playground is the best way to experiment with new rules.

Contribute

We welcome, and appreciate, new analysis rules. Please open a PR to this repo to add your rule to the ruleset. Rules here should be generally be widely, though not necessarily always, applicable. For each rule in its own .yaml file, there should be a corresponding .jl file with testcases.

About

Julia rules for semgrep

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%