Security
Nexus gives language models hands. It is built so that they never hold a key and never approve their own money or irreversible actions. Here is what that covers, what it does not, and how to tell us about a problem.
No external security review has happened. Four internal adversarial passes are done; the external review needs an independent firm and has not started. Treat every control as a design claim until it has, and do not use Nexus to protect anything you cannot afford to lose.
The design in brief
Two processes. vaultd is trusted: it holds every key, issues short-lived tokens, decides approvals, mints single-use receipts, brokers network calls and writes a hash-chained audit log. nexus, which runs the agents, is not trusted and holds only handles and tokens. Content from outside (web pages, tool output, goals from coding agents) taints a run, and a tainted run loses its reserved powers until a person clears it.
What it defends against
- Prompt injection that tries to move money, publish, or approve its own card.
- Secrets leaking into prompts, traces, logs or errors, in plain or encoded form.
- Receipt replay and argument swapping on external writes.
- Server-side request forgery and DNS rebinding through the egress broker.
- Poisoned skills and lessons: hash-pinned, scanned, signed, quarantined.
- Request forgery against the approval console and the dashboard on loopback.
- Path traversal and symlink escape in the file tools.
Every control is marked partial in the threat model, which says exactly how much of each threat it covers.
What it does not defend
- A compromised machine, operating system, Node.js or npm.
- Anyone who holds your passphrase or recovery key.
- A compromised browser or extension on the machine you approve from.
- A hostile model provider: it sees every prompt you send it.
- Other programs running as your user account.
Report a vulnerability
Please report privately, not in a public issue. Open the repository'sSecurity tab → Report a vulnerability. If that is not available, open an issue that says only "security contact request" and we will reply with a private channel.
Include the release or commit, the steps, what happened and what should have happened, and thesecurity invariant it breaks if you can tell. Use synthetic secrets only, and test only on your own machine and vault.
We aim to acknowledge within 7 days and to say within 30 days what we plan to do. This is a small project with no bounty programme. Full policy: SECURITY.md.