Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.13 KB

Hardening.md

File metadata and controls

24 lines (17 loc) · 1.13 KB

Runner Hardening

What Is Runner Hardening?

This is a process or actions that should be performed to ensure that the Runner/Agent where the automated actions run on, is secured. Compromised dependencies and build tools typically make outbound calls to exfiltrate credentials, or may tamper source code, dependencies, or artifacts during the build. So taking correct actions to prevent this is vital.

Harden-Runner GitHub Action installs a security agent on the GitHub-hosted runner (Ubuntu VM) to

  1. Prevent exfiltration of credentials
  2. Detect tampering of source code during build
  3. Detect compromised dependencies and build tools

An interactive app is available to help you harden your actions!

Harden Runner Process

steps:
  - uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
    with:
      egress-policy: audit