chore(deps): update dependency semgrep to ~=1.71.0 #581
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.70.0
->~=1.71.0
Release Notes
returntocorp/semgrep (semgrep)
v1.71.0
Compare Source
Added
Pro: const-prop: Previously inter-procedural const-prop could only infer whether
a function returned an arbitrary string constant. Now it will be able to infer
whether a function returns a concrete constant value, e.g.:
Python: const-prop: Semgrep will now recognize "..." * N expression as arbitrary
constant string literals (thus matching the pattern "..."). (flow-75)
Changed
--beta-testing-secrets-enabled
option, deprecated for several months, is now removed. Use--secrets
as its replacement. (gh-9987)Fixed
When using semgrep --test --json, we now report in the
config_missing_fixtests field in the JSON output not just rule files
containing a
fix:
without a corresponding ".fixed" test file; we now alsoreport rule files using a
fix-regex:
but without a corresponding a.fixed test file, and the
fix:
orfix-regex:
can be inany rule in the file (not just the first rule). (fixtest)
Fixes matching for go struct field tags metadata.
For example given the program:
The pattern,
will now match each field and the
$TAGS
metavariable will bebound when used in susequent patterns. (saf-949)
Matching: Patterns of statements ending in ellipsis metavariables, such as
x = 1
$...STMTS
will now properly extend the match range to accommodate whatever is captured by
the ellipsis metavariable ($...STMTS). (saf-961)
The SARIF output format should have the tag "security" when the "cwe"
section is present in the rule. Moreover, duplicate tags should be
de-duped.
Osemgrep wasn't doing this before, but with this fix, now it does. (saf-991)
Fixed bug in mix.lock parser where it was possible to fail on a python None error. Added handler for arbitrary exceptions during lockfile parsing. (sc-1466)
Moved
--historical-secrets
to the "Pro Engine" option group, instead of"Output formats", where it was previously (in error). (scrt-570)
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.