Skip to content

machine-learning

Model and data loading: Semgrep rules for loads that run code from the file and for remote code from a model repository. Level all adds joblib loads and hub downloads without a pinned revision. It requires python. Guide: Security.

A scope has a dependency on torch, transformers, huggingface-hub, joblib, or scikit-learn.

.gspot/configurations/machine-learning/semgrep/basic.yml and .gspot/configurations/machine-learning/semgrep/all.yml