GitLab SAST rules ================= Upstream: https://gitlab.com/gitlab-org/security-products/sast-rules Commit: 53bf5cf6df3c51b6c02110f5a638b5e6213666cd Version: v2.10.1 (2026-09-21) Licence: MIT (per-file header `License: MIT (c) GitLab Inc.`) Copyright: Copyright (c) 2011-present GitLab Inc. Prüfwerk runs these rules with its own semgrep invocation (--metrics=off, local files only). upstream/ holds the selected files unchanged, with their semgrep tests. pack.yaml is what the agent runs: the same rules with ids prefixed by 'gitlab-', re-serialised into one file, without the rules listed below. Both are produced by scripts/vendor-semgrep-rules.py. Selected from upstream: csharp/**, java/**, javascript/**, python/**, go/crypto/rule-tlsversion.* Rules in the pack: 148 (from 149 files) Not selected: - c/: every file is GPL-2.0 (generated from flawfinder), not MIT - go/ except crypto/rule-tlsversion: Apache-2.0 ports of gosec, not MIT - scala/: MIT, but no Scala in the products we scan - rules/lgpl/: LGPL-3.0 (njsscan/mobsfscan); mobsfscan runs separately - rules/lgpl-cc/: LGPL with Commons Clause - rules/gitlab/: GitLab EE licence Left out -------- - gitlab-javascript_xss_rule-mustache-escape (javascript/xss/rule-mustache-escape.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_assert_rule-assert-used (python/assert/rule-assert-used.yml): 16 hits in psf/requests, all in tests; a plain `assert` is not a weakness in our customers' Python - gitlab-python_crypto_rule-crypto-encrypt-ec (python/crypto/rule-crypto-encrypt-ec.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_deserialization_rule-dill (python/deserialization/rule-dill.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_deserialization_rule-marshal (python/deserialization/rule-marshal.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_exec_rule-start-process-with-no-shell (python/exec/rule-start-process-with-no-shell.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_exec_rule-subprocess-popen-shell-true (python/exec/rule-subprocess-popen-shell-true.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_flask_rule-app-debug (python/flask/rule-app-debug.yml): matches a Semgrep registry rule (provenance spot-check); not vendored - gitlab-python_ssh_rule-ssh-nohost-key-verification (python/ssh/rule-ssh-nohost-key-verification.yml): matches a Semgrep registry rule (provenance spot-check); not vendored