Run code inside the pipeline
A malicious change or dependency executes during a build.
- Preconditions
- Untrusted code can run in a job that can request the deployment role
- Required access
- Ability to trigger a workflow.
- Potential evidence
- CI audit logs; unusual workflow runs on unprotected branches
- Defensive controls
- Restrict which events/branches can access deployment credentials
- Dependency pinning and review