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.
Selected when
Section titled “Selected when”A scope has a dependency on torch, transformers, huggingface-hub, joblib, or scikit-learn.
Files gspot writes
Section titled “Files gspot writes”.gspot/configurations/machine-learning/semgrep/basic.yml and .gspot/configurations/machine-learning/semgrep/all.yml