Files
seal-use/SECURITY.md
T
gitea d9328cc97f Rename ops/ to wsl-infra/ and drop the in-repo enterprise config dir
- ops/ never said what it holds; wsl-infra/ carries the systemd release-sync and backup scripts that run on the WSL host
- remove enterprises/: the loader only reads ~/.config/seal-use/enterprises, so the in-repo dir (examples + local copies) was dead config; AGENTS/README/SECURITY no longer reference it, the .gitignore whitelist is gone, and doctor's local.json comment points at the global dir
- docs update: SECURITY custom-linter scope narrowed to the global dir; rule-lint.md documents the manifest-driven plaintext exposure
2026-09-30 17:05:50 +08:00

2.2 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 ~/.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 that directory as trusted code and do not hand it untrusted scripts.

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.