glsec

Known attacks

Published attacks on CI/CD pipelines that depended on something a .gitlab-ci.yml can carry, and the glsec 1.29.0 rules that report that configuration. glsec detects the configuration shape an attack used: a finding means the pipeline has what the attack needed, not that glsec protects against the CVE or the malicious package itself.

Bugs in GitLab itself are left out. They are fixed by upgrading GitLab, and a linter that reads the pipeline file can't see them.

Detected

Attacks on GitLab CI pipelines whose configuration glsec reports, fully or in part.

  1. CVE-2021-42574

    Unicode

    detected

    Trojan Source: bidirectional controls make text read differently to a person than to a parser.

  2. CVE-2025-10894

    Nx

    partly detected

    Malicious Nx packages collected credentials and started local AI agents with their approvals disabled.

    Not seen: needs run-time state that a file scan can't see. glsec reports an agent run with approvals disabled in a pipeline, not the malicious package.

  3. CVE-2026-33634

    Trivy

    partly detected

    A malicious Trivy 0.69.4 release reached jobs that pull a moving image tag or install it unpinned. Also known as GHSA-69fq-xp46-6x23.

    Not seen: deliberately not reported. An unpinned install (apt-get install trivy, the vector in the LiteLLM pipeline compromise) is reported by default by GL022; a pinned version image tag such as 0.69.4 only with require_image_digest: true (GL001).

Not detected

Attacks that a pipeline file could show, and why glsec doesn't report them.

  1. GHSA-5mg7-485q-xm76

    LiteLLM

    not detected

    LiteLLM 1.82.7 and 1.82.8 shipped credential-harvesting malware that runs on import.

    Not seen: needs run-time state that a file scan can't see. glsec scans pipeline config and scripts, not package contents, and the compromised version is pinned, so the install line looks ordinary. The pipeline vector that led to this compromise, an unpinned Trivy install, is reported by GL022 (see CVE-2026-33634).

Campaigns

Named campaigns without a single id, step by step: which steps a pipeline file shows, and which happen where no file scan can look.

  1. Codecov Bash Uploader

    Codecov

    partly detected

    An altered uploader script, piped into a shell by CI jobs, sent their environment to the attackers.

    1. A job downloads a script and pipes it into a shell. Reported by GL011.
    2. The altered script sends the job's environment out. Not seen: needs run-time state that a file scan can't see.

    glsec reports the download piped into a shell, not what the script does.

  2. GhostAction

    GitHub Actions

    partly detected

    Hijacked accounts added a job that sent the pipeline's CI secrets to an attacker-controlled host.

    1. A hijacked developer account adds a job to the pipeline. Not seen: needs run-time state that a file scan can't see.
    2. The job sends the pipeline's CI secrets to an attacker-controlled host. Reported by GL097.

    glsec reports the planted exfiltration, a secret sent to an untrusted destination, not the account takeover that commits it.

  3. Shai-Hulud

    npm

    partly detected

    A worm spread through install scripts that stole npm tokens and published infected versions.

    1. A job that publishes also runs dependency install scripts. Reported by GL090.
    2. A malicious install script steals the token and publishes. Not seen: needs run-time state that a file scan can't see.

    glsec reports install scripts in a job that publishes, not the malicious dependency.

  4. wfx-loot

    GitHub Actions

    partly detected

    Hijacked accounts planted a job that sent the pipeline's CI secrets out, and an install hook that runs on publish.

    1. A hijacked developer account adds a job to the pipeline. Not seen: needs run-time state that a file scan can't see.
    2. The job sends the pipeline's CI secrets to an attacker-controlled host. Reported by GL097.
    3. A publishing job runs a planted dependency install hook. Reported by GL090.

    glsec reports the planted exfiltration and the install hook in a publishing job, not the account takeover that commits them.

GitHub Actions analogues

These attacks hit GitHub Actions workflows, which glsec doesn't scan. Each entry is the same attack class in GitLab CI: the rules report the GitLab configuration with the same shape, not the CVE.

  1. CVE-2023-49291

    tj-actions/branch-names

    detected

    A crafted branch name ran as code in a workflow step. Fixed in 7.0.7. Also known as GHSA-8v8w-v8xg-79rf.

  2. CVE-2025-30066

    tj-actions/changed-files

    partly detected

    Moved version tags pointed every workflow that used the action at malicious code. Fixed in 46.0.1. Also known as GHSA-mrrh-fwg8-r2c3.

    Not seen: visible in the pipeline file, not reported yet. An include on a branch is reported, an include on a tag is not, and moving a tag was the attack. Tracking issue.

  3. CVE-2025-30154

    reviewdog/action-setup

    partly detected

    A moved version tag pointed workflows that used the action at malicious code. Also known as GHSA-qmg3-hpqr-gqvc.

    Not seen: visible in the pipeline file, not reported yet. An include on a branch is reported, an include on a tag is not, and moving a tag was the attack. Tracking issue.

  4. CVE-2026-123852

    JetBrains Junie GitHub Action

    detected

    Fork updates could run code with the workflow's credentials in the agent action. Fixed in 1.8.0. Also known as GHSA-mv6f-g9w3-f7mc.

  5. CVE-2026-83493

    distributed-workloads

    partly detected

    A privileged review workflow checked out and ran untrusted pull request code while retaining credentials. Also known as GHSA-6w7q-9vx7-v552.

    Not seen: needs run-time state that a file scan can't see. Protected variable and fork pipeline settings determine whether a merge request job receives secrets.

  6. GHSA-7x29-qqmq-v6qc

    ultralytics/actions

    detected

    A crafted branch name ran as code in a workflow step. Fixed in 0.0.3.

Built from docs/advisories.yml of glsec 1.29.0. Each detected entry has a fixture in glsec's tests that must produce the rules listed here.