Skip to content

Security: mission-kit/night-shift

SECURITY.md

Security

Model

  • Night Shift runs Mission Kit's headless ticks, which run the claude CLI with permissions bypassed and prompts denied. Only list repos whose plans and code you trust.
  • The API key, when you use API billing, is read by bin/night-shift-key from a file that must be owned by you with mode 600 (or from an environment a secret manager prepared). It is exported only into the process that runs the fire, never into argv, logs, unit files or repos, and never printed. The kit redacts it from its own logs too.
  • The config file is sourced as shell. The scripts refuse a config that group or others can write. Keep it chmod 600, outside any repo.
  • Night Shift never pushes, merges or runs /git-prod. Git work happens inside kit ticks under the kit's contract.
  • Logs, the lock and reports live under ~/.local/state/night-shift/, outside every repo. Fire logs hold the kit's already-redacted output; treat them as private anyway.
  • The kill switch file stops new fires and makes the key wrapper refuse to run.

Reporting

Please report a vulnerability privately through GitHub's "Report a vulnerability" (Security tab of this repo) rather than in a public issue. Do not include keys, hostnames or other private values in reports.

There aren't any published security advisories