Skip to main content
Engineering

How Rockpile limits AI access to your wallet

The permissions, local approval, and audit controls that separate an agent’s request from authority to act on your portfolio.

An assistant can help explain a portfolio or prepare an action. Connecting that assistant to a wallet introduces a harder question: what prevents its request from becoming permission to spend?

Rockpile’s MCP integration uses explicit capabilities, portfolio-scoped access, and native confirmation for financial execution. MCP, the Model Context Protocol, lets a connected assistant client discover and invoke application tools. It gives the client a defined interface, not unrestricted access to the wallet process.

Separate reading, editing, and execution

The default MCP access configuration grants read access. Changes to data and financial actions require additional permission groups selected in Settings. Rockpile distinguishes content changes, operational actions, financial previews, and financial execution.

Permission groupWhat it permits through supported actions
ReadRetrieve permitted portfolio, wallet, and research information
Content writeCreate or change local notes and investment records
OperationsRun supported operational actions, including certain settings changes
Financial previewPrepare quotes or previews for review
Financial executeRequest supported financial execution, with the required local authorization

Permission to edit a note does not imply permission to execute a trade. Permission to request execution does not let an agent approve its own transaction.

Read access still deserves care. A client that receives portfolio information can pass it to the service running that assistant. Keeping signing keys local does not make the client’s use of returned data private. Choose client permissions with that disclosure boundary in mind.

Keep the connection inside the application boundary

Reading live portfolio data requires Rockpile to be open and unlocked. Portfolio reads and actions pass through an authenticated local broker. The connection is scoped to the portfolio open in Rockpile; the MCP client does not open the encrypted databases itself.

The local connection descriptor—a file containing the information needed to reach and authenticate to the broker—is short-lived and restricted to its owner. Reading it involves file identity, permission, size, and link checks. This reduces the chance that a substituted file redirects the connection or exposes a capability through an unexpected path.

The tool interface does not provide arbitrary SQL, filesystem access, recovery material, private keys, credentials, or a raw-signature endpoint. Supported actions go through the application’s handlers and policy checks.

A local transport is one layer of this design. It does not make every program running under the same user trustworthy, and it does not replace the operating system’s security.

Bind a financial request to its review

An agent can request a supported preview, but financial execution still requires confirmation inside Rockpile for the reviewed intent. A message saying “the user approved this” does not satisfy the application’s confirmation check.

Financial previews are bound to the originating client. A preview identifier returned to one client cannot be reused by another to execute that reviewed action. Expiration and the intended portfolio remain relevant when execution is requested.

For example, an assistant prepares an action, then you switch portfolios while it waits. The queued request must fail for the changed portfolio instead of applying the old request to the newly open one. Permissions and lock state are also checked again before dispatch.

Agent requests a supported action
                ↓
Check scope, session, and portfolio
                ↓
Prepare the reviewed intent
                ↓
User authorizes inside Rockpile
                ↓
Execute under application policy

This financial flow builds on the same principle as transaction review: authority belongs to the specific action being approved, not to an open-ended instruction to “handle my wallet.”

Treat retrieved text as untrusted input

An imported page or research note can contain instructions aimed at an assistant. A malicious passage might claim that a transfer is required to finish a task or that the user already approved it.

Rockpile’s integration treats retrieved content as data, not as a source of application permissions. That policy alone cannot guarantee an assistant will never be misled. Even if the assistant follows the malicious text, it still has to use the available capabilities under its granted scopes, and financial actions still require local authorization.

Those limits reduce what an erroneous request can do without approval. They cannot protect a user who is persuaded to authorize an unwanted transaction, or prevent misuse of information already returned to an authorized client.

Make retries and access reviewable

Requests that change data use unique request identifiers, called idempotency keys, and expirations. Within the retained request window, retrying with the same identifier can recover the recorded outcome without starting the operation again. Reusing that identifier for different parameters is rejected. This matters when the client loses a response and cannot tell whether its request completed.

Audit events are stored in the encrypted database and linked in a chain authenticated with a secret key. Changing a recorded event without that key invalidates its authentication.

Startup checks the retained audit chain. If verification fails, the MCP broker refuses to start. Unavailable encrypted audit storage also blocks requests that change data, so those operations cannot proceed without their required record.

An assistant can prepare a request and explain its reasoning. Rockpile still has to enforce access and transaction policy, and you still need to inspect the action presented for approval. Connecting an assistant does not transfer that decision to the model.