Update dependency semgrep to >=1.139,<1.140 #1098
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot].This notice will be removed on 2025-10-07.
This PR contains the following updates:
>=1.134,<1.135->>=1.139,<1.140Release Notes
returntocorp/semgrep (semgrep)
v1.139.0Compare Source
Added
hence producing extra findings. For example, in Java,
list.add(taint)will nowmake
listtainted even if the rule does not explicitly request that. Scan timesshould not be generally affected in a significant way. (code-9103)
{ ... }to match partial functions like{ case 1 => "1" }. (code-9106)dockerfilelanguage (gh-11091)Changed
configparameter from thesemgrep_scantools, to preventagents from inserting unwanted config files to scan with. (saf-2258)
Fixed
{ case ... => ... }patterns. (code-9111)$X > 1 or $Y > 1 or $Z > 1would previously always evaluate tofalse. Now, it will behave as expected. (gh-11209)semgrep_scantool, when invoking the RPC-basedscanning approach, would return JSON output not consistent with the CLI tool. (saf-2250)
semgrep_findingstool now gives a suitable error message when erring dueto insufficient permissions on standard
semgrep logintokens. (saf-2254)the Semgrep Pro Engine installation step would be ignored. (saf-2259)
v1.138.0Added
Changed
taint labels. This allows for the generation of more specific conditions than
the previously released version (v1.133.0). (code-9097)
Fixed
SEMGREP_APP_TOKENfrom any request made to non semgrep URLspassed to
-f/-c/--configduring config/rules fetching. (gh-11016)var $X = $FUNC($REQ, $RES, ...) {...}no longer fails to parse. (saf-2159)
tsconfig.jsonmatching for Typescript projectsthat contain multiple
tsconfig.jsons. (saf-2163)v1.137.0Compare Source
Added
semgrep mcpsubcommand, which runs the Semgrep MCP server, which previouslyused to live at https://github.com/semgrep/mcp. That repository will be deprecated
as of this release, and future MCP contributions / issues should go into this repo. (saf-2239)
Changed
Fixed
\#and\in glob patterns found inSemgrepignore and included Gitignore files. (fix-glob-escape)
pkg_resources is deprecatedwarning by bumping opentelemetry-*packages (gh-11069)
v1.136.0Compare Source
No significant changes.
v1.135.0Compare Source
No significant changes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.