Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2025

Updates the requirements on semgrep to permit the latest version.

Release notes

Sourced from semgrep's releases.

Release v1.104.0

1.104.0 - 2025-01-22

Changed

  • Supply chain diff scans now skip resolving dependencies for subprojects without changes. (SC-2026)

Fixed

  • pro: Fixed bug in inter-file matching of subtypes. When looking to match some type A, Semgrep will match any type B that is a subtype of A, but in certain situations this did not work. (code-7963)

  • taint-mode: Make traces record assignments that transfer taint via shapes.

    For example, in code like:

    B b = new B(taint);
    B b1 = b;
    sink(b1.getTaintedData());
    

    The assignment b1 = b should be recorded in the trace but previously it was not. (code-7966)

  • Python: Parser updated to the most recent tree-sitter grammar. Parse rate from 99.8% -> 99.998%. (saf-1810)

Changelog

Sourced from semgrep's changelog.

1.104.0 - 2025-01-22

Changed

  • Supply chain diff scans now skip resolving dependencies for subprojects without changes. (SC-2026)

Fixed

  • pro: Fixed bug in inter-file matching of subtypes. When looking to match some type A, Semgrep will match any type B that is a subtype of A, but in certain situations this did not work. (code-7963)

  • taint-mode: Make traces record assignments that transfer taint via shapes.

    For example, in code like:

    B b = new B(taint);
    B b1 = b;
    sink(b1.getTaintedData());
    

    The assignment b1 = b should be recorded in the trace but previously it was not. (code-7966)

  • Python: Parser updated to the most recent tree-sitter grammar. Parse rate from 99.8% -> 99.998%. (saf-1810)

1.103.0 - 2025-01-15

Added

  • pro: taint: Support for lambdas as callbacks.

    var tainted = source();
    

    function withCallback1(val, callback) {
    if (val) {
    callback(val);
    }
    }

    withCallback1(tainted, function (val) {
    sink(val); // finding !
    }); (code-7626)

  • pro: python: Semgrep will now consider top-level lambdas like x below for inter-procedural analysis:

... (truncated)

Commits
  • c13040c chore: release version 1.104.0
  • a9c674fsemgrep/semgrep-proprietary#2920
  • fca329c Get rid of ugly Deep_scan_phases.setup_hooks -> with_hooks (semgrep/semgrep-p...
  • 44126acsemgrep/semgrep-proprietary#2916
  • a552694 chore: add a Pro_scan.mli and convert a few Hooks (semgrep/semgrep-proprietar...
  • 6e1c5cc perf(dep-resolution): resolve only changed subproject in diff scans (semgrep/...
  • 3e533e1 Change the semgrep-core input type to accommodate scanning roots (semgrep/sem...
  • 5d6a247 fix(sca): ocaml parsing should be considered lockfile parsing (semgrep/semgre...
  • 35bbe02 docs: tainting: Add refs to note on compare functions (semgrep/semgrep-propri...
  • ba4e1b3 feat: support multiple functions in -cfg_ilsemgrep/semgrep-proprietary#2913
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot requested a review from drdavella as a code owner January 23, 2025 06:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 23, 2025
Updates the requirements on [semgrep](https://github.com/returntocorp/semgrep) to permit the latest version.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.99.0...v1.104.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/semgrep-gte-1.99-and-lt-1.105 branch from 59c3363 to 630ac9a Compare January 24, 2025 12:17
@sonarqubecloud
Copy link

@clavedeluna clavedeluna added this pull request to the merge queue Jan 24, 2025
Merged via the queue into main with commit fc20626 Jan 24, 2025
15 checks passed
@clavedeluna clavedeluna deleted the dependabot/pip/semgrep-gte-1.99-and-lt-1.105 branch January 24, 2025 14:21
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.

1 participant