mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 12:17:07 +00:00
Update README.md
This commit is contained in:
parent
bdd4bdd283
commit
6091ab5c13
1 changed files with 3 additions and 5 deletions
|
|
@ -3,12 +3,10 @@
|
|||
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:
|
||||
|
|
@ -23,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