Skip to content

build(deps): bump github.com/google/osv-scalibr from 0.3.4 to 0.4.5 - #6179

Open
dependabot[bot] wants to merge 5 commits into
mainfrom
dependabot/go_modules/github.com/google/osv-scalibr-0.4.5
Open

build(deps): bump github.com/google/osv-scalibr from 0.3.4 to 0.4.5#6179
dependabot[bot] wants to merge 5 commits into
mainfrom
dependabot/go_modules/github.com/google/osv-scalibr-0.4.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 18, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/google/osv-scalibr from 0.3.4 to 0.4.5.

Release notes

Sourced from github.com/google/osv-scalibr's releases.

v0.4.5

  • New secret detectors: Supabase credentials, Packagist credentials, Discord bot tokens, Bitwarden OAuth2 access tokens
  • New vulnerability detector: PAM misconfigurations
  • New software extractors: NuGet .csproj, Spack packages
  • Improved accuracy and test coverage of various secret detectors
  • GKE image-streaming support in the containerd extractor
  • Started migration of inventory locations to a more structured format
    • This release only includes proto changes. The next release will bump a major version and remove the old locations fields in favor of the new structured ones.

v0.4.4

  • New extractors: QEMU disk images, opam, Bazel Maven dependencies
  • New secret detectors: Square API creds, Salesforce creds, SendGrid API key, Deno PAT, Heroku Platform API Key, npmjs Registry Access Token, Cloudfare API token
  • Fixed the StoreAbsolutePath ScanConfig option to work with annotators + enrichers

v0.4.3

  • New secret scanners: OpenRouter key, base64-encoded Github PATs, PayStack secret,Telegram Bot API key, Cursor API key, Elastic Cloud API key, Salesforce OAuth2 Client Credential / Access Token / Refresh Token, Mistral API Key, CircleCI Personal Access Token and Project Access Token
  • New extractor: Mise tools
  • New detectors: NetScaler CVE-2025-7775, Cron job privesc vulns
  • New annotators: Homebrew source metadata
  • More comprehensive testing for secret detectors
  • Migrated extractors to use global proto for configuration
  • --unsafe flag for enabling potentially unsafe plugins

v0.4.2

  • New secret extractor for Bitbucket and Amazon CodeCommit git basic auth URLs
  • Rust reachability annotation migrated from OSV-Scanner
  • New extractor for Chocolatey packages (Windows)
  • Deps.dev API usage for pomxml dependency resolution

v0.4.1

  • New secret detectors: AWS access token, Recaptcha secret key, pyx v1/v2 user key, Amazon CodeCatalyst, generic JWT
  • Go source reachability enrichment using Govulncheck
  • Support for more assignment patterns in the .gemspec extractor
  • Support for BellSoft/Alpaquita OS packages
  • Fixes: Correct the COS os-duplicate annotator behavior, avoid duplicate inventories when traversing multiple ScanRoots
  • Include PackageVulns in output proto

v0.4.0

  • Global plugin config: Plugins can now be configured through a unified flag from the CLI and proto field from the library
    • Using e.g. --plugin-config=max_file_size_bytes:10000000 --plugin-config=go_binary:{version_from_content:true}
    • Migration for all plugins to use this setup is still in progress
    • This adds a new plugin config param to the list.go plugin initializers (list.FromNames()) and is thus a breaking change for current list.go API users
  • New secret scanners: MariaDB creds, MySQL mylogin.cnf creds, VAPID keys
  • Guided Remediation support for Python projects managed with Pipenv
  • Enricher that adds package deprecation information: -plugins=packagedeprecation/depsdev
  • Annotator for DPKG package sources: -plugins=misc/dpkg-source

v0.3.6

  • New extractors: K8s images, .node-version, pylock.toml, VirtualBox disk images, openEuler support in RPM extractor
  • New secret detectors: 1password, Postgres pgpassfile, crates.io API token

... (truncated)

Commits
  • 6510600 Bump SCALIBR version in preparation for a new release.
  • 9c92834 Merge pull request #1870 from cuixq:npm
  • ea5d428 fix: escape package names in manifest writer
  • c7f2e9b Add new structured Location fields to protos.
  • 352fc38 Merge pull request #1855 from cleanstart-community-admin:feat/cleanstart-ecos...
  • 6742f9c Merge pull request #1862 from ackama:refactor/remove-unneeded-parentheses
  • afc5764 Merge pull request #1861 from ackama:refactor/use-packagist-directly
  • 0bf9e87 Merge pull request #1853 from ackama:adjust-version
  • 886caf3 Merge pull request #1859 from ackama:enrichers-root
  • 8bd4660 Merge pull request #1858 from ackama:adjust-comment
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 18, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner March 18, 2026 06:14
@dependabot dependabot Bot added the go Pull requests that update Go code label Mar 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch 2 times, most recently from ef68922 to 6a1c5e9 Compare March 26, 2026 18:42
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch 3 times, most recently from 80adf4f to 74901c5 Compare April 3, 2026 04:05
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch from 74901c5 to c955573 Compare April 8, 2026 18:53
@evankanderson
evankanderson force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch 2 times, most recently from c955573 to 4e2b677 Compare May 7, 2026 16:51
Bumps [github.com/google/osv-scalibr](https://github.com/google/osv-scalibr) from 0.3.4 to 0.4.5.
- [Release notes](https://github.com/google/osv-scalibr/releases)
- [Commits](google/osv-scalibr@v0.3.4...v0.4.5)

---
updated-dependencies:
- dependency-name: github.com/google/osv-scalibr
  dependency-version: 0.4.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@evankanderson
evankanderson force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch from 4e2b677 to da5b197 Compare May 7, 2026 23:49
@coveralls

coveralls commented May 8, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 60.908%dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 into main. No base build found for main.

@evankanderson
evankanderson force-pushed the dependabot/go_modules/github.com/google/osv-scalibr-0.4.5 branch from da5b197 to ca585a0 Compare May 8, 2026 05:06
Comment thread internal/engine/ingester/diff/diff.go Outdated
Comment on lines +311 to +316
if scanResults.Status.Status == scalibr_plugin.ScanStatusSucceeded {
return scanResults.Inventory.Packages, nil
}

return scanResults.Inventory.Packages, nil
// Scalibr runs a lot of plugins and aggregates the result. Some of these are picky, and
// fail for random reasons. Accept partial success, but log the failing plugins.
if scanResults.Status.Status == scalibr_plugin.ScanStatusPartiallySucceeded {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer this set of if statements, or a switch like in scalibr.go, line 94?

(Yeah, we need to unify these two code paths or retire one)

@evankanderson

Copy link
Copy Markdown
Member

@JAORMX - can you take a look at this? I had to do some code updates to support the new scalibr evaluation (and ignore a couple scanners that were over-sensitive).

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.

@github-actions github-actions Bot added the Stale label Jul 4, 2026
@evankanderson

Copy link
Copy Markdown
Member

@dakshhhhh16 or @krrish175-byte

Could you take a look at this? I'd like to get scalibr updated to their most recent release in prep for clearing out the pin on OCI v1.2.1 spec.

@github-actions github-actions Bot removed the Stale label Jul 21, 2026
_ = os.RemoveAll(tmpDir)
}()
cfg := scalibr_cfg.PluginConfig{
MaxFileSizeBytes: 1024 * 1024,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we avoid setting a global 1 MiB file-size limit here and in internal/engine/ingester/diff/diff.go?

This configuration is passed to every selected plugin, including the package-lock.json extractor, which silently skips valid lockfiles larger than this limit. I reproduced a valid lockfile over 1 MiB returning an empty dependency inventory. Previously, an unset value of 0 meant no limit.

If this cap is intended only for binary extractors, could we configure those plugins specifically and add a large-lockfile regression test?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! We're trying to avoid blowing up memory during rule evaluation on the Minder server side, so let me bump this to 2MB, and see if we can check the stats for ignored files.

GitHub security alerts apparently only trigger for <0.5MB, so there is precedent for this sort of limit.

return nil, err
}
// unknownbinariesextr uses file extension to determine "binary-ness", and triggers on e.g. .py files
skipPlugins := []string{"ffa/unknownbinariesextr"}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should go/binary remain in this skip list?

Before this PR, Minder explicitly removed the Go-binary extractor because it can panic on certain files. The v0.4.5 implementation retains the same extraction path, and SCALIBR does not recover extractor panics, so removing that exclusion appears to reintroduce a process-level crash risk.

Could we keep it excluded unless there is an upstream fix we can reference and cover with a regression test?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like google/osv-scalibr#2316 may have (incidentally) fixed this. I added a regression test.

@evankanderson evankanderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback addressed and test cases added! Thanks for the review!

_ = os.RemoveAll(tmpDir)
}()
cfg := scalibr_cfg.PluginConfig{
MaxFileSizeBytes: 1024 * 1024,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! We're trying to avoid blowing up memory during rule evaluation on the Minder server side, so let me bump this to 2MB, and see if we can check the stats for ignored files.

GitHub security alerts apparently only trigger for <0.5MB, so there is precedent for this sort of limit.

return nil, err
}
// unknownbinariesextr uses file extension to determine "binary-ness", and triggers on e.g. .py files
skipPlugins := []string{"ffa/unknownbinariesextr"}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like google/osv-scalibr#2316 may have (incidentally) fixed this. I added a regression test.

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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants