Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump semgrep from 1.46.0 to 1.48.0 #11

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps semgrep from 1.46.0 to 1.48.0.

Release notes

Sourced from semgrep's releases.

Release v1.48.0

1.48.0 - 2023-11-06

[!NOTE] Starting from version 1.46.0, Semgrep is first released in the following ecosystems: - pypy - brew - returntocorp/semgrep:canary (Docker) If no issues are detected after a few days, the Semgrep team then promotes the :canary Docker tag to :latest when everything looks fine.

Added

  • Matching: Matches with the same range but bindings in different locations will now no longer deduplicate.

    For instance, the pattern $FUNC(..., $A, ...) would produce only one match on the target file:

    foo(true, true)
    

    because you would have two matches to the range of the call, and both bindings of $A would be to true.

    Now, the deduplication logic sees that the bindings of $A are in different places, and thus should not be considered the same, and produce two matches. (pa-3230)

Fixed

  • Fixed out of bounds list access error in Cargo.lock parser (sc-1072)
  • Secrets: metadata overrides specified in validators were incorrectly applied on top of one another (on a per-rule basis), so that only the last was applied. Each update is now correctly applied independently to each finding based on the rule's validators. (scrt-231)

Release v1.47.0

1.47.0 - 2023-11-01

[!NOTE] Starting from version 1.46.0, Semgrep is first released in the following ecosystems: - pypy - brew - returntocorp/semgrep:canary (Docker) If no issues are detected after a few days, the Semgrep team then promotes the :canary Docker tag to ``latest` when everything looks fine.

... (truncated)

Changelog

Sourced from semgrep's changelog.

1.48.0 - 2023-11-06

Added

  • Matching: Matches with the same range but bindings in different locations will now no longer deduplicate.

    For instance, the pattern $FUNC(..., $A, ...) would produce only one match on the target file:

    foo(true, true)
    

    because you would have two matches to the range of the call, and both bindings of $A would be to true.

    Now, the deduplication logic sees that the bindings of $A are in different places, and thus should not be considered the same, and produce two matches. (pa-3230)

Fixed

  • Fixed out of bounds list access error in Cargo.lock parser (sc-1072)
  • Secrets: metadata overrides specified in validators were incorrectly applied on top of one another (on a per-rule basis), so that only the last was applied. Each update is now correctly applied independently to each finding based on the rule's validators. (scrt-231)

1.47.0 - 2023-11-01

Added

  • taint-mode: Added a Boolean exact option to sources and sanitizers to make matching stricter (default is false).

    If you specify a source such as foo(...), and Semgrep encounters foo(x), by default foo(x), foo, and x, will all be considered tainted. If you add exact: true to the source specification, then only foo(x) will be regarded as tainted, that is the "exact" match for the specification. The same applies to "exact" sanitizers. (gh-5897)

  • Added sg alias for semgrep binary which is functionally equivalent to

    alias sg="/opt/homebrew/bin/semgrep"

    with one fewer step. (gh-9117)

  • secrets: Added independent targeting from other semgrep products.

    This change allows Secrets to scan all tracked files. In particular, those ignored

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [semgrep](https://github.com/returntocorp/semgrep) from 1.46.0 to 1.48.0.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.46.0...v1.48.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 10, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 10, 2023

Looks like semgrep is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Nov 10, 2023
@dependabot dependabot bot deleted the dependabot/pip/semgrep-1.48.0 branch November 10, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants