3.4 KiB
Security Policy
Reporting a vulnerability
Please report suspected vulnerabilities privately — do not open a public issue.
- Preferred: GitHub private vulnerability reporting, via the Security tab of https://github.com/yunyingk/seal-use.
- The maintainer listed in
package.jsonis the fallback contact.
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/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 |
~/.cache/seal-use/usage.json |
Per-enterprise command counts | 0600 |
Credential writes tighten existing files to 0600 before storing new content, including updates, overwrites, and legacy migration. A hand-placed file can retain 0o644 until the next write, so
seal-use doctor reports any credential file whose mode is wider than 0600. Real enterprise
configs are gitignored — never commit them.
The one credential that ships inside the binary is the Langfuse read-only key pair used by
seal-use langfuse. It is injected at compile time (SEAL_BUILD_LANGFUSE_*: repository secrets in
release.yml for releases; for developer builds, shell env vars or the repo-local gitignored
.env.langfuse — deliberately outside ~/.config, which is user config space) and never appears
in the repository tree or in user config.
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.
- The embedded Langfuse key pair is not scope-limited upstream. Langfuse project keys carry
full API access, so "read-only" is guaranteed only by this client (it exposes
GETonly — seesrc/domains/langfuse/client.ts), and anyone with the binary can extract the key pair. The repository and its Releases are private, which is what bounds distribution. Treat Langfuse traces and~/.cache/seal-use/langfuse/(plus legacy.cache/langfuse/entries) as sensitive (they can contain enterprise approval data); rotate the key pair in Langfuse and update the fourLANGFUSE_*repository secrets to re-key. - Self-update and the install script do not verify signatures.
seal-use updatedownloads a release binary and replaces the running executable;scripts/install.shcompareschecksums.txtbut only warns on a mismatch. Prefer the direct GitHub source (SEAL_USE_MIRROR=github, which skips the third-party mirrors) and pass an explicitSEAL_USE_VERSIONwhen installing. - Custom rule linters are code that gets executed. Files under
~/.config/seal-use/linters/are imported into the CLI process byseal-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.