Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Fix CodeQL alerts: pin Alpine image digest, scope release permissions

Martin Vogel43cde32d3d01
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5334a31eb..05078e740 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,9 +24,7 @@ on:
default: 'quick'
permissions:
- contents: write
- id-token: write
- attestations: write
+ contents: read
jobs:
# ── 1. Lint + Security + CodeQL ────────────────────────────────
diff --git a/test-infrastructure/Dockerfile.alpine b/test-infrastructure/Dockerfile.alpine
index 00f1e51c8..00496238b 100644
--- a/test-infrastructure/Dockerfile.alpine
+++ b/test-infrastructure/Dockerfile.alpine
@@ -6,7 +6,7 @@
# Build: docker build -f test-infrastructure/Dockerfile.alpine -t cbm-alpine test-infrastructure/
# Run: docker run --rm -v $(pwd):/src cbm-alpine
-FROM alpine:3.21
+FROM alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
RUN apk add --no-cache \
build-base \