Skip to content

fix: remove docker.sock mount from linter container - #44

Merged
mark-e-deyoung merged 1 commit into
mainfrom
fix/docker-socket-protection
Jul 6, 2026
Merged

mark-e-deyoung merged 1 commit into
mainfrom
fix/docker-socket-protection

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

Summary

Removes the Docker socket mount from the linter container. The linter only runs filesystem-level scans (shellcheck, ruff, mypy, hadolint, trivy fs) and does not need Docker access.

Changes

  • scripts/lint.sh: Removed the -v /var/run/docker.sock:... volume mount and added a comment explaining the design.
  • BACKLOG.md: Marked Item 9 as completed.

Security

Removing docker.sock from the linter container eliminates a vector where linting processes could potentially interact with the host Docker daemon. This is defense-in-depth — no vulnerability was actively being exploited.

Closes #43

- Remove -v /var/run/docker.sock mount from scripts/lint.sh
- Add comment explaining docker.sock is intentionally omitted
- Update BACKLOG.md to mark Item 9 completed

Closes #43
@mark-e-deyoung
mark-e-deyoung merged commit cf11a35 into main Jul 6, 2026
4 of 7 checks passed
@mark-e-deyoung
mark-e-deyoung deleted the fix/docker-socket-protection branch July 6, 2026 11:26
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.

fix: Remove docker.sock mount from linter container

1 participant