mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-06 04:47:09 +00:00
Merge pull request #109 from step-security/varunsh-coder-patch-1
Update README.md
This commit is contained in:
commit
9a99570558
1 changed files with 5 additions and 11 deletions
16
README.md
16
README.md
|
|
@ -1,18 +1,12 @@
|
|||
<p align="left">
|
||||
<img src="https://step-security-images.s3.us-west-2.amazonaws.com/Final-Logo-06.png" alt="Step Security Logo" width="340">
|
||||
</p>
|
||||
# Security agent for Github-hosted runner
|
||||
|
||||
# Software Supply Chain Security
|
||||
|
||||
This GitHub Action can be used to visualize process, file, and network activity from your GitHub Actions workflows in a web UI. It can also be used to restrict outbound traffic to allowed endpoints.
|
||||
Harden-Runner GitHub Action installs a security agent on the Github-hosted runner to prevent exfiltration of credentials, monitor the build process, and detect compromised dependencies.
|
||||
|
||||
## Problem
|
||||
Hijacked dependencies and compromised build tools typically make outbound requests during the build process to exfiltrate data or credentials. This was the case in the [Codecov breach](https://www.bleepingcomputer.com/news/security/popular-codecov-code-coverage-tool-hacked-to-steal-dev-credentials/), in the [dependency confusion attacks](https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610), and the recent [npm package hijacks](https://github.com/faisalman/ua-parser-js/issues/536).
|
||||
Hijacked dependencies and compromised build tools typically make outbound requests during the build process to exfiltrate data or credentials. There is also a risk that a compromised dependency or build tool may modify source code, dependencies, or artifacts during the build process.
|
||||
|
||||
## Solution
|
||||
First-of-its-kind patent-pending technology that automatically correlates outbound traffic with each step of a workflow.
|
||||
|
||||
1. Add `step-security/harden-runner` to your GitHub Actions workflow file as the first step.
|
||||
1. Add `step-security/harden-runner` to your GitHub Actions workflow file as the first step in each job. In the pre step, the GitHub Actions installs a daemon that monitors process, file, and network activity.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
|
|
@ -27,7 +21,7 @@ First-of-its-kind patent-pending technology that automatically correlates outbou
|
|||
<img src="https://github.com/step-security/supply-chain-goat/blob/main/images/harden-runner/ActionLog.png" alt="Link in build log" >
|
||||
</p>
|
||||
|
||||
3. Click on the link ([example link](https://app.stepsecurity.io/github/jauderho/dockerfiles/actions/runs/1736506434)). You will see outbound traffic made by each step.
|
||||
3. Click on the link ([example link](https://app.stepsecurity.io/github/jauderho/dockerfiles/actions/runs/1736506434)). You will see a process monitor view of what activities happened as part of each step. This currently includes the programs that made outbound calls and did file writes to source code or dependencies.
|
||||
|
||||
<p align="left">
|
||||
<img src="https://github.com/step-security/supply-chain-goat/blob/main/images/harden-runner/OutboundCall.png" alt="Insights from harden-runner" >
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue