These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.
TeamPCP tag force-overwrite campaign
March – April 2026 · Contained
A Trivy bot token left valid after an earlier break-in pushed a poisoned Trivy release and moved the tags of trivy-action and setup-trivy, whose payload took the secrets of every pipeline that ran them. Those secrets opened Checkmarx's KICS Action, LiteLLM on PyPI and Bitwarden's npm CLI in turn.
- Went after
- Point a release tag at a bad commitSteal CI secrets and tokensPoison the build or published package
- Access held
- T0repoT1Actions: WriteT2Contents: Writenpm, cloud and GitHub tokensCI secrets and tokensPyPI publish tokennpm publish tokenPyPI and GHCR publishing
Full summary
Each compromise paid for the next. In late February a pull_request_target workflow in aquasecurity/trivy ran a fork's code with the PAT of the aqua-bot service account in scope, and it was stolen. Aqua rotated credentials on 1 March, but not all at once, and on 19 March the aqua-bot account pushed a v0.69.4 tag that built and released a backdoored Trivy, then force-moved 76 of the 77 version tags of aquasecurity/trivy-action and all seven of aquasecurity/setup-trivy to malicious commits. Every workflow that used those Actions by tag ran a stealer that read secrets out of the runner's memory and sent them, encrypted, to a typosquatted domain. Stolen npm tokens fed a worm on 20 March, and on 23 March a Checkmarx service account moved all 35 tags of the KICS GitHub Action the same way. On 24 March LiteLLM versions 1.82.7 and 1.82.8 were uploaded straight to PyPI with a token LiteLLM believes was taken through Trivy in its own CI. In April Checkmarx was hit again and a malicious @bitwarden/cli was on npm for 93 minutes. Trend Micro also counts elementary-data, published on 24 April through a comment that was run as a shell command in one of its workflows. Wiz saw the stolen keys being tried in victims' cloud accounts within hours. Wiz later attributed Mini Shai-Hulud to the same group (see the Shai-Hulud incident).
How it unfolded
Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.
Whole path
The whole attack, one row per step. Pick a step on the left, or click a box in its row.
On 27 and 28 February 2026 a pull request to aquasecurity/trivy changed the repository's setup-go action, and the API Diff Check workflow, triggered by pull_request_target, ran it with secrets in scope. The token taken was ORG_REPO_TOKEN, a PAT of the aqua-bot service account that Boost Security found in at least 33 workflows and believes had repo scope across the organization. This first break-in was part of the hackerbot-claw campaign (see that incident). Aqua disclosed it on 1 March and rotated credentials.
What breaks this step
- Audit every use of pull_request_target and remove or restructure risky ones
- Set the default GITHUB_TOKEN permission to read-only at the org level
- Require approval for first-time/external contributor workflow runs on forks
- Limit who and what can trigger workflows with workflow execution protections
- Disallow self-hosted runners on public repositories
- Pass untrusted values through env variables instead of ${{ }} expressions in run steps.
- Make self-hosted runners ephemeral.
- Lint workflows with zizmor or a similar tool in CI.
Aqua says the rotation was not atomic, so a still-valid token could have been used to read the new secrets. How the attacker got back in is still open in Boost Security's account. At 17:43 UTC on 19 March the aqua-bot account pushed a commit that swapped the actions/checkout reference for an impostor commit, skipped goreleaser's validation and tagged it v0.69.4. The release pipeline built a backdoored Trivy and published it to GitHub Releases, Docker Hub, GHCR, ECR and Aqua's own Homebrew tap. The binary was available from 18:22 to about 21:42 UTC.
What breaks this step
- Third-party Actions pinned to a full commit SHA instead of a mutable tag or branch
- Enable audit logging and export it to a SIEM for retention and detection
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Secret scanning and push protection enabled
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Require organization owner approval for fine-grained PATs.
- Never upload the checkout workspace as an artifact.
From 17:43 UTC the attacker force-pushed 76 of the 77 version tags of aquasecurity/trivy-action and all seven tags of aquasecurity/setup-trivy to malicious commits; Wiz and Boost Security count 75 of 76. Only trivy-action 0.35.0 was safe, because GitHub's immutable releases had been turned on for it on 4 March. Every workflow using either Action by tag ran a stealer that read secrets out of the Runner.Worker process memory, swept more than 50 paths for SSH keys and cloud, Kubernetes and Docker credentials, and sent them encrypted to scan.aquasecurtiy.org. If that failed it created a tpcp-docs repository in the victim's GitHub account and uploaded them there. trivy-action was malicious until about 05:40 UTC on 20 March.
What breaks this step
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Make releases immutable, or protect release tags with a tag ruleset
- Third-party Actions pinned to a full commit SHA instead of a mutable tag or branch
- Restrict which Actions can run to GitHub-verified creators or an internal allow-list
- Set the default GITHUB_TOKEN permission to read-only at the org level
- Limit where workflow jobs can connect to, starting with release and deploy jobs
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Review new dependencies in PRs and hold new package versions for a few days before they're allowed in (a cooldown).
- Disable install scripts where you can (npm ignore-scripts).
From 20 March npm tokens taken from CI runners published malicious versions of more than 45 packages, a self-spreading worm Wiz calls CanisterWorm. On 22 March Docker Hub credentials Aqua describes as separately compromised published malicious Trivy images 0.69.5 and 0.69.6, and internal Aqua repositories appeared as public repositories on GitHub. Wiz saw stolen keys checked with TruffleHog within hours of the theft, then AWS accounts enumerated and stolen PATs used to clone repositories and run workflows whose logs were then deleted.
What breaks this step
- Adopt artifact attestations for build provenance on published binaries/images
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Publish packages with trusted publishing (OIDC) instead of long-lived registry tokens
- Put production secrets in environments with required reviewers
- Write and rehearse a credential-rotation runbook before you need it
Between 12:58 and 16:50 UTC on 23 March the Checkmarx service account cx-plugins-releases repointed all 35 tags of Checkmarx/kics-github-action, from v1 to v2.1.20, to impostor commits that added a setup.sh step. ast-github-action 2.3.28 and two OpenVSX extensions published by the ast-phoenix account were also malicious. The stealer was the same, signed with the same RSA key, now sending to checkmarx.zone. Neither Checkmarx nor Wiz says how the accounts were taken; Trend Micro says stolen PATs and Arctic Wolf says previously stolen CI/CD secrets.
What breaks this step
- Third-party Actions pinned to a full commit SHA instead of a mutable tag or branch
- Enable audit logging and export it to a SIEM for retention and detection
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Make releases immutable, or protect release tags with a tag ruleset
- Restrict which Actions can run to GitHub-verified creators or an internal allow-list
- Set the default GITHUB_TOKEN permission to read-only at the org level
- Limit where workflow jobs can connect to, starting with release and deploy jobs
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Secret scanning and push protection enabled
- Require organization owner approval for fine-grained PATs.
- Never upload the checkout workspace as an artifact.
- Review new dependencies in PRs and hold new package versions for a few days before they're allowed in (a cooldown).
- Disable install scripts where you can (npm ignore-scripts).
On 24 March LiteLLM 1.82.7 and 1.82.8 were uploaded straight to PyPI, bypassing LiteLLM's release workflow. LiteLLM gives 10:39 UTC and says PyPI quarantined them about 40 minutes later; Wiz gives 08:30 and 11:25 UTC. LiteLLM believes the compromise came through the Trivy it ran in its CI security scan. 1.82.8 added a .pth file that runs on every Python start. LiteLLM brought in Mandiant and moved to a new release pipeline.
What breaks this step
- Adopt artifact attestations for build provenance on published binaries/images
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Publish packages with trusted publishing (OIDC) instead of long-lived registry tokens
- Put production secrets in environments with required reviewers
- Write and rehearse a credential-rotation runbook before you need it
- Third-party Actions pinned to a full commit SHA instead of a mutable tag or branch
- Restrict which Actions can run to GitHub-verified creators or an internal allow-list
- Review new dependencies in PRs and hold new package versions for a few days before they're allowed in (a cooldown).
- Disable install scripts where you can (npm ignore-scripts).
On 22 April Checkmarx's KICS images on Docker Hub, its VS Code extensions and its GitHub Actions were compromised a second time, which Trend Micro thinks most likely used PATs stolen in earlier waves. The same evening, from 17:57 to 19:30 Eastern time, @bitwarden/cli 2026.4.0 on npm carried a preinstall stealer. Bitwarden says it happened in connection with the Checkmarx incident and that no vault data was reached. Trend Micro says the npm token came from the KICS stealer; Socket and JFrog, as quoted in the press, say a compromised GitHub Action in Bitwarden's own pipeline.
What breaks this step
- Adopt artifact attestations for build provenance on published binaries/images
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Publish packages with trusted publishing (OIDC) instead of long-lived registry tokens
- Put production secrets in environments with required reviewers
- Write and rehearse a credential-rotation runbook before you need it
- Third-party Actions pinned to a full commit SHA instead of a mutable tag or branch
- Restrict which Actions can run to GitHub-verified creators or an internal allow-list
- Review new dependencies in PRs and hold new package versions for a few days before they're allowed in (a cooldown).
- Disable install scripts where you can (npm ignore-scripts).
At 22:10 UTC on 24 April a comment on pull request #2147 of elementary-data reached update_pylon_issue.yml, which put the comment body straight into a run step. With the job's GITHUB_TOKEN the attacker created a verified commit on an orphan tag, v0.23.3, and dispatched the Release workflow on it. At 22:20 UTC the project's own pipeline published 0.23.3 to PyPI and GHCR's latest tag. Trend Micro counts this as a TeamPCP wave; StepSecurity, which documented it, names no group.
What breaks this step
- Audit every use of pull_request_target and remove or restructure risky ones
- Set the default GITHUB_TOKEN permission to read-only at the org level
- Require approval for first-time/external contributor workflow runs on forks
- Limit who and what can trigger workflows with workflow execution protections
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Branch protection on default/release branches: required reviews of the last push + required status checks
- Put production secrets in environments with required reviewers
- Disallow self-hosted runners on public repositories
- Pass untrusted values through env variables instead of ${{ }} expressions in run steps.
- Make self-hosted runners ephemeral.
- Lint workflows with zizmor or a similar tool in CI.
Frameworks
Part of
Contained. First seen March 2026, last seen April 2026. Mapping by ghtier, not yet reviewed. Threat landscape
Sources
- researchTrivy compromised: everything you need to know about the latest supply chain attack (Wiz)
- postmortemTrivy supply chain attack: what you need to know (Aqua Security)
- advisoryGHSA-69fq-xp46-6x23 (CVE-2026-33634): Trivy, trivy-action and setup-trivy
- research20 days later: Trivy compromise, act II (Boost Security)
- trackerKICS GitHub Action compromised: TeamPCP strikes again (Wiz)
- researchTracking TeamPCP: investigating post-compromise attacks seen in the wild (Wiz)
- postmortemLiteLLM security update, March 2026
- researchelementary-data compromised on PyPI and GHCR: forged release pushed via GitHub Actions script injection
- advisoryBitwarden CLI 2026.4.0 infected with malware (Bitwarden community, with Bitwarden's statement)
- trackerDetecting, investigating, defending against Trivy supply chain compromise
- trackerTeamPCP: seven waves of credential chaining
- trackerTeamPCP isn't done
- trackerTeamPCP campaign overview
Reported by: Trend Micro