Skip to content

chore: [StepSecurity] Apply security best practices#31

Open
step-security-bot wants to merge 2 commits intoAlbusKavaliro:devfrom
step-security-bot:chore/GHA-221234-stepsecurity-remediation
Open

chore: [StepSecurity] Apply security best practices#31
step-security-bot wants to merge 2 commits intoAlbusKavaliro:devfrom
step-security-bot:chore/GHA-221234-stepsecurity-remediation

Conversation

@step-security-bot
Copy link

Summary

This pull request is created by StepSecurity at the request of @hangy. Please merge the Pull Request to incorporate the requested changes. Please tag @hangy on your message if you have any questions related to the PR.

Security Fixes

Least Privileged GitHub Actions Token Permissions

The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.

Pinned Dependencies

GitHub Action tags and Docker tags are mutable. This poses a security risk. GitHub's Security Hardening guide recommends pinning actions to full length commit.

Harden Runner

Harden-Runner is an open-source security agent for the GitHub-hosted runner to prevent software supply chain attacks. It prevents exfiltration of credentials, detects tampering of source code during build, and enables running jobs without sudo access. See how popular open-source projects use Harden-Runner here.

Harden runner usage

You can find link to view insights and policy recommendation in the build log

Please refer to documentation to find more details.

Keeping your actions up to date with Dependabot

With Dependabot version updates, when Dependabot identifies an outdated dependency, it raises a pull request to update the manifest to the latest version of the dependency. This is recommended by GitHub as well as The Open Source Security Foundation (OpenSSF).

Add OpenSSF Scorecard Workflow

OpenSSF Scorecard is an automated tool that assesses a number of important heuristics ("checks") associated with software security and assigns each check a score of 0-10. You can use these scores to understand specific areas to improve in order to strengthen the security posture of your project.

Scorecard workflow also allows maintainers to display a Scorecard badge on their repository to show off their hard work.

Feedback

For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
@hangy hangy changed the title [StepSecurity] Apply security best practices chore: [StepSecurity] Apply security best practices Mar 22, 2026
Removed daily update schedules for multiple NuGet packages.
@codecov
Copy link

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.68%. Comparing base (3746df6) to head (4102ebb).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #31   +/-   ##
=======================================
  Coverage   75.68%   75.68%           
=======================================
  Files           1        1           
  Lines         514      514           
  Branches       72       72           
=======================================
  Hits          389      389           
  Misses         82       82           
  Partials       43       43           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

2 participants