Skip to content
Merged
54 changes: 54 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Dependabot version updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
#
# Note: The ClamAV service container image in security-scanners.yml is pinned
# by sha256 digest and is NOT covered by any Dependabot ecosystem. That digest
# must be updated manually (monthly cadence). See:
# docs/ADMINISTRATIVE_GUIDE.md → Updating Pinned Versions → How to update the ClamAV image digest

version: 2
updates:
# GitHub Actions — SHA-pinned actions across all workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps)"
include: "scope"
groups:
github-actions:
patterns:
- "*"

# Python (uv) — evaluator framework dependencies
- package-ecosystem: "uv"
directory: "/scripts/aidlc-evaluator"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps)"
prefix-development: "chore(deps-dev)"
include: "scope"
groups:
evaluator-deps:
patterns:
- "*"

# Pre-commit hooks — .pre-commit-config.yaml rev pins
- package-ecosystem: "pre-commit"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps)"
include: "scope"

# Docker — sandbox Dockerfile base image
- package-ecosystem: "docker"
directory: "/scripts/aidlc-evaluator/docker/sandbox"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps)"
include: "scope"
5 changes: 2 additions & 3 deletions scripts/aidlc-evaluator/docker/sandbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# Multi-language sandbox image for running AI-generated code in isolation.
#
# Includes Python 3.13 + uv, Node.js 22 + npm, and common build tools.
# Includes Python 3.14 + uv, Node.js 22 + npm, and common build tools.
# Runs as a non-root user with no credentials or host tools.
#
# Security notes:
# - Base image is intentionally not pinned to a hash to receive security updates
# - HEALTHCHECK is omitted as this is an ephemeral test sandbox, not a service
# - RUN commands use pipes without pipefail, acceptable for dependency installation

# checkov:skip=CKV_DOCKER_2:HEALTHCHECK not needed for ephemeral test sandbox
# nosemgrep: dockerfile-source-not-pinned
FROM public.ecr.aws/docker/library/python:3.13-slim AS base
FROM public.ecr.aws/docker/library/python:3.14-slim@sha256:3989a23fd2c28a34c7be819e488b958a10601d421ac25bea1e7a5d757365e2d5 AS base

# Install system dependencies and Node.js 22
# nosemgrep: set-pipefail
Expand Down