GitLab check

CI job tokens are permitted to push to the repository

GL-SEC-002HighSecurity

Trigger condition

The project setting for CI job token repository push (ci_push_repository_for_job_token_allowed) is enabled.

Evidence

States that CI job token repository push is enabled.

Impact

The CI job token is an ambient credential available to every pipeline job; if it can push to the repository, a compromised or malicious job gains a repository-write escalation path.

Recommendation

Disable this permission unless a specifically reviewed automation requires job-token repository push access.

← Back to the check catalogue