Skip to content

Security: RaptorLabsHQ/raptorcode

SECURITY.md

Security Policy

Date: 2026-12-02 Author: Bob Vasic Company: RaptorLabs.dev

RaptorCode is an open-source, Rust-native multi-agent coding terminal that runs AI coding agents safely in isolated git worktrees with developer supervision. It is local-first: the agent runs on your machine, under your consent, with your own model API key.

Supported Versions

Security fixes land on main and ship in the next release. Only the latest GitHub release is supported; releases before v0.7.0 predate the open-source repository and get no fixes.

Reporting A Vulnerability

Please do not open public GitHub issues for exploitable vulnerabilities.

Include a description, the affected version or commit, and reproduction steps. We aim to acknowledge reports within a few business days and to coordinate disclosure with you once a fix is available.

Scope

In scope, and worth a private report:

  • Exposure of the DeepSeek API key: from ~/.raptor/.credentials, in logs or terminal output, or in anything sent to the model.
  • Path traversal, or writes outside a worktree or working directory, without the confirmation the tool policy requires.
  • A command on the hard deny-list running anyway, for example through a recognised wrapper (bash -c, env, sudo, …), including under raptor run --yes.
  • Merges, cleanups or other destructive task operations that skip the typed confirmation.

Treated as hardening issues (open a normal issue), not vulnerabilities:

  • Anything the developer approved at a confirmation prompt, or pre-approved by running raptor run --yes.
  • The lexical limits of the shell policy that docs/security.md documents: command substitution, xargs, interpreter one-liners, /dev/tcp redirects.
  • Prompt injection from repository content (source files, READMEs, or the RAPTOR.md/AGENTS.md/CLAUDE.md instruction files) that only leads to actions the consent prompt or --yes already authorised.

Security Priorities

  • Isolate agent work in dedicated git worktrees.
  • Require developer consent and supervision for tool execution, commits, merges, pushes, and destructive actions.
  • Validate filesystem paths and keep writes inside the worktree boundary.
  • Avoid shell injection and unsafe command construction.
  • Keep dependency usage minimal and auditable (cargo deny, cargo audit, and CodeQL run in CI).
  • Preserve clear logs for security-relevant operations.

See docs/security.md for the full security design.

Out Of Scope

  • Hosted execution infrastructure and remote sandboxing guarantees.
  • OS-level isolation (namespaces, seccomp, landlock) of the local agent; the userspace tool policy is a backstop, not a sandbox.
  • Enterprise identity provider integrations and formal compliance certification.

There aren't any published security advisories