Files
loki/SECURITY.md
CatoandClaude Opus 5 3e736fb8d0 fix(contact): publish cato@orangecat.ch, an address that exists (#726)
mao@orangecat.ch was never a mailbox. The orangecat.ch mail service showed
0 of 1 addresses used — "You don't have an address yet on orangecat.ch" —
so every security report, licensing enquiry, privacy request and investor
mail sent to it bounced. Nothing reported that, because a dead address is
silent by construction.

cato@orangecat.ch now exists (created 2026-09-15, Infomaniak) and matches the
public name in the org register. Swapped in the eight files that publish a
contact: LICENSE, SECURITY.md, the privacy policy, the terms, the investor
contact, the seed fallback, and a test fixture.

NOT changed, deliberately: "Mao Nakamoto" as the named operator, data
controller and copyright holder in LICENSE, TERMS, PRIVACY and the IP
assignment memo. Replacing the party to a contract is a decision that may want
a legal name rather than another pseudonym. docs/AUDIT_REPORT.md keeps the old
address because it is a dated record of what was true then.


Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 02:37:31 -07:00

1.9 KiB

Security Policy

Loki is a hybrid system: the hosted app stores account, project, and product state; the local daemon executes terminal, git, and agent work on the user's machine. Security work should preserve that boundary.

Supported Surface

  • Production app: https://loki.orangecat.ch (self-hosted on the Hetzner bitbaum box, Caddy in front)
  • Default branch: main
  • Runtime bridge: per-user ck_* agent tokens
  • Database: PostgreSQL through direct and pooled URLs

Reporting

This repository is public. Do not open a public issue for a suspected vulnerability — report it privately, either through GitHub's private vulnerability reporting (Security → Report a vulnerability) or by email to cato@orangecat.ch, with:

  • affected route, component, script, or workflow
  • reproduction steps
  • impact and required privileges
  • whether the issue affects hosted cloud, local daemon, or both

Do not include real secrets, production tokens, or personal user data in reports.

Security Expectations

  • No secrets in Git. Use .env.example as the public contract.
  • Validate all API input with zod or explicit route guards.
  • Keep shell execution behind trusted server/runtime boundaries.
  • Never pass user-derived strings to runTool or shell commands without a specific parser/escaping strategy.
  • Prefer per-user ck_* agent tokens over shared daemon tokens.
  • Shared daemon tokens require explicit server-side opt-in.
  • Preserve tenant scoping on every persisted runtime and project-state write.
  • Treat the local daemon as powerful: it can access the user's terminal and filesystem through intended workflows.

Dependency Hygiene

GitHub Actions runs a scheduled npm audit --audit-level=high. High and critical vulnerabilities must be fixed or explicitly documented before a release. Moderate dev-tool findings can be deferred only when they are not reachable in production runtime paths.