Skip to content

Proposal: Integrate OSSF Scorecard into GitHub Actions and Code Scanning #759

Backlog

Description

@esdrasdasilva21

I believe integrating OSSF Scorecard into the repository's security workflow would be a valuable step toward improving its overall security posture.

Based on the assessment provided in this issue, several areas could benefit from attention, particularly branch protection, dependency management, static analysis, and security policy.

I would suggest considering the following approach:

  1. Automated Security Assessment

Introduce an OSSF Scorecard GitHub Actions workflow to periodically evaluate the repository's security practices and identify potential regressions.

  1. Code Scanning Integration

Generate SARIF-formatted assessment results and upload them to GitHub Code Scanning, allowing maintainers to review security findings directly within the repository.

  1. Workflow Security

The workflow should follow the principle of least privilege by using explicitly defined token permissions and pinned GitHub Actions dependencies.

  1. Continuous Improvement

Beyond introducing automated assessments, the findings could guide incremental improvements, including:

Enabling branch protection and requiring code reviews.

Introducing automated dependency update mechanisms.

Integrating static application security testing (SAST).

Establishing a SECURITY.md policy.

Evaluating whether fuzz testing would be appropriate for the project's codebase.

One important consideration is that adding Scorecard automation does not automatically resolve the identified security weaknesses. It provides visibility and a repeatable assessment process that can help maintainers prioritize improvements.

I believe this integration would provide a useful foundation for more consistent security monitoring and long-term project maintenance.

Would the maintainers consider adopting this approach?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions