Skip to content

Conversation

@fmeum
Copy link
Collaborator

@fmeum fmeum commented Jan 9, 2026

This makes it possible to use registry overlays to add shell scripts.

Context: https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

@fmeum fmeum requested a review from Wyverald January 9, 2026 17:41
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jan 9, 2026
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 9, 2026

@bazel-io fork 8.6.0

@fmeum fmeum added the soft-release-blocker Soft release blockers that are nice to have, but shouldn't block the release if it's the last one. label Jan 9, 2026
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 9, 2026

@bazel-io fork 9.0.0

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to make overlaid files in http_archive executable to support adding shell scripts. While this is a valid use case, the current implementation makes all overlaid files executable, which is a security concern as it violates the principle of least privilege. My review includes a critical comment suggesting a more secure approach by introducing a new attribute to explicitly specify which files should be executable.

This makes it possible to use registry overlays to add shell scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer soft-release-blocker Soft release blockers that are nice to have, but shouldn't block the release if it's the last one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant