Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🤖 AI Review
The rw,z change is mechanically correct and covered by tests, but all six submitted findings were supported by the checked-out code. The main concerns are avoidable write access, use of a shared rather than private SELinux label, other unhandled host binds, and documentation that excludes permissive SELinux mode. Two additional findings are documentation/test-maintenance polish.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| 🟡 MINOR | apps/cli/src/commands/start/services/kong.service.ts:174 |
security |
claude | The template bind unnecessarily grants Kong write access to project files even though Kong only serves their contents and SELinux relabeling works with a read-only bind. |
| 🟡 MINOR | apps/cli/src/commands/start/services/kong.service.ts:174 |
security |
claude | Using lowercase z gives the template files a shared container label, weakening cross-container SELinux isolation even though Kong is their sole in-repository consumer. |
| 🟡 MINOR | apps/cli/src/commands/start/SIDE_EFFECTS.md:352 |
documentation-correctness |
codex | The side-effect documentation incorrectly limits persistent relabeling to SELinux-enforcing hosts; an SELinux-enabled runtime can also relabel files while SELinux is permissive. |
| 🟡 MINOR | apps/cli/src/commands/start/services/studio.service.ts:179 |
selinux-compatibility |
claude | The fix covers only Kong email templates; several other project-host binds can still encounter SELinux access denials because they specify neither relabeling nor disabled label separation. |
| ⚪ NIT | apps/cli/src/commands/start/services/kong.service.ts:161 |
documentation |
claude | The formatter documentation names the rw,z mode but does not explain that z is required for SELinux access or that it persistently relabels the host file. |
| ⚪ NIT | apps/cli/src/commands/start/services/kong.service.unit.test.ts:190 |
test-maintenance |
claude | The test retains a stale start.go source reference even though the PR removes the same framing from a neighboring touched test. |
Findings outside the diff
- 🟡 MINOR
apps/cli/src/commands/start/services/studio.service.ts:179— The fix covers only Kong email templates; several other project-host binds can still encounter SELinux access denials because they specify neither relabeling nor disabled label separation. - ⚪ NIT
apps/cli/src/commands/start/services/kong.service.unit.test.ts:190— The test retains a stalestart.gosource reference even though the PR removes the same framing from a neighboring touched test.
Stats
Claude findings: 5 · Codex findings: 1 · Confirmed: 6 · Refuted: 0 · Uncertain: 0
Models: claude-opus-5 + gpt-5.6-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
7ttp
force-pushed
the
7ttp/cli-2388-supabase-start-kong-email-template-bind-mounts-unreadable-on
branch
from
September 9, 2026 10:50
669124e to
6ce9839
Compare
Coly010
approved these changes
Sep 9, 2026
7ttp
deleted the
7ttp/cli-2388-supabase-start-kong-email-template-bind-mounts-unreadable-on
branch
September 9, 2026 13:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
fixes custom auth email templates silently falling back to defaults on SELinux-enforcing hosts
(Fedora/RHEL, rootless Podman)
which was caused by the Kong email-template bind mounts carrying no SELinux relabel option, and is now fixed by mounting them
rw,zref: