Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
previous_version: ${{ steps.bump.outputs.current_version }}

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 57 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:57: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -156,8 +156,8 @@
id: version
if: steps.bump.outputs.bump != 'none'
run: |
CURRENT="${{ steps.bump.outputs.current_version }}"

Check notice on line 159 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:159: code injection via template expansion: may expand into attacker-controllable code
BUMP="${{ steps.bump.outputs.bump }}"

Check notice on line 160 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:160: code injection via template expansion: may expand into attacker-controllable code

MAJOR=$(echo "$CURRENT" | cut -d. -f1)
MINOR=$(echo "$CURRENT" | cut -d. -f2)
Expand All @@ -177,7 +177,7 @@
- name: Update package.json files
if: steps.bump.outputs.bump != 'none'
run: |
VERSION="${{ steps.version.outputs.new_version }}"

Check notice on line 180 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:180: code injection via template expansion: may expand into attacker-controllable code

# Find all package.json files (excluding node_modules)
mapfile -t FILES < <(find . -name 'package.json' -not -path '*/node_modules/*' -not -path './catalyst-agent/*')
Expand All @@ -201,7 +201,7 @@
- name: Update Cargo.toml and Cargo.lock
if: steps.bump.outputs.bump != 'none'
run: |
VERSION="${{ steps.version.outputs.new_version }}"

Check notice on line 204 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:204: code injection via template expansion: may expand into attacker-controllable code
if [ -f catalyst-agent/Cargo.toml ]; then
sed -i "s/^version = \"[^\"]*\"/version = \"$VERSION\"/" catalyst-agent/Cargo.toml
echo "Updated catalyst-agent/Cargo.toml → $VERSION"
Expand All @@ -216,7 +216,7 @@
- name: Commit, tag and push
if: steps.bump.outputs.bump != 'none'
run: |
VERSION="${{ steps.version.outputs.new_version }}"

Check notice on line 219 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:219: code injection via template expansion: may expand into attacker-controllable code

git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand Down Expand Up @@ -310,7 +310,7 @@
sccache_sha256: 821a86343191aa1cbab74bd42f9e93c9a63bf85e4742945f40d3ae84193c1c77

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 313 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:313: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
ref: v${{ needs.version.outputs.new_version }}

Expand All @@ -325,7 +325,7 @@
# it against the digest pinned in the matrix.
- name: Cache protoc
id: cache-protoc
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0

Check failure on line 328 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

cache-poisoning

auto-version.yml:328: runtime artifacts potentially vulnerable to a cache poisoning attack: omitting `lookup-only` enables caching
with:
path: |
~/.local/bin/protoc
Expand All @@ -352,7 +352,7 @@
# setup. Same version as the self-hosted runner image.
- name: Cache sccache
id: cache-sccache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0

Check failure on line 355 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

cache-poisoning

auto-version.yml:355: runtime artifacts potentially vulnerable to a cache poisoning attack: omitting `lookup-only` enables caching
with:
path: ~/.local/bin/sccache
key: sccache-0.17.0-${{ matrix.sccache_arch }}
Expand Down Expand Up @@ -503,7 +503,7 @@
contents: write

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 506 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:506: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
ref: v${{ needs.version.outputs.new_version }}
fetch-depth: 0
Expand Down Expand Up @@ -634,7 +634,7 @@
attestations: write # SLSA provenance via attest-build-provenance

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 637 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:637: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
ref: v${{ needs.version.outputs.new_version }}

Expand Down Expand Up @@ -674,17 +674,17 @@
attestations: write # SLSA provenance via attest-build-provenance

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 677 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:677: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
ref: v${{ needs.version.outputs.new_version }}

- name: Setup Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0

Check failure on line 682 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

cache-poisoning

auto-version.yml:682: runtime artifacts potentially vulnerable to a cache poisoning attack: omitting `package-manager-cache` enables caching
with:
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down Expand Up @@ -773,7 +773,7 @@
runner: ubuntu-24.04-arm

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Check warning on line 776 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

artipacked

auto-version.yml:776: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
ref: v${{ needs.version.outputs.new_version }}

Expand Down Expand Up @@ -826,7 +826,7 @@
- name: Export digest
run: |
mkdir -p /tmp/digests
digest="${{ steps.build-push.outputs.digest }}"

Check notice on line 829 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:829: code injection via template expansion: may expand into attacker-controllable code
touch "/tmp/digests/${digest#sha256:}"

- name: Upload digest
Expand Down Expand Up @@ -971,7 +971,7 @@

- name: Verify multi-arch manifest exists
run: |
IMAGE="${{ env.REGISTRY }}/${{ github.repository_owner }}/catalyst-${{ matrix.image }}:${{ needs.version.outputs.new_version }}"

Check notice on line 974 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:974: code injection via template expansion: may expand into attacker-controllable code
echo "Inspecting manifest for $IMAGE"

# Fetch the manifest and verify it is a manifest list (multi-arch)
Expand Down Expand Up @@ -1002,7 +1002,7 @@

- name: Pull and verify image size
run: |
IMAGE="${{ env.REGISTRY }}/${{ github.repository_owner }}/catalyst-${{ matrix.image }}:${{ needs.version.outputs.new_version }}"

Check notice on line 1005 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:1005: code injection via template expansion: may expand into attacker-controllable code
docker pull "$IMAGE"
SIZE=$(docker image inspect "$IMAGE" --format='{{.Size}}' | awk '{print int($1/1024/1024)}')
echo "Image size: ${SIZE} MB"
Expand All @@ -1019,7 +1019,7 @@
- name: Smoke test runtime (backend)
if: matrix.image == 'backend'
run: |
IMAGE="${{ env.REGISTRY }}/${{ github.repository_owner }}/catalyst-${{ matrix.image }}:${{ needs.version.outputs.new_version }}"

Check notice on line 1022 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:1022: code injection via template expansion: may expand into attacker-controllable code

# Backend needs PostgreSQL for startup
docker network create catalyst-smoke-test
Expand Down Expand Up @@ -1080,7 +1080,7 @@
- name: Smoke test runtime (frontend)
if: matrix.image == 'frontend'
run: |
IMAGE="${{ env.REGISTRY }}/${{ github.repository_owner }}/catalyst-${{ matrix.image }}:${{ needs.version.outputs.new_version }}"

Check notice on line 1083 in .github/workflows/auto-version.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

auto-version.yml:1083: code injection via template expansion: may expand into attacker-controllable code

docker run -d \
--name smoke-frontend \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/demo-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
node-version: '22'

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand Down Expand Up @@ -83,7 +83,7 @@
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand All @@ -104,7 +104,7 @@
- name: Audit base branch for diff
run: |
git stash
git checkout origin/${{ github.base_ref }} 2>/dev/null || true

Check failure on line 107 in .github/workflows/dependabot-review.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

dependabot-review.yml:107: code injection via template expansion: may expand into attacker-controllable code
pnpm install --config.minimumReleaseAge=0 2>/dev/null || true
(cd catalyst-backend && pnpm audit 2>&1 | tee /tmp/base-backend-audit.txt || true)
(cd catalyst-frontend && pnpm audit 2>&1 | tee /tmp/base-frontend-audit.txt || true)
Expand Down Expand Up @@ -160,7 +160,7 @@
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: latest

Expand All @@ -168,7 +168,7 @@
run: |
echo "## 📦 Lockfile Change Analysis" >> $GITHUB_STEP_SUMMARY

LOCKFILE_DIFF=$(git diff origin/${{ github.base_ref }}...HEAD -- pnpm-lock.yaml 2>/dev/null || true)

Check failure on line 171 in .github/workflows/dependabot-review.yml

View workflow job for this annotation

GitHub Actions / Lint & Static Analysis

template-injection

dependabot-review.yml:171: code injection via template expansion: may expand into attacker-controllable code

if [ -z "$LOCKFILE_DIFF" ]; then
echo "No lockfile changes detected" >> $GITHUB_STEP_SUMMARY
Expand Down
Loading