Files
seal-use/SECURITY.md
T

2.3 KiB

Security Policy

Reporting a vulnerability

Please report suspected vulnerabilities privately — do not open a public issue.

Include the version (seal-use version), the platform, and a minimal reproduction. Expect an initial response within a few business days — this is a small project, not a staffed security team.

What this tool holds

seal-use keeps tenant credentials on the machine that runs it:

Path Contents Mode
~/.config/seal-use/seal_tokens.json Session tokens and derived keys 0600
~/.config/seal-use/enterprises/*.json Per-enterprise Hose app key/password or Seal bearer token 0600
enterprises/*.json (working tree) Same, for enterprises added from a checkout 0600
~/.config/seal-use/usage.json Per-enterprise command counts 0600

The tool writes these 0600; a config placed by hand can keep the 0o644 default, so seal-use doctor reports any credential file whose mode is wider than 0600. Real enterprise configs are gitignored — never commit them.

Trust model and documented limitations

These are deliberate trade-offs, not unknown bugs. Report them anyway if you can make one worse than described here.

  • Self-update and the install script do not verify signatures. seal-use update downloads a release binary and replaces the running executable; scripts/install.sh compares checksums.txt but only warns on a mismatch. Prefer the direct GitHub source (SEAL_USE_MIRROR=github, which skips the third-party mirrors) and pass an explicit SEAL_USE_VERSION when installing.
  • Custom rule linters are code that gets executed. Files under <cwd>/linters/ and ~/.config/seal-use/linters/ are imported into the CLI process by seal-use rules lint, with that process's filesystem access and enterprise credentials. Treat those directories as trusted code and do not run the CLI from an untrusted checkout. See linters/README.md.

Supported versions

Fixes land on main and ship in the next tagged release; only the latest release is supported. Release binaries are published to GitHub Releases and mirrored to Gitea.