github ossf/scorecard v5.1.0

17 hours ago

What's Changed

  • There is a new --file-mode flag to control how repository files are fetched. (#4474, @spencerschrock)
    • The default method if unspecified is --file-mode archive which is what older versions of Scorecard always used.
    • --file-mode git produces the most accurate results for repositories with .gitattributes files at the cost of analysis speed. This currently only supports GitHub but can be expanded to other forges in the future.
  • The Scorecard binary name in releases is now consistent across all platforms (#4520, @timothysparg)
  • Scorecard now prints a warning if multiple GitHub PAT environment variables are set with different values. (#4483, @aunovis-heidrich)

Azure DevOps Support (Experimental)

There is now experimental support for Azure DevOps repositories (thanks @JamieMagee). Most checks should work, but the following checks do not: Branch-Protection, SBOM, and Signed-Releases.

To analyze a repository:

  1. Set the SCORECARD_EXPERIMENTAL environment variable to any value.
  2. Put your access token in the AZURE_DEVOPS_AUTH_TOKEN environment variable.

Checks

  • Enabled Fuzzing, License, Packaging, SAST, and Security-Policy checks when using --local option (#4423, @lharrison13)

CI-Tests

  • ✨ Add woodpecker as known CI by @6543 in #4336

Contributors

Dangerous-Workflow

  • When detecting a potential script injection in a GitHub workflow, Scorecard now adds a machine-readable patch to fix the vulnerability. This patch can be applied to your project using git apply or patch -p1 from the repository's root. The patch is currently only visible when running the hasDangerousWorkflowScriptInjection probe directly. (#4218, @pnacht)

Fuzzing

  • Support detection of fuzzing in Elixir and Gleam through the import of property-based testing modules (#4408, @kikofernandez)
  • Support detection of fuzzing in Erlang through the import of property-based testing modules (#4406, @kikofernandez)

License

  • Updates list of supported SDPX licenses to include latest data. (#4323, @lelia)

Pinned-Dependencies

Security-Policy

  • Fixed an issue where an org's .github repository was checked for a security policy without the proper authenticated transport by @jeffmendoza in #4259

Signed-Releases

  • Included links now link to the artifacts instead of the API details about the artifacts by @klbynum in #4290

Docs

New Contributors

Full Changelog: v5.0.0...v5.1.0

Don't miss a new scorecard release

NewReleases is sending notifications on new releases.