S

Semgrep

S
Semgrep Security v1.172.0

Release v1.172.0

1.172.0 - 2026-07-28 ### Added Added support for the OpenTofu .tofu file extension. Because OpenTofu uses the same HCL grammar as Terraform, .tofu files are now automatically detected and scanned as Terraform, so they are picked up by recursive scans and Terraform rulesets (e.g. p/terraform) with no extra configuration. (ENGINE-2884) ### Changed Updated the Ruby parser to tree-sitter-ruby v0.23.1,…

S
Semgrep Security v1.171.0

Release v1.171.0

1.171.0 - 2026-07-22 ### Added Added support for the OpenTofu .tofu file extension. Because OpenTofu uses the same HCL grammar as Terraform, .tofu files are now automatically detected and scanned as Terraform, so they are picked up by recursive scans and Terraform rulesets (e.g. p/terraform) with no extra configuration. (ENGINE-2884) ### Changed The window for collecting git contributor informatio…

S
Semgrep Security v1.170.0

Release v1.170.0

1.170.0 - 2026-07-15 ### Added Pro C/C++ scans now skip code inside statically-dead preprocessor branches (for example, #if 0 ... #else ... #endif). Patterns that would otherwise match against intentionally-disabled code no longer report on it. (cpp-if-zero-filter) Restored obackward: semgrep-core and semgrep-core-proprietary once again print a backtrace when receiving a fatal signal (e.g. SIGSEGV…

S
Semgrep Security v1.169.0

Release v1.169.0

1.169.0 - 2026-07-08 ### Infra/Release Changes Updated Dart parser to a more recent upstream version. (LANG-579)

S
Semgrep Security v1.168.0

Release v1.168.0

1.168.0 - 2026-06-24 ### Added Added an experimental --x-dependency-paths flag to scan and ci that includes the full dependency path(s) for transitive supply-chain findings in --json and --sarif output. (SC-3547) ### Changed Malicious supply chain rules are now labeled "Malicious" instead of "Basic" in the scan analysis summary table. (SC-3504) ### Infra/Release Changes semgrep-core no longer depe…

S
Semgrep Security v1.167.0

Release v1.167.0

1.167.0 - 2026-06-17 ### Added Added support for more operators for folding for constant propagation, including subtraction, division, bit ops, bit shifts, comparisons, and more. (const-folding) Added a nosemgrep_disabled field to the scan configuration so the platform can disable nosemgrep inline ignore comments org-wide for a scan. (APPEX-1122) Semgrep now skips binary files (images, archives, c…

S
Semgrep Security v1.166.0

Release v1.166.0

1.166.0 - 2026-06-11 ### Added Pro: Added experimental cross-file (interfile) analysis for Gosu, enabling taint tracking across multiple Gosu source files. (gosu-interfile) Added support for more operators for folding for constant propagation, including subtraction, division, bit ops, bit shifts, comparisons, and more (ENGINE-2789) ### Fixed Fixed parsing of integer literals with an underscore imm…

S
Semgrep Security v1.165.0

Release v1.165.0

1.165.0 - 2026-06-03 ### Added Added --max-match-context-size option to limit the number of characters of source code included as context for each match in the output. This prevents matches in minified files (e.g., minified JavaScript where the entire file is a single line) from producing enormous output Set to 0 for unlimited, which is the default value. (ENGINE-2117) ### Changed Replaced --x-no-…

S
Semgrep Security v1.164.0

Release v1.164.0

1.164.0 - 2026-05-26 ### Added Dart: typed metavariables ($X as T) and metavariable-type, metavariable binding inside string interpolations, and function-definition patterns that match Dart function definitions. (gh-11678) ### Changed The default memory limit for Pro interfile scans on Linux now adapts to the container's cgroup memory limit (90% of it) instead of the previous fixed 5 GiB, with an…

S
Semgrep Security v1.163.0

Release v1.163.0

1.163.0 - 2026-05-13 ### Added Updated PHP target parsing to support grammar changes from PHP 8.1-8.5 (LANG-380) ### Changed Improved semgrep ci startup time with App-provided rules by avoiding duplicate semgrep-core rule validation during CLI rule loading while preserving config-style failures for invalid rules. (ci-rule-validation-startup) Semgrep now validates dependency aware rules only on the…

S
Semgrep Security v1.162.0

Release v1.162.0

1.162.0 - 2026-05-07 ### Added pro: Improved support for tracking taint through nested functions. (LANG-95) Added indexes to file targeting to improve performance of semgrepignore matching. (gh-27830) ### Changed Faster JSON rule parsing: rule files in JSON format now parse roughly 5x faster end-to-end (measured ~134s → ~28s on a 382MB rule pack) by going through a new hand-written RFC 8259 parser…

S
Semgrep Security v1.161.0

Release v1.161.0

1.161.0 - 2026-04-22 ### Added Scala 3.4+ trait parameters are now parsed correctly. (lang-73) ### Fixed Semgrep's HTTP requests no longer log URLs above the debug level; full request details remain available when running with SEMGREP_LOG_SRCS=cohttp.client. (ENGINE-2712)

S
Semgrep Security v1.160.0

Release v1.160.0

1.160.0 - 2026-04-16 ### Added Scala: Added tree-sitter parser for improved parsing accuracy with pfff fallback. (LANG-255) pro: taint: Improved support for variadic functions (LANG-375) ### Fixed Fixed performance issues during parsing Semgrep rules containing emoji or other non-BMP Unicode characters. (gh-6070) Emit a warning when semgrep-core rule validation fails and falls back to JSON schema…

S
Semgrep Security v1.159.0

Release v1.159.0

1.159.0 - 2026-04-10 ### Fixed Semgrep now reports an error instead of silently returning zero findings when target file discovery fails (e.g., due to a git ls-files failure). (ENGINE-2626)