惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
博客园 - 【当耐特】
月光博客
月光博客
C
Check Point Blog
T
The Blog of Author Tim Ferriss
罗磊的独立博客
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
L
LangChain Blog
The Cloudflare Blog

Step Security Blog

Announcing Dependabot Configuration Enhancements: Cooldown and Group Support - StepSecurity Securing Vibe Coding and AI Coding Agents: An End-to-End Approach with StepSecurity - StepSecurity Introducing StepSecurity Dev Machine Guard: Protecting Developer Machines from Supply Chain Attacks - StepSecurity Top 2024 Predictions for CI/CD Security - StepSecurity Dev Machine Guard Is Now Open Source: See What's Really Running on Your Developer Machine - StepSecurity Datadog's DevSecOps 2026 Report Validates What We've Been Building - StepSecurity hackerbot-claw: An AI-Powered Bot Actively Exploiting GitHub Actions - Microsoft, DataDog, and CNCF Projects Hit So Far - StepSecurity Cline Supply Chain Attack Detected: cline@2.3.0 Silently Installs OpenClaw - StepSecurity StepSecurity’s Unified Protection Across the SDLC Infrastructure Threat Framework (SITF) - StepSecurity @velora-dex/sdk Compromised on npm: Malicious Version Drops macOS Backdoor via launchctl Persistence - StepSecurity axios Compromised on npm - Malicious Versions Drop Remote Access Trojan - StepSecurity Behind the Scenes: How StepSecurity Detected and Helped Remediate the Largest npm Supply Chain Attack - StepSecurity 10 Layers Deep: How StepSecurity Stops TeamPCP's Trivy Supply Chain Attack on GitHub Actions - StepSecurity Malicious IoliteLabs VSCode Extensions Target Solidity Developers on Windows, macOS, and Linux with Backdoor - StepSecurity TeamPCP Plants WAV Steganography Credential Stealer in telnyx PyPI Package - StepSecurity litellm: Credential Stealer Hidden in PyPI Wheel - StepSecurity Checkmarx KICS GitHub Action Compromised: Malware Injected in All Git Tags - StepSecurity CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem - StepSecurity Trivy Compromised a Second Time - Malicious v0.69.4 Release, aquasecurity/setup-trivy, aquasecurity/trivy-action GitHub Actions Compromised - StepSecurity bittensor-wallet 4.0.2 Compromised on PyPI - Backdoor Exfiltrates Private Keys - StepSecurity Malicious npm Releases Found in Popular React Native Packages - 130K+ Monthly Downloads Compromised - StepSecurity Malicious Polymarket Bot Hides in Hijacked dev-protocol GitHub Org and Steals Wallet Keys - StepSecurity ForceMemo: Hundreds of GitHub Python Repos Compromised via Account Takeover and Force-Push - StepSecurity xygeni-action Compromised: C2 Reverse Shell Backdoor Injected via Tag Poisoning - StepSecurity kubernetes-el Compromised: How a Pwn Request Exploited a Popular Emacs Package - StepSecurity How StepSecurity Caught a Release Storm in Microsoft’s @types Packages - StepSecurity Harden Runner Now Supports Windows and macOS GitHub Actions Runners - StepSecurity 10,000 Open-Source Projects Now Secured by Harden-Runner Community-Tier: A Milestone Three Years in the Making - StepSecurity 20+ Popular NPM Packages Compromised (Chalk, Debug, Strip-ANSI, Color-Convert, Wrap-ANSI...) - StepSecurity 2024 in Review: The Evolution of CI/CD Security & What's Next - StepSecurity
StepSecurity Harden Runner: Detect source code tampering ...
2025-08-27 · via Step Security Blog

In December 2020, the industry was rocked by the disclosure of a supply chain attack against SolarWinds, Inc. This attack method focused on the inclusion of unauthorized malicious code during the build process, rather than modifying the source code in the source control system or modifying the artifact in the artifact registry [1].

Such tampering is hard to detect. Countermeasures such as setting branch protection and code review do not help in such an attack, since the code is not tampered in the source control system (box 1 below). Code signing does not help since the artifact that is signed has already been tampered during the build process. As an example, in the SolarWinds supply chain attack, the software was signed, but had been tampered before signing, during the build process (box 2 below) [2].

Simplified view of where source code was tampered in the SolarWinds supply chain attack

StepSecurity (https://stepsecurity.io), a software supply chain security company, has built a solution to detect such tampering of source code during the build process. As of now the solution is available when you build your code using GitHub Actions on the GitHub-hosted runners.

GitHub Actions is a popular CI/CD platform that allows you to automate your build, test, and deployment pipeline. GitHub-hosted runners are the virtual machines (VMs) that execute jobs in a GitHub Actions workflow and are hosted by GitHub [3].

StepSecurity’s Harden Runner is an agent for the GitHub-hosted runner (Ubuntu VM) to monitor the build process. It uses the Linux audit framework to audit for file modifications during the build process. Linux audit helps make your system more secure by providing you with means to analyze what is happening on your system [4].

StepSecurity’s solution is called Harden Runner because it hardens the runner, which is the virutal machine that executes build jobs. Adding Harden Runner to your GitHub Actions workflow is easy. You just add it as the first step in the workflow.

Images shows how to add harden runner to a GitHub Actions workflow

Harden Runner can detect source code modification during the build process and shows it as an error annotation in the workflow (screenshot below). It also shows the syscall and the executable that modified the file. In the future we plan on enabling such detections for artifacts generated on the build server. We also plan on sending notifications for such detections.

Image shows harden runner detecting source code modification during the build process

Harden Runner is being used in GitHub Actions workflows in more than 500 repositories, out of which over 300 are public repositories. It is being used in popular open-source projects such as Node Version Manager and Caffeine and open-source projects from Google, Microsoft, and Automattic.

Harden Runner is available on the GitHub Actions marketplace. If you want to do a hands-on tutorial for this scenario, you can follow the steps using a fork of the Supply Chain Goat public repository.

To get updates as more capabilities are released, follow Step Security on LinkedIn and Twitter.

Try StepSecurity for Free

References:

[1] SUNSPOT: An Implant in the Build Process — https://www.crowdstrike.com/blog/sunspot-malware-technical-analysis/

[2] Preventing Supply Chain Attacks like SolarWinds https://www.linuxfoundation.org/blog/preventing-supply-chain-attacks-like-solarwinds/

[3] About GitHub-hosted runners — https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] Linux Audit framework — https://wiki.archlinux.org/title/Audit_framework

StepSecurity Harden Runner GitHub Action — https://github.com/marketplace/actions/harden-runner

Supply Chain Goat — https://github.com/step-security/supply-chain-goat/blob/main/MonitorSourceCode.md