Skip to content

Security ​

Last updated Nov 28, 2026 View as Markdown

This page says what Pandra protects, what it does not, and which flaws count as vulnerabilities. It covers Pandra as released, which runs agents on your machine. To report a vulnerability, see reporting a vulnerability.

The principle ​

Fetching, building, and inspecting an agent is safe, even when running it is not. An agent you run runs as you, with your files, environment variables, and credentials, and Pandra is not a sandbox: it does not contain the agent. To keep an agent apart from the rest of your machine, run it in a container, as your agent in a container does.

A flaw is a vulnerability when it lets someone get an effect that this page says they cannot get: a party that was not given a capability gains it. You already hold every capability of your account, and so does anything that runs as you, an agent you run included. A report that needs that position to start from shows nothing that the position could not already do, so it is not a vulnerability.

Who Pandra trusts ​

  • You and your account. Pandra trusts you and everything that runs as your operating system account: your shell and its environment variables, your files, Pandra's configuration, data, and cache directories, and the harnesses you installed and their model providers.
  • An agent you run. It runs as you, together with everything that steers it: a package you approved, your own project, a guild's path member, a quest's prompts and scripts, and the text the agent reads, such as a web page or an issue that carries a prompt injection. What limits its actions is the permission mode the harness starts with. Pandra keeps that mode and does not contain the agent beyond it.
  • Untrusted parties. Pandra does not trust:
    • a package before you approve it, and a later revision of an approved source in the parts that approval compares (when Pandra asks again);
    • what Pandra fetches or reads without running it: package archives, the responses of registries, Git servers, and the MCP Registry, and a repository's guild and quest files;
    • remote servers, which receive only what you send them;
    • other accounts on the same machine.

Security boundaries ​

Each item is a guarantee. A flaw that breaks one is a vulnerability.

  • Nothing runs before you approve it. No code of a package that does not come from your own projects runs, and none of its MCP servers starts, before you approve the package. Pulling, pandra agent inspect, pandra config setup, a dry run, pandra guild list, and the approval summary run none of it. Pandra has no project-level configuration, and a directory or file it finds runs nothing. An update of an approved source asks again when it adds or changes an MCP server or pre-approves a new tool. The approval summary and agent inspect show what a package contains without hiding or misstating any of it: text from the package is escaped, and host names are shown in their ASCII form.
  • Untrusted input stays data. What Pandra fetches or reads before you decide to run it cannot make Pandra run code, read or write outside the paths it belongs in, use memory, disk, or CPU without bound, or send control sequences to your terminal. Such paths include an archive entry or link that leads out of the package, and a path member or quest file outside the guild file's directory. Git hooks and filters stay off in the repositories Pandra fetches, and in your own repository when Pandra runs git in it.
  • Credentials reach only where you sent them. An assigned secret reaches only the MCP server you allowed. The secret proxy, which puts a credential into the harness's requests in place of a placeholder, puts a value only into requests to the value's origin. A credential that Pandra sends to a registry goes only to that registry and the token service it names, and one for a download goes only to the host it belongs to, also after a redirect. Pandra writes no secret value into a file it prepares, its messages, or its output, with two exceptions on Claude Code: a copy of the apiKeyHelper from your own settings, which only you can read and which the run removes when it ends, and the last 20 characters of the API key that a TUI run records as approved, as Claude Code records them itself.
  • The permission mode you chose. Pandra starts the harness with the permission mode the run asked for, never a weaker one. It never runs text that an agent wrote as a command outside the harness's permission checks, which is why a quest's scripts cannot contain templates.
  • Other accounts. Another account on the machine cannot use your runs, sessions, or secret proxy. The socket through which Pandra's commands reach a run is readable only by you, and the secret proxy requires a token that is new for each run.
  • Pandra's releases. A flaw that lets someone else change what the install script, the release archives with their checksums and attestations, the container image, or the pandra.io redirects to them deliver is a vulnerability (installation).

Protections that are not boundaries ​

These limit mistakes. A way around one is not a vulnerability, and a suggestion to make one stronger is an ordinary issue.

  • Keeping the harness's configuration apart from yours: it keeps your skills and settings out of the agent, not the agent out of your files.
  • The workspace options and --rm (workspaces): they limit what the agent starts with and what it leaves behind, not what it can reach.
  • The secret proxy: it keeps values out of what the agent can read, but the agent can read your secret stores and use the proxy to send a value to its origin (target credentials).
  • The limits on agents that run Pandra (agents that run agents), and the rules Pandra's skill gives agents (what stays with you): an agent that runs as you can edit your configuration.

What is not a vulnerability ​

  • What an agent you run does with your privileges, inside or outside its workspace, such as reading files, environment variables, or credentials, connecting anywhere, or changing Pandra's configuration or approvals: it runs as you.
  • Prompt injection, and an output that passes from one quest step to the next as the agent wrote it: they steer an agent you run. Either is in scope only when it makes Pandra itself break a boundary above, such as approving a package or starting a weaker permission mode.
  • Anything that needs write access as you, such as to Pandra's configuration, data, or cache directory, a harness's files, your shell's startup files, or your environment variables: whoever can write there already acts as you.
  • The code and instructions of an agent you chose to run, a later revision of an approved source that changes only its instructions or scripts, and a publisher's account taken over: approval carries over as trust in the source (when Pandra asks again).
  • That Pandra does not verify package signatures: a digest proves what a package contains, not who published it, as what to check says.
  • A protection you turned off, such as with --yes, --permission-mode bypass, or secret-proxy = false, and an approval you gave.
  • A flaw in a harness, a model provider, an MCP server, Git, a password manager's CLI, or the operating system: report it to its maintainers. It is in scope when Pandra's use makes it reachable, such as by passing an untrusted value where it becomes an option.
  • Memory, disk, or CPU used up by trusted input, such as your own configuration or an agent you run: this is an ordinary bug. The same from untrusted input, such as a package archive on pandra pull, is in scope.
  • An attack that needs physical access to the machine, a machine already compromised, or root.
  • A dependency advisory from a scanner that does not show that Pandra reaches the affected code.

Reporting a vulnerability ​

Report a vulnerability privately through GitHub's private vulnerability reporting, never in a public issue. The form asks for:

  • the Pandra version or commit, the operating system, and the harness with its version;
  • steps that reproduce the flaw on the latest release or on main;
  • who the attacker is, among the untrusted parties above, and what they control;
  • which boundary they break, and with what result.

Leave real secrets out of the report. A report without the items the form asks for can be closed, and so can a report that was generated without being reproduced. A report written with the help of AI says so, with the form's checkbox, and shows output that was observed, not predicted.

Only the latest release gets security fixes. A fix ships in a new release with a GitHub security advisory, which can carry a CVE and credits the reporter unless they ask not to be named. There is no promised response time and no bounty.

Released under the Apache License 2.0