Secrets stay on the machine
Real API keys, raw `.env` values, prompts, request bodies, and source files are not required by the cloud console.
Security model
ShellFrame AI is designed around a local secret boundary: agents can keep using normal developer workflows while real secrets stay in the AgentSecure vault and resolve only for approved MCP-backed API calls.
Real API keys, raw `.env` values, prompts, request bodies, and source files are not required by the cloud console.
agentsecure start rewrites `.env` with safe placeholders like ${API_KEY}.
The MCP broker resolves local vault values only for destinations approved by the developer or team.
Trust boundary
The console is for coordination and visibility. It can manage destination approvals, MCP setup metadata, devices, and audit summaries without receiving raw secret material.
Secret controls
agentsecure start imports real `.env` values into the local vault instead of leaving them in
files that agents can read.
AgentSecure writes a backup before rewriting files, so humans can restore the original local `.env` when they need it.
Agents see placeholders such as ${OPENAI_API_KEY}. They can reason about required values
without receiving the values themselves.
Generated repo guidance tells agents to use MCP tools instead of asking humans to paste secrets into prompts.
The main tool, agentsecure.http.request, resolves a placeholder locally and sends an
approved request to the destination.
Audit records can show placeholder names, approved destinations, and tool usage without logging secret values or request bodies.
Example scenario
The agent sees ${STRIPE_SECRET_KEY} in the repo. It calls the MCP broker with the placeholder,
destination, and purpose. AgentSecure resolves the value locally only if the destination is approved.
$ agentsecure.http.request
url: https://api.stripe.com/v1/customers
auth: ${STRIPE_SECRET_KEY}
agentsecure:
destination approved
placeholder resolved from local vault
value_logged: false
audit: placeholder + destination only
Limitations
ShellFrame AI is defense in depth for AI coding agent workflows. It reduces accidental secret exposure by moving real values out of agent-visible files, but it is not a full VM, container sandbox, or guarantee against every local compromise, malicious dependency, misconfiguration, or bypass outside the configured workflow.
Start with agentsecure start, review the placeholder rewrite, then decide which destinations
may receive which local vault values through MCP.