[PR #5439] [MERGED] [StepSecurity] ci: Harden GitHub Actions #5489

Closed
opened 2026-05-05 10:39:21 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5439
Author: @step-security-bot
Created: 10/29/2022
Status: Merged
Merged: 10/31/2022
Merged by: @topimiettinen

Base: masterHead: stepsecurity_remediation_1667045789


📝 Commits (1)

  • 27de075 [StepSecurity] ci: Harden GitHub Actions

📊 Changes

4 files changed (+51 additions, -0 deletions)

View changed files

📝 .github/workflows/build-extra.yml (+23 -0)
📝 .github/workflows/build.yml (+8 -0)
📝 .github/workflows/codeql-analysis.yml (+12 -0)
📝 .github/workflows/profile-checks.yml (+8 -0)

📄 Description

Summary

This is an automated pull request generated by Secure Workflows at the request of @topimiettinen. Please merge the Pull Request to incorporate the requested changes. Please tag @topimiettinen on your message if you have any questions related to the PR. You can also engage with the StepSecurity team by tagging @step-security-bot.

Security Fixes

Least Privileged GitHub Actions Token Permissions

The least privilged token permissions were calculate using Secure WorkFlows based on the actions included in the GitHub Workflow files. This is recommended by GitHub as well as The Open Source Security Foundation (OpenSSF).

Pinned Dependencies

A pinned dependency is a dependency that is explicitly set to a specific hashed version instead of a mutable version. Pinned dependencis ensure that development and deployment are done with the same software versions which reduces deployment risks, and enables reproducibility. It can help mitigate compromised dependencies from undermining the security of the project in certain scenarios. The dependencies were pinned using Secure WorkFlows

Harden Runner

This PR adds Harden-Runner in GitHub actions workflows to improve security. It is an open-source purpose-built security monitoring agent for GitHub hosted runners. It monitors the runtime behavior of the build environment to provide security insights. Optionally, it can also lock down the build environment.

Feedback

For bug reports, feature requests, and general feedback; please create an issue in step-security/secure-workflows or contact us via our website.

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5439 **Author:** [@step-security-bot](https://github.com/step-security-bot) **Created:** 10/29/2022 **Status:** ✅ Merged **Merged:** 10/31/2022 **Merged by:** [@topimiettinen](https://github.com/topimiettinen) **Base:** `master` ← **Head:** `stepsecurity_remediation_1667045789` --- ### 📝 Commits (1) - [`27de075`](https://github.com/netblue30/firejail/commit/27de075700b172c7e635521d84186ac167d80dbe) [StepSecurity] ci: Harden GitHub Actions ### 📊 Changes **4 files changed** (+51 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-extra.yml` (+23 -0) 📝 `.github/workflows/build.yml` (+8 -0) 📝 `.github/workflows/codeql-analysis.yml` (+12 -0) 📝 `.github/workflows/profile-checks.yml` (+8 -0) </details> ### 📄 Description ## Summary This is an automated pull request generated by [Secure Workflows](https://github.com/step-security/secure-workflows) at the request of @topimiettinen. Please merge the Pull Request to incorporate the requested changes. Please tag @topimiettinen on your message if you have any questions related to the PR. You can also engage with the [StepSecurity](https://github.com/step-security) team by tagging @step-security-bot. ## Security Fixes ### Least Privileged GitHub Actions Token Permissions The least privilged token permissions were calculate using [Secure WorkFlows](https://github.com/step-security/secure-workflows) based on the actions included in the GitHub Workflow files. This is recommended by GitHub as well as The Open Source Security Foundation (OpenSSF). - [GitHub Security Guide](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow) - [The Open Source Security Foundation (OpenSSF) Security Guide](https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions) ### Pinned Dependencies A *pinned dependency* is a dependency that is explicitly set to a specific hashed version instead of a mutable version. Pinned dependencis ensure that development and deployment are done with the same software versions which reduces deployment risks, and enables reproducibility. It can help mitigate compromised dependencies from undermining the security of the project in certain scenarios. The dependencies were pinned using [Secure WorkFlows](https://github.com/step-security/secure-workflows) - [GitHub Security Guide](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions) - [The Open Source Security Foundation (OpenSSF) Security Guide](https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies) ### Harden Runner This PR adds [Harden-Runner](https://github.com/step-security/harden-runner) in GitHub actions workflows to improve security. It is an open-source purpose-built security monitoring agent for GitHub hosted runners. It monitors the runtime behavior of the build environment to provide security insights. Optionally, it can also lock down the build environment. ## Feedback For bug reports, feature requests, and general feedback; please create an issue in [step-security/secure-workflows](https://github.com/step-security/secure-workflows) or contact us via [our website](https://www.stepsecurity.io/). Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:39:21 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5489
No description provided.