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

推荐订阅源

T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
T
Tailwind CSS Blog
The Cloudflare Blog
The Last Watchdog
The Last Watchdog
PCI Perspectives
PCI Perspectives
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
TaoSecurity Blog
TaoSecurity Blog
云风的 BLOG
云风的 BLOG
C
Cybersecurity and Infrastructure Security Agency CISA
O
OpenAI News
Recorded Future
Recorded Future
GbyAI
GbyAI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Y
Y Combinator Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
V
Vulnerabilities – Threatpost
F
Full Disclosure
Recent Announcements
Recent Announcements
Vercel News
Vercel News
S
Schneier on Security
H
Heimdal Security Blog
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
B
Blog RSS Feed
宝玉的分享
宝玉的分享
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
N
Netflix TechBlog - Medium
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone

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 How to Use Docker in Actions Runner Controller (ARC) Runners Securely - StepSecurity Celebrating 1000 Repositories Secured with Harden Runner: A Journey of Growth and Collaboration - StepSecurity StepSecurity Detects Early Supply Chain Risk Signals in kilocode npm - StepSecurity Another npm Supply Chain Attack: The 'is' Package Compromise - StepSecurity anthropics/claude-code-action Security: How to Secure Claude Code in GitHub Actions with Harden-Runner - StepSecurity Harden-Runner detection: tj-actions/changed-files action is compromised - StepSecurity StepSecurity's Catalog of Fixes - StepSecurity Orchestrating Security: StepSecurity's Impact on 400+ Repositories and Future Plans - StepSecurity Announcing Anomalous Outbound Call Detection Using Machine Learning - StepSecurity Announcing GitHub Actions Advisor and StepSecurity Maintained Actions - StepSecurity Analysis of Backdoored XZ Utils Build Process with Harden-Runner - StepSecurity Announcing General Availability of Harden Runner - StepSecurity Milestone Achieved: 2500+ Public Repositories Secured with Harden-Runner - StepSecurity Build secretless CI/CD pipelines using wait-for-secrets - StepSecurity Introducing Apps & PATs: Centralized Visibility for GitHub Apps and Personal Access Tokens - StepSecurity CVE-2026-22709: Critical Sandbox Escape Vulnerability in vm2 - StepSecurity StepSecurity Now Supports Dark Mode - StepSecurity 2025 in Review: The Evolution of Supply Chain Security & What's Next - StepSecurity Bake Harden-Runner Into GitHub's Custom Runner Images for Organization-Wide CI/CD Security - StepSecurity StepSecurity Is Now Available on Azure Marketplace - StepSecurity Critical Remote Code Execution Vulnerabilities Discovered in React Server Components and Next.js - StepSecurity How Harden Runner Detected the Sha1-Hulud Supply Chain Attack in CNCF's Backstage Repository - StepSecurity Sha1-Hulud: The Second Coming - Zapier, ENS Domains, and Other Prominent NPM Packages Compromised - StepSecurity Supply Chain Security Alert: eslint-config-prettier Package Shows Signs of Compromise - StepSecurity 9,000 Open-Source Projects Now Secured by Harden-Runner - StepSecurity Shai-Hulud: Self-Replicating Worm Compromises 500+ NPM Packages - StepSecurity Introducing npm Package Search: Find Where Any Package Was Introduced Across Your GitHub Organizations - StepSecurity StepSecurity Is Sponsoring GitHub Universe 2025 - StepSecurity s1ngularity: Popular Nx Build System Package Compromised with Data-Stealing Malware - StepSecurity Introducing StepSecurity Threat Intelligence: Real-Time Supply Chain Attack Alerts for Your SIEM - StepSecurity 8,000 Strong: Harden-Runner's Growing Impact on CI/CD Security - StepSecurity Securing Google Gemini in GitHub Actions with Harden-Runner - StepSecurity GhostAction Campaign: Over 3,000 Secrets Stolen Through Malicious GitHub Workflows - StepSecurity Introducing the NPM Package Cooldown Check - StepSecurity Calculate Your CI/CD Security ROI with StepSecurity's New ROI Calculator - StepSecurity How StepSecurity Harden Runner Detected Unexpected Microsoft Defender Installation on GitHub-hosted Ubuntu Runners - StepSecurity StepSecurity Harden Runner: Detect source code tampering during the build process - StepSecurity Suspicious Tag Movement in AWS’s GitHub Action: What Happened and Why It Matters - StepSecurity When 'Changed Files' Changed Everything: Our Black Hat 2025 Presentation on the tj-actions Supply Chain Breach - StepSecurity Lessons from AWS CodeBuild’s Memory-Dump Incident (CVE-2025-8217) - StepSecurity Supply Chain Security Alert: num2words PyPI Package Shows Signs of Compromise - StepSecurity When AI Meets CI/CD: Coding Agents in GitHub Actions Pose Hidden Security Risks - StepSecurity The GitHub Warning Everyone Ignores: 'This Commit Does Not Belong to Any Branch' - StepSecurity 8 GitHub Actions Secrets Management Best Practices to Follow - StepSecurity reviewdog GitHub Actions are compromised - StepSecurity 7,000 Open-Source Projects Now Secured by Harden-Runner - StepSecurity Replace Third-Party Actions with StepSecurity Maintained Actions via Automated Pull Requests - StepSecurity StepSecurity Is Now Available on AWS Marketplace - StepSecurity Introducing StepSecurity Artifact Monitor: Detect Unauthorized Software Releases in minutes, not months - StepSecurity Introducing Workflow Run Policies: Guardrails for Blocking Non-Compliant GitHub Actions Runs - StepSecurity Harden-Runner Detects New Traffic to release-assets.githubusercontent.com Across Multiple Customers - StepSecurity Grafana GitHub Actions Security Incident - StepSecurity Export Harden-Runner Security Insights and Detections to Amazon S3 - StepSecurity Evolving Harden-Runner’s disable-sudo Policy for Improved Runner Security - StepSecurity Announcing Policy-Driven Automated Pull Requests for CI/CD Misconfiguration Remediation - StepSecurity Announcing StepSecurity’s Integration with RunsOn: Secure and Optimized CI/CD Pipelines - StepSecurity Secure Repo Just Got Better: New Features for GitHub Actions Security Best Practices - StepSecurity Why Compliance Auditors Are Looking at Your CI/CD Runners - And How to Prepare - StepSecurity Harden-Runner Flags Anomalous Outbound Call, Leading to Docker Documentation Update - StepSecurity StepSecurity Harden-Runner Now Secures GitHub Actions Workflows for Over 5,000 Open Source Projects - StepSecurity GitHub Actions Pwn Request Vulnerability - StepSecurity Prevent Ultralytics Style CI/CD Security Attacks with Network Security Controls - StepSecurity PyTorch Supply Chain Compromise - StepSecurity Unified Network Egress View: Centralize GitHub Actions Network Destinations for Your Enterprise - StepSecurity Uniting Developers and Security: Celebrating the Success of 500+ Open Source Projects Using StepSecurity's Orchestration Platform - StepSecurity 5 Effective Third-Party GitHub Actions Governance Best Practices - StepSecurity StepSecurity Recognized Among CRN’s "10 Hottest DevOps Startups Of 2024" - StepSecurity Streamline Your GitHub Actions Workflows with StepSecurity’s Latest Feature - StepSecurity StepSecurity Steps Up the Security Game with SOC 2 Type 2 Compliance - StepSecurity StepSecurity's Alignment with CISA's CI/CD Security Guidance - StepSecurity
Securing GitHub Copilot in GitHub Actions with Harden-Runner - StepSecurity
2025-09-08 · via Step Security Blog

In the first article of this series, we explored the unique security considerations when running AI coding agents in CI/CD environments. Now, let's examine GitHub Copilot's security features and demonstrate how runtime monitoring with Harden-Runner creates defense-in-depth protection. As we'll see in the final article, these principles apply equally when securing Claude Code's flexible architecture.

Understanding GitHub Copilot's Network Firewall

GitHub Copilot includes thoughtfully designed security features, notably its agent firewall that controls internet access for the Copilot coding agent in GitHub Actions. This firewall, enabled by default, represents a proactive approach to security by limiting the agent's ability to make arbitrary network connections.

This design allows teams to maintain security while accommodating legitimate needs for external resources. The firewall effectively prevents many common attack vectors by blocking unauthorized network connections at the application layer.

The Black Box Problem: Limited Visibility in Agent Operations

While Copilot’s firewall provides critical protections, it doesn't offer visibility into what the coding agent is actually doing. This is especially problematic when:

  • An AI-generated script installs dependencies or makes outbound requests.
  • Enterprises need to verify which APIs were accessed.
  • Teams need to trace a network call back to a specific code suggestion.

Questions that remain unanswered without deeper monitoring include:

  • What processes were spawned by the agent?
  • Which process made a particular network call?
  • What endpoints were contacted?
  • Which GitHub APIs were invoked?

This creates a black box scenario. When troubleshooting or performing a post-incident analysis, traditional GitHub Actions logs are insufficient to answer these questions.

Enhancing Security With Harden-Runner

StepSecurity Harden-Runner closes this visibility gap by monitoring the runtime behavior of GitHub Actions workflows, including those executed by Copilot. It extends GitHub’s native protections with:

  • Complete Transparency: Capture every file access, process execution, and outbound connection made by Copilot-generated code.
  • Behavioral Intelligence: Understand the context behind activity - e.g., which suggestion or prompt led to which system operation.
  • Audit Logging: Maintain a forensically complete log of what transpired during each run.
  • Anomaly Detection: Flag unusual or unexpected behaviors, even those that aren’t explicitly blocked by the firewall.

This transforms Copilot from a black-box assistant into a fully observable agent, giving teams the confidence to use coding agents securely in GitHub actions.

Implementing Harden-Runner with GitHub Copilot

GitHub Copilot allows users to customize the GitHub Actions environment by running a special GitHub Actions workflow before Copilot is executed. This GitHub Actions workflow must be stored at .github/workflows/copilot-setup-steps.yml. You can add Harden-Runner in this workflow file to monitor and secure Copilot sessions for your repository. Here's an example:  

name: "Copilot Setup Steps"
on:
  workflow_dispatch:
  push:
    paths:
      - .github/workflows/copilot-setup-steps.yml
  pull_request:
    paths:
      - .github/workflows/copilot-setup-steps.yml
permissions: {}
jobs:
  copilot-setup-steps:
    runs-on: ubuntu-latest
    steps:
      - uses: step-security/harden-runner@v2
        with:
          egress-policy: audit

This setup ensures that any action Copilot performs is audited and can be inspected in real-time via Harden-Runner.

Let's examine a real example of how Harden-Runner monitors Copilot. For this demo, we created a GitHub issue to build a Python program that generates an image with text and extracts text from the image using OCR. You can see this GitHub issue here.

Once the GitHub issue was assigned to Copilot, it triggered the GitHub Actions workflow run "Fixing issue #1". This workflow run was monitored by Harden-Runner due to the copilot-setup-steps.yml workflow file created previously. As this is a public repository, you can explore the Harden-Runner insights for this run here.

On this insights page, you can find detailed information about:

Detailed Network Activity Analysis

The network events tab reveals detailed runtime and security insights into Copilot's execution.  

Based on the captured data, here's what happened during the workflow run:

1. Model Context Protocol (MCP) Server Initialization

  • The workflow began with Node.js processes (PIDs 2507, 2521) starting MCP servers
  • Node.js (PID 2507) made POST and GET calls to /mcp/readonly on api.github.copilot.com to establish MCP access
  • Node.js (PID 2521) connected to registry.npmjs.org, downloading 10 packages including MCP SDK, playwright, commander, debug, mime, ws, and zod-to-json-schema, plus a security advisory check
  • This phase set up the foundational tooling and security checks for Copilot's code generation capabilities

2. Repository and Git Operations

  • Git-remote-http process (PID 3767) connected to github.com during the "Processing Request" step
  • API calls were made to /step-security/coding-agent-security/info/refs for repository synchronization
  • A POST request to /step-security/coding-agent-security/git-upload-pack indicated code changes being prepared

3. Copilot Agent Session Management

  • Node.js process (PID 3741) connected to api.github.copilot.com
  • Two key API calls were made:  
  • GET /models - to retrieve available AI models
  • PUT /agents/sessions/890e7412-1208-49f9-b164-23526f1f4b40/logs - logging session activity

4. System Dependencies Installation

  • HTTP processes (PIDs 3878, 3883) accessed packages.microsoft.com and azure.archive.ubuntu.com
  • Specific packages were downloaded:  
  • Azure CLI components from /repos/azure-cli/dists/noble/InRelease
  • Ubuntu packages including binary-amd64 and binary-armhf architectures
  • System-level dependencies required for OCR functionality

5. Python Environment Setup

  • The padawan-fw process (PID 3709) - Copilot's execution framework - orchestrated Python package installation
  • Connections to pypi.org and files.pythonhosted.org downloaded Python dependencies
  • Python 3.12 processes (PIDs 3832) were spawned to handle package installation

6. Package Management Activity

  • Multiple padawan-fw processes connected to various package repositories:  
  • pypi.org for Python packages
  • packages.microsoft.com for system tools
  • azure.archive.ubuntu.com for Ubuntu packages
  • The orchestrated installation pattern shows Copilot automatically resolved all dependencies for the OCR task

7. Code Generation and Completion

  • Throughout execution, padawan-fw made calls to api.github.copilot.com
  • A final curl process (PID 5834) during "Clean Up" connected to api.github.copilot.com
  • This likely represented the session completion and pull request creation

Key Security Observations

From this network activity, we can observe several important security aspects:

  1. Legitimate External Access: All network connections were to legitimate services (GitHub, npm, PyPI, Microsoft packages) required for the task
  1. Process Attribution: Harden-Runner clearly shows which process made each network call, providing crucial context
  1. API Usage Patterns: Multiple GitHub API calls reveal how Copilot interacts with the repository throughout execution
  1. Package Management: The tool installation pattern shows Copilot automatically resolved dependencies for the OCR task

This level of visibility would be impossible without runtime monitoring, as standard CI/CD logs wouldn't capture these granular network interactions. You can see end to end flow in the screen recording below.

The Power of Runtime Network Security with Harden-Runner

Securing AI coding agents in CI/CD requires a multi-layered approach. GitHub Copilot's network firewall provides essential baseline protection, while Harden-Runner adds the enterprise-grade visibility and monitoring capabilities necessary for production environments.

The detailed network and runtime security insights by Harden-Runner show how even a simple task like implementing OCR functionality involves numerous external connections and package installations. Without proper monitoring, these activities remain invisible, creating potential security blind spots.

As we'll explore in the next article, these security principles become even more important when working with Claude Code, where the flexible architecture requires thoughtful security implementation from the start.