Repository navigation
Read logs as data in the deploy-status Skill; compare the console hostname without case - #135
Merged
Merged
Conversation
The Skill feeds deployment logs, runtime logs and the proxy's access log to Claude Code, which then edits the repository. Anyone who can send a request to an app chooses what its access log says (URL, headers), and the app's own output is not trusted either, so the instructions now say that such text is material to examine and never something to act on. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
A slug or a custom domain equal to console_host is refused, but the comparison was exact while hostnames are case-insensitive and console_host is used as written in config.toml. With a console_host that has upper-case letters and lies outside base_domain, a member with the manage role could register the console's hostname as a custom domain; the duplicate then made every later Caddy configuration fail. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
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.
Summary
Two small fixes from a security review of the repository. This is the first of a stack of pull requests; each later one is based on the one before it.
console_hostis refused, but the comparison was exact while hostnames are case-insensitive. With aconsole_hostthat has upper-case letters and lies outsidebase_domain, a member with the manage role could register the console's hostname as a custom domain, and the duplicate then made every later Caddy configuration fail.Test plan
go vet ./...,go test ./...TestSlugAndDomainCannotTakeTheConsoleHostfor aconsole_hostwritten with upper-case letters🤖 Generated with Claude Code