What Blackbird can do on your machine
Blackbird is built for an operator who wants the model to use the whole machine. It does not ask before acting. Read this page before you point it at code or content you don't trust.
It runs as you
- Blackbird, and every command it starts, runs under your user account with your permissions.
- File and command tools run when the model calls them, without approval prompts. File tools are not limited to the working directory, and
execruns any command your account can run. - Commands inherit Blackbird's environment, including any provider keys you have set as environment variables.
- The model can also change how it works: define new tools in Lua, change the session's program configuration, edit files including Blackbird's own source, and ask for a restart.
- When you stop a turn or a command times out, the command may already have had effects. Blackbird records the outcome as unknown and never runs the command again on its own. A program that detaches itself can keep running after Blackbird cleans up.
Lua is not a sandbox
Turn programs and Lua tools run without the io, package and debug libraries, without dofile and loadfile, and with an os table that has only clock and time functions. Their file and process effects go through Blackbird's tools, so they are recorded.
That design keeps effects visible. It does not contain hostile code: any Lua program can run commands through the exec tool.
A hook can refuse a tool call before it runs (see Turn programs in Lua). That is a rule you write, and the model can change program configuration too, so treat it as a convenience rather than a security boundary.
What it keeps on your machine
By default each session lives in a new private directory under ~/.local/state/blackbird/, or wherever you point --session. The session records original provider requests and streamed responses, tool inputs and results, file contents before and after edits, command output, context changes, and the source of each turn program. Blackbird keeps the credentials it uses for provider requests out of this record.
Anything a tool reads or a command prints is kept, including secrets it happens to touch. Anything that enters the model's context, including file contents and command output, is sent to the provider you selected on the next request.
Credentials
- Accounts you add with
blackbird authare stored in~/.local/share/blackbird/auth/credentials.bbm, readable only by your user, in a directory only your user can open.BLACKBIRD_AUTH_HOMEselects a different directory. blackbird auth keyreads keys from hidden input or standard input, never from the command line. Keys never go into prompts, and/authinside a session shows account names and states only.- Blackbird passes credentials to
curlon its standard input, not on its command line. blackbird auth logoutdeletes local credentials only. It does not revoke them with the provider.
Because tools run as you, the model could still read the credentials file, or an environment variable, with an ordinary command. Nothing in Blackbird prevents that.
Recommendations
- Run Blackbird only against code and content you trust. Files, pages and command output the model reads can contain text that tries to steer it.
- For anything else, run it in a virtual machine or container that holds only the files and credentials the task needs.
- Use provider keys with spending limits you are comfortable with.