NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master securing CI/CD against malicious pull requests from forks. Learn execution contexts, avoid the checkout trap, and prevent secret exfiltration.
Open-source collaboration and external contributions are vital to modern software development. They also bring a large, often misunderstood attack surface into the CI/CD pipeline. When an external contributor forks a repository and submits a Pull Request (PR), the CI/CD system must decide how to run the automated tests, linting and build steps for that untrusted code.
Malicious pull requests from forks abuse the tension between two needs: automatically testing outside contributions, and protecting the base repository's secrets. If a pipeline is misconfigured to run untrusted fork code with the elevated privileges of the base repository, deployment tokens, cloud credentials or signing keys can easily leak.
Knowing the difference between pipeline execution contexts, and how they interact with forked code, is the main defense against supply chain compromises that start from innocent-looking community contributions.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign inMalware Analysis Fundamentals
Malware is the primary weapon in a cyber attacker's arsenal, but to defeat it, you must first understand how it works. M
ViewComputer Fundamentals
Before you can hack, defend, or analyze malware, you must understand the machines you are working with. The Computer Fun
ViewCybersecurity Foundations
Every great security professional starts with a rock-solid foundation. The Cybersecurity Foundations learning path is de
ViewSOC Fundamentals
Dive into the daily operations of a modern Security Operations Center. The SOC Fundamentals learning path breaks down ho
ViewThreat Detection and Intelligence
The Threat Detection & Intelligence Learning Path is designed to elevate security professionals from reactive alert resp
ViewEndpoint & Network Security Monitoring
Dive into the critical telemetry that powers modern threat detection. The Endpoint & Network Security Monitoring module
View