Skip to content

Conversation

@mtorp
Copy link
Contributor

@mtorp mtorp commented Dec 10, 2025

  • Adds the --reach-use-only-pregenerated-sboms to the Python CLI. Equivalent to this PR to the npm CLI.
  • Updates the CLI to 2.2.44

Why?

Public Changelog

N/A

@mtorp mtorp requested a review from dacoburn December 10, 2025 13:02
@mtorp mtorp requested a review from a team as a code owner December 10, 2025 13:02
@mtorp mtorp requested review from ljharb and nolanlawson and removed request for a team December 10, 2025 13:02
@mtorp mtorp changed the title Reach use only pregenerated sboms Adds the --reach-use-only-pregenerated-sboms flag Dec 10, 2025
@github-actions
Copy link

github-actions bot commented Dec 10, 2025

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.48.dev1

Docker image: socketdev/cli:pr-138

…cation. Left the new function in place and just called find_files with the optional params
@socket-security
Copy link

socket-security bot commented Dec 10, 2025

@socket-security
Copy link

socket-security bot commented Dec 10, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: pypi identify under AGPL-3.0

License: AGPL-3.0 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: EPL-1.0 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: EUPL-1.1 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: EUPL-1.2 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: OSL-3.0 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: pypi identify under EUPL-1.2

License: EUPL-1.2 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: AGPL-3.0 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: EPL-1.0 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: EUPL-1.1 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: OSL-3.0 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@socket-security-staging
Copy link

socket-security-staging bot commented Dec 10, 2025

@socket-security-staging
Copy link

socket-security-staging bot commented Dec 10, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: pypi docutils

License: License :: OSI Approved :: GNU General Public License (GPL) - This license classifier is not allowed by the applicable policy (docutils-0.22.3/PKG-INFO)

License: License :: OSI Approved :: GNU General Public License (GPL) - This license classifier is not allowed by the applicable policy (docutils-0.22.3/pyproject.toml)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity-Staging ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity-Staging ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: pypi docutils

License: License :: OSI Approved :: GNU General Public License (GPL) - This license classifier is not allowed by the applicable policy (docutils-0.22.3.dist-info/METADATA)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity-Staging ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity-Staging ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: pypi identify under EPL-1.0

License: EPL-1.0 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: EUPL-1.1 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: EUPL-1.2 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: GPL-2.0+ - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: OFL-1.1 - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

License: WTFPL - the applicable license policy does not allow this license (4) (identify-2.6.15/identify/vendor/licenses.py)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity-Staging ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity-Staging ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: pypi identify under OFL-1.1

License: OFL-1.1 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: WTFPL - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: EPL-1.0 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: EUPL-1.1 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: EUPL-1.2 - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

License: GPL-2.0+ - the applicable license policy does not allow this license (4) (identify/vendor/licenses.py)

From: uv.lockpypi/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity-Staging ignore pypi/[email protected]. You can also ignore all packages with @SocketSecurity-Staging ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@dacoburn
Copy link
Collaborator

Made some changes:

  • Moved the logic from find_sbom_files to find_files
  • Bumped the SDK requirement to 3.0.22 to handle results with no version for the diff/full scans

@dacoburn dacoburn merged commit c2deb21 into main Dec 10, 2025
6 checks passed
@dacoburn dacoburn deleted the reach-use-only-pregenerated-sboms branch December 10, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants