Update dependency semgrep to >=1.103,<1.104 #954
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.
This PR contains the following updates:
>=1.99,<1.100
->>=1.103,<1.104
Release Notes
returntocorp/semgrep (semgrep)
v1.103.0
Compare Source
Added
pro: taint: Support for lambdas as callbacks.
pro: python: Semgrep will now consider top-level lambdas like
x
below forinter-procedural analysis:
Changed
pip
from the Semgrep Docker image. If you need it, you may install it by runningapk add py3-pip
. (saf-1774)Fixed
with
s, like this:with (
f() as a,
g() as b,
):
pass
``` (saf-1802)
v1.102.0
Compare Source
Added
Fixed
semgrep test
andsemgrep validate
commands have beencorrectly documented as EXPERIMENTAL (in semgrep --help).
Those commands are not GA yet and people should still
use the
semgrep scan --test
andsemgrep scan --validate
(orthe variants without the implicit "scan") commands (unless
they want to experiment with getting results faster and are ok
with incomplete coverage of the legacy
semgrep --test
and
semgrep --validate
). (experimental)If such a path is passed explicitly as a scanning root on the
command line, it results in an error. Otherwise if it's a file discovered
while scanning the file system, it's a warning. (saf-1776)
should now be more robust and not abort the whole scan when
an out of bound line access happens during the nosemgrep analysis
or when outputing the lines of a match. (saf-1778)
v1.101.0
Compare Source
Added
Changed
semgrep ci
to allow semgrep-app to block scans based on specific findings (SECW-2740)the user to be logged in to see them.
See https://semgrep.dev/docs/semgrep-appsec-platform/json-and-sarif#json
for more information. (json)
See https://semgrep.dev/blog/2024/important-updates-to-semgrep-oss/
for more information. (rename)
the user to be logged in to see them.
See https://semgrep.dev/docs/semgrep-appsec-platform/json-and-sarif#sarif
for more information. (sarif)
Fixed
pro: Improved inter-file tracking of tainted global variables. (code-7054)
Python (pro-only): Taint now correctly tracks through calls to class methods
within a class, via the
cls
parameter.So for instance, we would be able to determine a source-to-sink
vulnerability in the following code snippet:
pro: Fixed bug when generating inter-procedural taint traces, that it could
cause a call-step to be missing in the trace. (saf-1783)
Restored the "rules" field in the SARIF output, even when logged out. (saf-1794)
v1.100.0
Compare Source
Added
arity and parameter types, e.g.,
foo(x: Int, y: String)
vs.foo(x: String, y: Int)
. (code-7870)Changed
We are dropping support for Python 3.8 (python)
Fixed
pro: Fixed a bug in interprocedural index-sensitive taint analysis that caused
false negatives when a function updated an arbitrary index, e.g.:
Fixed bug affecting taint tracking through static fields when mixing accesses
using the class name and using an instance object, e.g.:
No more RPC error when using --sarif with some join-mode rules.
Moreover, regular rules without the 'languages:' field will be skipped
instead of aborting the whole scan. (gh-10723)
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.