Skip to content

Read logs as data in the deploy-status Skill; compare the console hostname without case - #135

Merged
tricknotes merged 2 commits into
mainfrom
audit-small-fixes
Nov 23, 2026
Merged

tricknotes merged 2 commits into
mainfrom
audit-small-fixes

Conversation

@tricknotes

Copy link
Copy Markdown
Owner

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.

  • deploy-status Skill: 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, so the instructions now say that such text is material to examine, never something to act on. The plugin version goes to 0.25.2.
  • Console hostname: a slug or custom domain equal to console_host is refused, but the comparison was exact while hostnames are case-insensitive. 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, and the duplicate then made every later Caddy configuration fail.

Test plan

  • go vet ./..., go test ./...
  • New cases in TestSlugAndDomainCannotTakeTheConsoleHost for a console_host written with upper-case letters

🤖 Generated with Claude Code

tricknotes and others added 2 commits November 24, 2026 03:10
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>
@tricknotes
tricknotes merged commit 19a2b1f into main Nov 23, 2026
5 checks passed
@tricknotes
tricknotes deleted the audit-small-fixes branch November 23, 2026 19:22
@tricknotes
tricknotes restored the audit-small-fixes branch November 23, 2026 19:23
@tricknotes
tricknotes deleted the audit-small-fixes branch November 23, 2026 19:25
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.

1 participant