# Aqua Security Trivy: Aqua Security Trivy: an incomplete token rotation let TeamPCP poison 76 of 77 GitHub Action tags

> **Safety notice:** Read-only workflow grep and local file check.

- **Incident date:** Feb–Mar 2026
- **Disclosed:** Mar 20, 2026
- **Source disclosure:** https://www.aquasec.com/blog/trivy-supply-chain-attack-what-you-need-to-know/

## Reproduction lab
Scan your repositories for unpinned aquasecurity Action tags and check Linux developer hosts for the ~/.config/systemd/user/sysmon.py persistence dropper.

```bash
bash check-unpinned-trivy-actions.sh
ls -la ~/.config/systemd/user/sysmon.py 2>/dev/null || echo "Clean: no sysmon.py dropper"
```

## Policies and detection rules

### `check-unpinned-trivy-actions.sh`
Find GitHub Actions workflows referencing Trivy by mutable tag instead of full 40-char commit SHA.

```sh
#!/usr/bin/env bash
set -euo pipefail
grep -rnE "uses:\s*aquasecurity/(trivy-action|setup-trivy)@" .github/workflows/ \
  | grep -vE "@[0-9a-f]{40}\b" \
  && echo "WARN: Mutable Trivy Action tag found — pin to a verified 40-char commit SHA" \
  || echo "Clean: no unpinned Trivy Action tags"
```

## Indicators of compromise
- **Domain:** `scan.aquasecurtiy[.]org` (undefined)
- **IPv4:** `45.148.10.212` (undefined)
- **SHA-256:** `18a24f83e807479438dcab7a1804c51a00dafc1d526698a66e0640d1e5dd671a` (undefined)
- **Repository:** `tpcp-docs` (undefined)
- **File:** `~/.config/systemd/user/sysmon.py` (undefined)
