diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8afae54..afc6bab 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,10 +20,11 @@ on: permissions: contents: read - security-events: write jobs: analyze: + permissions: + security-events: write runs-on: ubuntu-latest timeout-minutes: 15 strategy: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 69e2283..33aed84 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,6 @@ on: permissions: contents: read - packages: write env: REGISTRY: ghcr.io @@ -26,6 +25,9 @@ env: jobs: build-and-push: + permissions: + contents: read + packages: write runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/Dockerfile b/Dockerfile index 714d9c3..1067c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-bookworm-slim +FROM node:22-bookworm-slim@sha256:83f487e0a63425e5b4d146fb5e5be574bcbe1b7b843d3ebafdd95eaf7767a7e5 WORKDIR /app COPY package.json package-lock.json* .npmrc* ./ COPY packages ./packages diff --git a/package-lock.json b/package-lock.json index 2fec212..52138d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3905,9 +3905,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz", - "integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz", + "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==", "funding": [ { "type": "github", @@ -4966,9 +4966,9 @@ } }, "node_modules/qs": { - "version": "6.15.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz", - "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==", + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", "license": "BSD-3-Clause", "dependencies": { "es-define-property": "^1.0.1", diff --git a/package.json b/package.json index 410bac7..5f822c1 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,8 @@ "@hono/node-server": "2.0.12", "@modelcontextprotocol/sdk": { "@hono/node-server": "2.0.12" - } + }, + "fast-uri": "3.1.7", + "qs": "6.16.0" } }