Skip to content

Security: kodji7202-code/runledger

Security

SECURITY.md

Security Policy

Reporting a vulnerability

Send reports to hello@runledger.site. Please do not open a public issue or pull request for a security problem.

Include:

  • the RunLedger version (runledger --version) and how you installed it (pip, the Docker image, or from source),
  • the steps to reproduce, or a proof of concept,
  • what an attacker could do, and what they need first (for example network access, or a team key).

Give us a reasonable time to fix the problem before you disclose it publicly. We will acknowledge your report, keep you informed while we work on it, and credit you in the changelog if you want that.

Supported versions

Version Security fixes
1.0.x Yes
0.7.x Security fixes only
Earlier versions No; upgrade to a supported version. Since 0.3.0, receipts mask secrets

Scope

In scope: the runledger package (the CLI, the team server, the dashboard, the approval API and the guard hook), the Docker image and the files in deploy/, and the GitHub action.

Out of scope: the agents RunLedger reads (Claude Code, Codex CLI, Factory Droid, Aider) and third-party services.

Known limits

Read the security checklist and the "Known limits" section of docs/self-hosting.md before you run the team server. In short:

  • The guard is a policy check, not a sandbox. It fails open on internal errors unless fail_closed is set in either settings file.
  • API keys can be rotated and revoked. They may also carry an expiry, and teams can cap personal and service key lifetimes; rotation gives a key a new secret and lifetime. A leaked key without an expiry stays valid until it is rotated or revoked.
  • A receipt holds the prompts (the first three in full), file paths, the first line of each command (up to 120 characters), search patterns, URLs, test counts, models, cost and risk reasons. It does not hold file contents or command output, but the agent's own session file, which RunLedger reads and does not send, can. Secrets in receipts are masked by pattern, so a secret in an unknown format typed on a command line can still appear in one. receipt --ai sends session content to Anthropic.
  • The guard's log and approval requests use the same pattern-based masking, described in docs/guard.md.
  • The dashboard sign-in (POST /session) refuses a request a browser marks as coming from another origin (Sec-Fetch-Site: cross-site or same-site, or an Origin header that is not the server's own origin, null included) with 403, so a cross-site page cannot sign the browser in to another team. The session cookie is SameSite=Strict; a request with neither header (curl, a script) is treated as a non-browser client and signs in as usual.
  • Behind a reverse proxy, configure the proxy as a trusted proxy (--trusted-proxy). Until then, the failed-sign-in limit and the audit log use the proxy's address.

There aren't any published security advisories