Skip to content

fix: refuse to pin a malformed registry digest - #78

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/security-hardening-2026-11-24
Nov 24, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/security-hardening-2026-11-24

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Security review of the module repo (2026-11-24).

Severity Finding Fix
Low validate.py --pin (run by the monthly refresh-pins workflow) wrote the registry's Docker-Content-Digest header verbatim into template.yaml, so a hostile or broken registry could inject text into the refresh PR accept only sha256:<64 hex>

Checked and sound: no privileged/hostPath/hostNetwork/added capabilities in any template, no fixed default passwords, startup scripts quote user values, yaml.safe_load only, no shell=True, build.sh signs the parsed manifest digest, workflows use pull_request with read-only tokens and no github.event.* interpolation.

Noted, not changed: CI runs i18n-check@master from the Gameplane repo and actions are tag-pinned (project convention).


Generated by Claude Code

validate.py --pin writes Docker-Content-Digest verbatim into template.yaml; accept only sha256:<64 hex>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0f213068-a54f-4578-ae49-971f393f77de
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ValgulNecron ValgulNecron self-assigned this Nov 24, 2026
@ValgulNecron
ValgulNecron merged commit 27204fc into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants