Skip to content

Conversation

mhucka
Copy link
Member

@mhucka mhucka commented Sep 14, 2025

Google's OSS guidance recommend the use of security scanners to detect vulnerabilities in code. This PR adds Scorecard and the Open-Source Vulnerabilities (OSV) scanners. Both of these are being used in our Quantumlib repos.

The configurations here will run the scanners on these events:

  • pull requests
  • merge queue merges
  • manual invocation
  • weekly on Saturdays

The OSV scanner is a dependency vulnerability scanner that identifies
known vulnerabilities in a project's dependencies. It supports C/C++,
Python, and others. The findings are reported in a repo's scan results
page, https://github.com/quantumlib/REPO/security/code-scanning/.
Scorecard (https://github.com/ossf/scorecard) is a repository-scanning
tool that evaluates a project's security practices. Its use is suggested
by Google's GitHub team. Scorecard's findings are reported in the scan
results page, https://github.com/tensorflow/quantum/security/code-scanning/.
Our default in some other repos is 100 character lines, but here in TFQ
the standard is 80 chars.
@mhucka mhucka marked this pull request as ready for review September 14, 2025 02:06
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.

1 participant