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

推荐订阅源

SecWiki News
SecWiki News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
月光博客
月光博客
Cyberwarzone
Cyberwarzone
雷峰网
雷峰网
Security Latest
Security Latest
量子位
博客园 - 聂微东
小众软件
小众软件
NISL@THU
NISL@THU
C
Cisco Blogs
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Y
Y Combinator Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
P
Privacy & Cybersecurity Law Blog
F
Full Disclosure
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
S
Security @ Cisco Blogs
The Register - Security
The Register - Security
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
aimingoo的专栏
aimingoo的专栏
腾讯CDC
S
Schneier on Security
L
LINUX DO - 最新话题
Latest news
Latest news
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
A
Arctic Wolf
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Secure Thoughts
S
Securelist
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
Recorded Future
Recorded Future
I
InfoQ
The Cloudflare Blog
H
Heimdal Security Blog
Hugging Face - Blog
Hugging Face - Blog

Wiz Blog | RSS feed

Meet Wiz for M365: Bringing SaaS into the Security Graph How to Harden GitHub Actions: An Updated Guide Bringing Security Visibility to Vercel with Wiz Axios NPM Distribution Compromised in Supply Chain Attack Tracking TeamPCP: Investigating Post-Compromise Attacks Seen in the Wild The Wiz Blue Agent, now Generally Available Beyond the Badge: What Achieving Microsoft’s Certified Software Designation Means for Your Cloud Security Introducing the Green Agent: AI-Powered Remediation for the Cloud Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign KICS GitHub Action Compromised: TeamPCP Strikes Again in Supply Chain Attack Introducing the Wiz Red Agent- AI-Powered Attacker Introducing Wiz AI Application Protection Platform (AI-APP) Introducing Wiz Agents & Workflows: Security at the Speed of AI AI Runtime Threat Detection: From Input to Real-World Impact Trivy Compromised: Everything You Need to Know about the Latest Supply Chain Attack It’s Official: Wiz Joins Google Understanding and Reducing AI Risk in Modern Applications Introducing Wiz Tenant Manager: Multi-Tenant Management for Federated Organizations The Agile FedRAMP Playbook, Part 4: Reactive Risk Management through Enriched Incident Response Wiz Achieves CPSTIC Certification in Spain Seeing AI Clearly: Building Visibility Across Modern AI Applications The Agile FedRAMP Playbook, Part 3: Preventative Risk Management by building Secure by Design Wiz Leads the 2026 Latio Application Security Report with awards in 4 categories Building an Agentic Cloud Security Ecosystem: A Reference Architecture with Wiz MCP and Infosys Cyber Next The Agile FedRAMP Playbook, Part 2: Proactive Risk Management with Continuous Monitoring Cloud-native Security for your Windows environment: Announcing the Wiz Runtime Sensor for Windows Would You Click ‘Accept’? Automatically detecting malicious Azure OAuth applications using LLMs Wiz Named a Leader in The Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 From Detection to Remediation: It’s Time to Rethink AppSec Around Exploitability and Root Cause Fixes The Agile FedRAMP Playbook, Part 1: Why Risk is Your Best Starting Point Introducing AI Cyber Model Arena: A Real-World Benchmark for AI Agents in Cybersecurity Wiz + Spotify Backstage: Security at the Developer’s Desk Building AI Security Together: New Ways to Partner with Wiz for AI Security in 2026 Hacking Moltbook: The AI Social Network Any Human Can Control The Year in Wiz Research: 2025 Most Read Blogs WizExtend is Here: AI and Cloud Security Insights in Your Daily Workflow From Detection to Remediation: Wiz in Your JetBrains IDE Agentic Browser Security: 2025 Year-End Review CodeBreach: Infiltrating the AWS Console Supply Chain and Hijacking AWS GitHub Repositories via CodeBuild A 90-Day Action Plan to Turn Resolutions into Results with Wiz Introducing the Wiz Partner Alliance: A New Chapter for Partner Success Preparing for Post-Quantum Cryptography Wiz Recognized as a 2025 Customers’ Choice in the Gartner® Peer Insights™ Voice of the Customer for CNAPP Expanding the Zero Critical Club to set a new standard for AppSec and SecOps teams Snipping the Long Tail of Shai-Hulud 2.0 Protecting Against Zero-Day Vulnerabilities with SOC-Level ASM Alert MongoBleed (CVE-2025-14847) exploited in the wild: everything you need to know The Kenna Transition: Your Strategic Shift to Exposure Management From MCP to Vibe Coding: Full Endpoint Visibility in Wiz AI Security Bringing Oracle Cloud Identity to Wiz Zero‑Days in the Age of AI: Behind the Scenes of ZeroDay.cloud 2025, with a Record High of CVEs in Critical Cloud Infra Gogs 0-Day Exploited in the Wild Top AWS re:Invent Announcements for Security Teams in 2025 React2Shell: Technical Deep-Dive & In-the-Wild Exploitation of CVE-2025-55182 React2Shell (CVE-2025-55182): Everything You Need to Know About the Critical React Vulnerability Wiz Product Announcements at re:Invent 2025: Expanding Visibility from Code to Cloud Introducing Wiz SAST: Where Code Risk Meets Cloud Context Wiz Becomes Fastest Security ISV to Reach $1 Billion in AWS Marketplace Lifetime Sales It's Here! Wiz Exposure Management is Now GA Shai-Hulud 2.0 Aftermath: Trends, Victimology and Impact Service Catalog is Here: Expand Risk Visibility for Your Service and Its Dependencies, Simplify Issue Ownership WizOS: Powering Secured Image Adoption with AI 3 OAuth TTPs Seen This Month — and How to Detect Them with Entra ID Logs Mastering Software Governance with Hosted Technologies Inventory Shai-Hulud 2.0 Supply Chain Attack: 25K+ Repos Exposing Secrets Get Certified on Wiz Defend for Threat Detection and Response Blueprint for Security: A Guide to Code, Governance, and Response Frameworks Google Unified Security Recommended Program Names Wiz Among First 3 Strategic Partners Introducing Posture Issues: Transform Security Findings into Actionable Outcomes Empower and Accelerate Your SOC with the Blue Agent Exposure Report: 65% of Leading AI Companies Found with Verified Secret Leaks Wizdom 2025 Product Announcements: Extending the Cloud Operating Model When AI Becomes the Heart of Security: Powering a Future You Can Trust AI-Powered Wiz: From Agents to Everyday Intelligence Defend Agentless Workload Detection: Bringing Visibility to Blind Spots in Threat Detection Securing AI Agents with Wiz AI-SPM Introducing Wiz ASM: Context-Driven Attack Surface Management Securing Critical Infrastructure in the Cloud Era: A Policy and Technology Blueprint How CISOs Should Plan Security Budgets for 2026 Beyond the Checkbox: How Wiz Transforms SOC 2 into a Security Powerhouse Bringing Visibility to Kubernetes: Unified Inventory and Network Insight The Foundation Modern AppSec Is Still Missing: Code to Cloud, Rebuilt the Right Way Dismantling a Critical Supply Chain Risk in VSCode Extension Marketplaces Introducing HoneyBee: How We Automate Honeypot Deployment for Threat Research RediShell: Critical Remote Code Execution Vulnerability (CVE-2025-49844) in Redis, 10 CVSS score Defending against database ransomware attacks AI Security 101: Mapping the AI Attack Surface Introducing zeroday.cloud: First-of-its-kind cloud and AI hacking competition Unifying Cloud Risk and Network Defense: Wiz and Check Point The emerging use of malware invoking AI Wiz achieves FedRAMP High authorization Wiz + HCP Terraform: Close the IaC-to-Cloud Infrastructure Security Gap IMDS Abused: Hunting Rare Behaviors to Uncover Exploits Beyond CVEs: The Exploitation of Everyday Misconfigurations Wiz Research Discovers One in Five Organizations Exposed to Systemic Risks in Vibe-Coded Applications - Here's How to Secure Them Introducing Wiz Incident Response: Your Expert Partner for Cloud Security Incidents Shai-Hulud: Ongoing Package Supply Chain Worm Delivering Data-Stealing Malware DORA Compliance in the Cloud Era: Insights from Deloitte and Wiz How Wiz Customers like Brex and FICO See AI Changing Security Wiz Recognized as a Leader in the 2025 IDC MarketScape for ASPM
Code to Cloud Attacks: From Github PAT to Cloud Control Plane
Shira Ayal · 2025-12-09 · via Wiz Blog | RSS feed

Threat actors are targeting GitHub Personal Access Tokens (PAT) as high-value entry points, leveraging compromised PATs to gain initial access to victim cloud environments. Historically, compromised PATs were used to identify and obtain secrets hard-coded in source code. However, the Wiz Customer Incident Response Team (Wiz CIRT) recently responded to multiple incidents where threat actors exploited leaked PATs (with standard developer permissions) to abuse trust between code repositories and cloud accounts.

Based on recent incidents investigated by the team, this blog post will detail unique methods attackers are currently using in the wild to leverage compromised PATs. It will describe a real attack flow in which a GitHub PAT was leveraged for cross-cloud lateral movement from GitHub to Cloud Service Provider (CSP) control plane. The examples are focused on the GitHub platform, though the underlying process is also applicable to GitLab.

Observed Malicious Techniques

Attackers leveraged compromised PATs to discover GitHub Action Secrets names in the codebase, and used them in newly created malicious workflows to execute code and obtain CSP secrets.

Secret Discovery

Wiz CIRT has observed incidents involving the misuse of GitHub Action Secrets, which are intended for the secure storage of credentials to be used within CI/CD workflows. While enumerating Actions Secrets is gated behind admin scopes in GitHub’s API, a threat actor with basic read permissions can still discover the secret names used within the codebase. 

The secret name is embedded directly in the workflow's yaml code, always accessed with the syntax: ${{ secrets.SECRET_NAME }}. Instead of cloning the entire repository, threat actors can leverage GitHub’s API code search functionality across the organization to look for this specific syntax and search for all the secrets used in the code repository. For example, an API call searching for all appearances of the string ${{ secrets. in the organization code will be:

Crucially, this type of active secret discovery can’t be monitored as these search API calls are not logged, despite contradictory claims in current GitHub Enterprise audit logs documentation. Wiz is currently working with GitHub support to resolve this discrepancy.

Wiz data shows that 73% of organizations that utilize GitHub Action Secrets store CSP credentials within them, and it is recommended to manage those secrets with caution and risk awareness, giving the associated principals the minimal permissions necessary.

Execution

Next, if the PAT has write permissions, attackers can leverage the GitHub Actions platform to execute malicious code. 

A possible process consists of the creation of custom workflows and pull requests designed to trigger the execution of an Action, which essentially allows the threat actor to run any arbitrary piece of code and retrieve the execution results by fetching the Action’s run log.

Possible attack flow for a threat actor leveraging a PAT with write permissions.

Malicious activity originating from the GitHub Actions ecosystem significantly obscures the true origin.
GitHub-hosted Actions run from GitHub-managed resources using legitimate, shared IP addresses that cannot be reliably marked as malicious. While GitHub provides the CIDR ranges for their Action exit nodes, these are often very broad and contain IPs not exclusively used for GitHub activity.
Self-hosted runners introduce potential additional risks because the Actions gain access to the data residing on the same resource hosting the runner. The specific severity of these risks depends on the runner's configuration.

Due to all of the above, executing malicious code via the GitHub Actions ecosystem provides several advantages for the attacker:

  • Secret abuse - It allows the threat actor to directly use the Actions Secrets whose names have been harvested during the Discovery phase.

  • Origin Impersonation - It enables malicious code to assume the true origin of a workflow by exploiting the trusted status of a legitimate runner.

  • Possible access to other resources - In case the action code is reused between workflows, or misconfigured on self-hosted runners.

Credential Access

Lastly, attackers can compromise the discovered Actions Secrets by utilizing GitHub Actions execution capabilities. 

GitHub automatically masks the content of secrets printed directly to the Action logs, and even the Base64 encoding of those secrets.

Example GitHub Action trying to print the secret content, and the resulting logs.

But, attackers have leveraged a simple but effective method to bypass this control. Any further manipulation of the secret, for example encoding it twice using Base64, allows attackers to successfully exfiltrate the raw secret value via the Action logs.

Altered GitHub Action example, successfully printing the secret content to the Action logs. 

Threat actors have also been observed exfiltrating secrets to a webhook endpoint they control, completely bypassing Action logs.

A more sophisticated abuse pattern Wiz CIRT has documented is the direct use of these secrets to run code in target CSPs. For example, an attacker can use a CSP credential, to run a command that creates new CSP cloud credentials (e.g., an Access Key for the same user). Since these newly created credentials are not masked by GitHub, they can be printed to the Action logs and used for persistent access. While the logs are not publicly available if the repository is private, the PAT can be leveraged to read the logs, and obtain the printed credentials.
Theoretically, threat actors could run their entire planned activity from GitHub Actions, but Wiz CIRT has only observed this as a stepping-stone to achieve lateral movement into the organization's core cloud environment.

Defense Evasion

A final step Wiz CIRT observed in these attacks is the use of the compromised PAT for Defense Evasion.
A PAT with write scopes can be abused to perform critical deletion activities, including the removal of workflow logs, workflow runs, pull requests and created branches. As workflow logs are rarely streamed into a SIEM, by executing these deletion commands, the threat actor can evade detection and investigation, leaving security teams to speculate regarding the full scope of the attack.

Lateral Movement

After successfully obtaining valid cloud credentials, whether by scraping plain-text secrets, by bypassing GitHub's masking to retrieve the content of Action secrets or by creating new cloud keys, threat actors were observed using these keys for cross-cloud lateral movement, into the target's cloud infrastructure.
At this point, the initial compromise of the GitHub PAT is complete, and the attacker has transitioned from a source code compromise to a full-cloud incident that allows broader abuse opportunities.

Additional Techniques

Beyond the steps detailed above to allow cross-cloud lateral movement from GitHub to CSP control plane, there are obvious threats of Exfiltration from code repositories, Impact, direct Credential Access and Lateral Movement.

In the case of tj-actions supply-chain attack, threat actors compromised the broadly used GitHub Action tj-actions/changed-files with a malicious payload that affected any repository using this action and compromised all the public repositories using it by leaking their secrets in logs. This poses high security risks for Impact in a supply-chain scenario caused by a legitimate developer's PAT being abused to introduce malicious code into trusted libraries.

Additional high-profile cases are known as the Shai-Hulud NPM supply-chain attacks. As reported previously by Wiz, attackers used open-source tools like TruffleHog for Credential Access, and leaked them to GitHub using PATs found by the tool. 

A developer's PAT with access to a GitHub organization makes even private repositories (typically considered more secure for sensitive data) unsafe for storing secrets. Based on Wiz data, 45% of organizations have plain-text cloud keys stored directly in their private code repositories, compared to just 8% in public repositories. This stark difference indicates a false sense of security, where organizations trust plain-text secrets to the privacy of their code repositories, leaving them severely vulnerable to this specific attack vector.

The Investigation Challenge

Limitations in log availability, combined with threat actor evasion techniques, create a significant investigative challenge. Crucially, audit log gaps exist, as code-search API calls are not logged at all. 

To conduct a comprehensive incident investigation on GitHub and determine the scope of an incident, including the content of malicious files, real-time enterprise audit log streaming is essential. This is the only method to capture detailed API request information. Without this preservation, the only remaining evidence is limited to undeleted workflow files and Actions logs from threat actors who did not employ defense evasion.
In addition, GitHub's audit logs do not enable IP tracking for requests by default, this is an opt-in setting. Therefore, it is critical to capture essential artifacts by both enabling IP tracking and utilizing real-time audit log streaming.

Finally, a question that often remains unanswered is how a PAT was initially compromised. Wiz CIRT suggests that incidents like the recent Shai-Hulud attack may be a starting point, as it publicly exposed thousands of PATs. In this attack, secrets were frequently exfiltrated cross-victim, which left many organizations unaware of the compromise and consequently unremediated.

How Wiz Can Help

To perform effective post-incident forensics and understand the full scope of an incident, an organization needs to see exactly what API calls the attacker made. Wiz Defend enables this by supporting GitHub Enterprise log streaming and presenting these logs in the Cloud Events page. These logs are the only way to gain visibility into the API requests made against the enterprise. By correlating these logs with other security findings, Wiz helps contextualize the suspicious activity and establish the incident timeline.

Wiz also monitors abnormal PAT behavior and creates Detections alerting on high volume activity, unusual ASO, unusual Action usage and secrets exfiltrated through workflows. These Detections are created, maintained, and continuously updated by the Wiz Threat Research team, ensuring the rules reflect the latest cloud threat intelligence.

Additionally, the Wiz Secret Scanner detects cloud keys and other secrets across the entire codebase, including Git history and all branches. This detection helps identify and track secrets that should be rotated or revoked. Wiz customers can check the Secret Findings page to review secrets already in their code, alongside the cloud context and potential impact. Secrets can be prevented from being committed by using Wiz IDE extension and precommit hooks on developers’ workstations, or by using Wiz scanners that integrate directly into the CI/CD pipelines and VCS to catch them later in the process. 

When a secret is already exposed, Wiz Defend monitors for misuse, alerts on secret-scanning activity in the cloud environment, and helps teams investigate and remediate the incident with workflows built for cloud specific attacks.

The Wiz Customer Incident Response Team is available to anyone experiencing a cloud incident.

References