chore(deps): update dependency semgrep to ~=1.78.0 #647
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.
This PR contains the following updates:
~=1.76.0
->~=1.78.0
Release Notes
returntocorp/semgrep (semgrep)
v1.78.0
Compare Source
Added
Matching of fully qualified type names in the metavariable-type operator has
been improved. For example:
The type of
x
will match botha.b.C
andC
.Fixed
Symbolic propagation now works on decorator functions, for example:
Fixed an issue where Python functions with annotations ending in
endpoint
,route
,get
,patch
,post
,put
,delete
,before_request
orafter_request
(i.e., ones we associate with Flask) were incorrectly analyzedwith the Code product in addition to the Secrets product when present in a file
being ignored for Code analysis but included for Secrets. (scrt-609)
v1.77.0
Compare Source
Added
Semgrep will now report the id of the organization associated with logged in users when reporting metrics in the language server (cdx-508)
Pro: taint-mode: Improved index-sensitive taint tracking for tuple/list (un)packing.
Example 1:
Example 2:
Adds traces to help debug the performance of tainting. To send the traces added in the PR, pass
--trace
and also set the environment variableSEMGREP_TRACE_LEVEL=trace
. To send them to alocal endpoint instead of our default endpoint, use
--trace-endpoint
. (saf-1100)Fixed
Fixed a bug in the generation of the control-flow graph for
try
statements thatcould e.g. cause taint to report false positives:
Semgrep assumes that
clean
could raise an exception, buteven if it does, the tainted
data
will never reach the sink !data
must be clean herethe metrics.semgrep.dev server such as "cannot read property 'map' of undefined". (metrics_error)
dependencies whose package name does not end in a version constraint. (sc-1568)
Configuration
📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.