Jenkinsfile and shared-library poisoning

Module 8: Jenkins, attack and hardenCICD-SEC-4: Poisoned pipeline executionReleases week 10

You poison Jenkins pipelines two ways: a Jenkinsfile change in a branch, and a change to a shared library that many pipelines load. One commit to the library runs your code in builds you never touched. This is poisoned pipeline execution on Jenkins, and it shows why shared libraries need the same protection as production code.