mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 16:07:35 +01:00
Carried over Grok's in-progress rebrand of user-visible copy: CONTRIBUTING, SECURITY, all content/thoughts/* essays, whitepaper, IP assignment memo (also correcting fleetwave GmbH → fleetcrown GmbH per the earlier user correction), agent-cli-registry-spec, and three src/ comment/identifier spots (control route, intent panel doc, refresh-event handler name). No behavior changes — purely copy + comments. Repository directory remains "cockpit" for git-history continuity per the legal memo's clarification. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Security Policy
FleetCrown 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://fleetcrown.vercel.app - Default branch:
main - Runtime bridge: per-user
ck_*agent tokens - Database: PostgreSQL through direct and pooled URLs
Reporting
This is a private repository. Report suspected vulnerabilities directly to the repo owner 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.exampleas 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
runToolor 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.