diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1c569f4..acb9c8d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,9 @@ updates: - package-ecosystem: github-actions directory: / schedule: { interval: weekly } + - package-ecosystem: docker + directory: / + schedule: { interval: weekly } - package-ecosystem: bundler directory: /docs schedule: { interval: weekly } diff --git a/Dockerfile b/Dockerfile index 09f6f0d..dde0277 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ # The opendrs MCP server over stdio, for registries that build and introspect it (Glama) and for # running it in a container. Mount the repository to score at /repo: docker run -i -v "$PWD:/repo" ... -FROM node:22-slim AS build +# Base images are pinned by digest (multi-arch index); Dependabot bumps them. +FROM node:22-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee AS build WORKDIR /app COPY package.json package-lock.json tsconfig.json tsconfig.build.json ./ COPY src ./src RUN npm ci --ignore-scripts && npm run build -FROM node:22-slim +FROM node:22-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee # opendrs reads history and diffs with git. RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/* WORKDIR /app diff --git a/SECURITY.md b/SECURITY.md index 52ff232..1b6e016 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ opendrs can approve and merge pull requests, so a way around its safety rails is ## Reporting -Report privately through GitHub: **Security → Report a vulnerability** on this repository. Do not -open a public issue. Include the opendrs version, your `.opendrs.yml`, and the steps or diff that +Report privately through GitHub: **Security → Report a vulnerability** on this repository +(). Do not open a public issue. Include the opendrs version, your `.opendrs.yml`, and the steps or diff that reproduce the problem. You should get a reply within 7 days. Confirmed issues are fixed in a patch release and credited in