For GitLab CI

CI/CD runtime security, designed for GitLab.

Protet watches every job on your self-hosted runners, records what each one actually executes, and sends one OCSF finding per job to your SIEM. In your cluster. Built to run air-gapped: signed bundles and the license are verified offline.

No .gitlab-ci.yml changes Self-managed, built for air-gapped Findings in your SIEM

The threats

What your scanners miss

Scanners read what a pipeline declares: the lockfile, the image tag, the include. These seven attacks look normal on paper and only show up in the commands a job runs. Each one is described as an attack story, then what Protet records.

1. A poisoned include:

The story. A shared template repository gets one extra line merged. Every project that includes it now runs a step nobody reviewed, with that project's variables in the environment.

What Protet sees. The new command, its arguments and the process that launched it, in every job that pulled the template.

2. CI_JOB_TOKEN and protected-variable theft

The story. A merge request from a contributor prints the environment into a request to a host the team has never used. The token and the protected variables leave the build, and the attacker now acts as your pipeline.

What Protet sees. The outbound command and the environment read that preceded it. There is no dependency to scan and no manifest entry; the signal is the execution.

3. A malicious postinstall

The story. A new package version looks clean and carries an install script. On npm ci it downloads a payload and pipes it into a shell, inside the job that holds your registry credentials.

What Protet sees. The download, the shell it was piped into and everything that shell started. The same screening runs in the open on every new npm package, published on Protet Intel.

4. A poisoned runner or service image

The story. A tag that your jobs pull is re-pointed to an image with an extra binary. The pipeline definition has not changed; the job starts exactly as before.

What Protet sees. A process in the job pod that your pipeline never asked for, from the first run that uses the new image.

5. Cache and artifact poisoning

The story. A low-privilege job writes a modified file into a shared cache or artifact. A later, privileged job restores it and runs it as part of the release.

What Protet sees. The privileged job executing a file that a different job produced, with its full command line, in the job that runs it.

6. Dependency confusion against Nexus or Artifactory

The story. An internal package name is registered on the public registry. A resolver misconfiguration prefers the public copy, and the build installs and runs the attacker's code.

What Protet sees. The install, the script it ran and what that script reached for. Validated on npm builds today.

7. A compromised runner host

The story. One runner node is taken over through a different service. Every job scheduled there now runs next to an attacker who can read job memory and mounted secrets.

What Protet sees. The processes each job starts on that node, not the rest of the node outside your jobs. A job that starts something unexpected is flagged, and findings roll up to the runner, so you see which one to look at first.

Architecture

One sensor per node, one finding per job

Everything in the diagram runs inside your network. Your jobs are scheduled exactly as before; the sensor sits beside them on the node.

How Protet sits next to a GitLab runner GitLab schedules a job on the runner. The runner starts job pods on a Kubernetes node. A Protet sensor on the same node records every command the job pods run and produces a verdict per job, pipeline and runner. The verdict leaves as an OCSF finding to your SIEM. Everything stays inside your network. Your network GitLab (self-managed) Runner, Kubernetes executor schedules job pods Kubernetes node Job pods, unchanged records every command Protet sensor DaemonSet, on every node Verdict per job rolled up to pipeline and runner OCSF finding Your SIEM
Self-hosted: the path from job to SIEM never leaves your cluster and network. How it works, self-hosted. New to the term? What is CI/CD runtime security? Choosing a tool? Protet or StepSecurity for GitLab?

Example

A flagged job

An illustrative walk through one malicious job, from the first command to the finding in your SIEM. Names and identifiers are made up.

build-7f3a · gitlab-runners

malicious
  1. Job starts. The runner schedules build-7f3a as a pod. The pipeline is unchanged.
  2. Install step. npm ci runs a package's install script.
  3. The script fetches and runs. It downloads a file and pipes it into sh, then reads the job's environment.
  4. Verdict: malicious. The sensor has seen the commands, the job is flagged and the finding rolls up to its pipeline and its runner.
  5. Finding delivered. One OCSF Detection Finding reaches your SIEM, with the pod, the namespace and the verdict.

OCSF Detection Finding

{
  "class_uid": 2004,
  "class_name": "Detection Finding",
  "category_uid": 2,
  "metadata": { "version": "1.1.0", "product": { "name": "protet" } },
  "finding_info": { "uid": "3f8a1c2e-0000-0000-0000-000000000000" },
  "container": { "pod_name": "build-7f3a" },
  "cloud": { "region": "gitlab-runners" },
  "enrichments": [
    { "name": "finding_kind", "value": "job" },
    { "name": "verdict", "value": "malicious" },
    { "name": "gitlab_pipeline", "value": "example-group/example-project#1234" },
    { "name": "gitlab_runner", "value": "runner-pool-a" }
  ]
}

Every benign job gets a finding too, so a quiet SIEM means quiet pipelines. Fields are documented in Integrations.

Install

Install in three steps

The sensor needs Tetragon on the cluster that hosts your job pods. The Helm chart is handed over with your account; the full reference is Install: GitLab. The install kit for self-managed GitLab is in design-partner rollout. We send you the current kit and walk through the install with you.

1

helm install

Install the chart next to your runners.

helm install protet ./protet-chart \
  --namespace protet --create-namespace \
  --values protet-values.yaml

2

Runner values

Nothing changes in .gitlab-ci.yml. Your runner keeps its Kubernetes executor; this is the part of its values the sensor relies on.

gitlabUrl: https://gitlab.example.internal
runners:
  config: |
    [[runners]]
      executor = "kubernetes"
      [runners.kubernetes]
        namespace = "gitlab-runners"

3

First verdict

Run any pipeline. The job returns a verdict, benign or malicious.

kubectl -n protet get pods -o wide
SENSOR_POD=$(kubectl -n protet get pods -o name | head -n 1)
kubectl -n protet logs "$SENSOR_POD" | tail

Compatibility

Works with, and not supported

Works with

  • GitLab CE and EE, self-managed.
  • GitLab Dedicated.
  • Runners that use the Kubernetes executor.
  • Any SIEM that reads OCSF over a webhook or a log file.

Not supported

  • GitLab.com shared runners. Protet needs a sensor on the node that runs your job pods, and shared runners are not yours to put one on.
  • Runners that do not use the Kubernetes executor have no packaged install yet. See "Does it need Kubernetes?" in the FAQ below.

GitHub Actions is covered separately: Also works with GitHub Actions.

Alongside GitLab

Complements GitLab Ultimate

GitLab Ultimate's scanners tell you what your pipeline declares: the dependencies, the images, the code and the configuration. That is the declared side, and you should keep it. Protet covers the other side, what the jobs actually executed on your runners. An install script that downloads a payload, a job that reads its own token or a new binary in a pulled image is not in the lockfile or the scan report, and it runs on every job whether or not a scanner has a rule for it.

Keep the scanners. Add the record of what ran.

Compliance evidence

Evidence your auditors ask for

A per-job record of what ran, as OCSF findings you keep in your own SIEM, supports the CI/CD parts of these frameworks. The control mapping, with a downloadable PDF, is on the compliance hub.

Protet supports your compliance evidence; not a certification; not legal advice.

Next step

See it on your runners

A technical demo walks through your runner setup and what Protet would record on it. Regulated teams on self-managed GitLab can also become a design partner.

Questions

FAQ

What does it cost my jobs in run time?

The sensor reads process execution on the node, outside your job pods, so your build images and .gitlab-ci.yml are untouched. We publish no overhead figure until it has been measured on a real runner fleet. Ask for a demo and we will measure it on yours.

Where does my data live?

Self-hosted, in your cluster: the commands your jobs run and the findings never leave your network unless you send them somewhere. The hosted service runs on Swiss infrastructure and is described on the security page.

Does it work air-gapped?

Built to run air-gapped: signed bundles and the license are verified offline. See self-hosted.

How is it different from GitLab's scanners?

Scanners check what is declared before and after a job. Protet records what ran during it. They answer different questions, see Complements GitLab Ultimate.

Does detection depend on where the job runs?

Detection does not depend on where the job runs. Protet judges a job by what its processes do: the commands it starts, the programs those start, the connections they open and the DNS names they look up. It does not read your pipeline file and does not use GitLab or Kubernetes metadata. Validated on npm builds today.

Does it need Kubernetes?

Kubernetes is the packaged install today: a sensor next to runners that use the Kubernetes executor. Docker, shell or VM-based runners: Protet can analyse eBPF events in Tetragon's export format from a collector you run on those runners. We set that up with you as a design partner; tell us your setup.

What about docker build and Docker-in-Docker jobs?

Protet watches the processes in the job's build container. Build steps that run in a separate Docker-in-Docker service container are not covered yet. Details are in Troubleshooting.