Security for teams
This page is for the person who has to approve Mushi Mushi for a team. It covers three things:
- where report data goes;
- what stops an AI agent from doing more than it should;
- what Mushi Mushi does not offer yet.
The full design is in the threat model on GitHub . It lists every agent, what it can read and write, the threats, and the file that enforces each control.
Short version. Report text from the internet is treated as untrusted data in every prompt. Agent pull requests open as drafts and are labelled as AI-generated. Every merge Mushi Mushi performs, whether from the console, an API key or an AI code editor, passes the same server-side checks. Local agents run in a sandbox. The audit log is append-only and hash-chained. Mushi Mushi is not SOC 2 certified and has not had a third-party penetration test yet.
Where your data goes
All hosted data is stored in Tokyo (AWS ap-northeast-1); there is no region
to choose. Mushi Mushi is operated from Japan.
The sub-processors are listed below. The Privacy Policy is the source of truth and gives the full detail for each one.
| Sub-processor | What they process | Location |
|---|---|---|
| Supabase (on AWS) | Database, auth, storage, edge functions: everything at rest | AWS ap-northeast-1 (Tokyo) today. Dedicated US and EU clusters are planned |
| Anthropic, OpenAI, OpenRouter | Report text and logs (after PII scrubbing), screenshots and code snippets for diagnosis, fixes and reviews; audio clips for voice transcription (OpenAI only) | US |
| Resend | Email address and the content of transactional email | US |
| AWS S3 + CloudFront | Static docs and console files; screenshots when you pick S3 as your own storage | US / your bucket’s region |
| Sentry | Console error telemetry, and error reports from Mushi Mushi’s own edge functions | US |
| Langfuse | Trace metadata for each model call (model, token counts, latency, project and report IDs) | Japan (Langfuse Cloud, AWS ap-northeast-1 Tokyo) |
| Browserbase | The pages of your app that a QA story visits, when a story runs on Browserbase | US |
| GitHub | Sign-in profile; repo metadata, code index and draft PRs when you connect a repository | US |
| Stripe | Billing name, email, card details and invoices (paid plans only) | US |
| Firecrawl | Public URLs you ask Mushi Mushi to crawl, Research page queries, and the opt-in known-fix search | US |
| Tremendous | Gift-card delivery for Bounties testers | US |
With bring-your-own-key, diagnosis, fix and review calls run against your own model provider account. With BYO storage, screenshots stay in your own bucket.
How the AI agents are controlled
Mushi Mushi uses several AI agents:
- two classifiers that diagnose each report;
- a nightly judge that grades the diagnoses;
- coding agents that propose fixes (on Mushi Mushi’s server, in a cloud
vendor’s VM, or on your own machine through
mushi work); - a reviewer that reads each fix;
- AI code editors that connect over MCP.
The controls below apply to all of them.
Untrusted text stays data
- Bug reports come from the public internet. Every prompt that contains report text puts it inside one shared fence that marks it as data.
- Text inside the fence cannot close the fence or fake its markers, even with lookalike brackets or invisible characters. Secrets are scrubbed first. The size cap is applied before fencing, so a long report cannot push the closing marker out.
- The main diagnosis model never sees raw report text. It reads only the first model’s structured summary.
- Screenshots go to a separate image-only call.
- Model output must match a fixed schema, or it is thrown away.
- More than 60 synthetic injection cases run through every prompt builder in CI. A red-team script runs the same cases end to end against a test project.
Details: Prompt-injection defence.
Agent code is checked by code, not only by models
- Agent pull requests open as drafts. An AI reviewer and a second reviewer from a different model family read each one.
- Fixed rules refuse any agent PR that:
- deletes or weakens tests;
- changes CI configuration;
- changes git hooks (husky, lefthook, pre-commit);
- changes test-runner configuration or lockfiles;
- touches a path you mark as protected.
- Every agent PR carries the GitHub label
ai-generatedand an “AI-generated” line in its description. Agent commits carry an AI-generated trailer, so people reviewing your history can always tell. This supports the transparency duty in Article 50 of the EU AI Act. - Text a model wrote is marked wherever Mushi Mushi sends it to a person:
report summaries in Slack, Discord, Teams and email, the weekly digest,
AI review comments, and voice replies. Each gets a visible
“AI-generated: …” line naming the part the AI wrote, plus a marker a
machine can read: a Slack block and message metadata, the
X-Mushi-AI-Generatedmail header, a Discord field or Teams fact namedAI-generated, or an HTML comment on GitHub. Telegram messages and Sentry comments get the visible line only. Templated alerts are not marked. - The voice inbox and the widget’s Ask assistant tell people they are talking to an AI, not a person, before or with the first answer.
One merge gate for everyone
- The console, API keys and AI code editors over MCP all pass the same
server-side checks before a merge:
- CI;
- the tests-weakened check;
- the protected-path check;
- a recorded review.
- Merging needs its own key permission, separate from other write access.
- When an AI code editor asks to merge a fix or dispatch a fix agent, the server asks for confirmation. A line in the tool description is not enough.
- Automatic merging is off by default. When a project turns it on, the
merge also needs:
- an AI “merge” verdict on the exact commit;
- a passing CI run;
- a daily cap that has not been reached.
Mushi Mushi’s merge gate covers merges that Mushi Mushi performs. A merge done in GitHub’s own interface follows your GitHub branch protection. Make CI and review required checks in GitHub too.
Local agents run in a sandbox
mushi work starts a coding agent on your machine. That agent runs in a
container sandbox:
- it cannot see your home folder;
- everything outside the worktree is mounted read-only;
- it can reach only the network addresses on an allowlist.
Mushi Mushi’s own git, hook and install steps use the same cleaned environment, so a hook or install script the agent edited never runs with your tokens. No model vendor API key is passed into the agent unless you add one.
The agent’s model endpoint is on the allowlist, so the agent can still send worktree content to its own model provider. That is how coding agents work.
Prompts change only with a named approver
- No prompt is promoted automatically.
- Activating a prompt needs a named approver and writes an audit row.
- Prompt versions cannot be edited after they are saved; a change creates a new version.
- A fixed evaluation set runs in CI before a prompt is activated or a model is changed.
- The judge never grades the prompt that it runs on.
Brakes that trip on their own
- Automatic fixing and merging pause on any of these:
- a spike in regressions or reverts;
- unusual spend;
- a run of failures.
- Resetting a pause is recorded.
- If the budget cannot be read, the model call does not run.
- AI code editors are limited to 120 MCP calls a minute.
Audit log you can rely on
- The audit log is append-only and hash-chained, so an edited or removed row breaks the chain.
- Audit rows survive project deletion.
- A failed audit write is visible; it is never dropped in silence.
Accounts and sessions
- The console runs on its own web origin, shared with no other app. Production allows no localhost origins.
- Enterprise orgs can register a SAML identity provider. A provider can claim an email domain only after the org proves it owns that domain.
- Org owners can require multi-factor authentication.
- Changes to settings, keys, SSO and prompts need the owner or admin role.
- MCP sign-in uses OAuth with PKCE (S256).
- API keys are stored as hashes. Keys meant for the browser cannot use MCP tools at all.
Data protection basics
- Secrets, emails, phone numbers and card-shaped numbers are scrubbed in the SDK and again on the server, before any model call.
- Model keys and integration tokens are kept in Supabase Vault.
- Every query is scoped to your project. Row-level security is a second layer.
- Server fetches of addresses you supply are limited to public https hosts, and every redirect is re-checked.
- Incoming webhooks are signature-checked.
- Sentry error reports leave out personal data by default.
- The code is scanned for leaked secrets and unsafe patterns (gitleaks, CodeQL). The repository is rated by OpenSSF Scorecard, and GitHub Actions are pinned to exact commits.
Not offered yet
These are not available today. If one of them blocks your approval, tell us; it helps us decide what to build next.
- No SOC 2 report. Mushi Mushi collects evidence toward SOC 2 (SOC 2 readiness). No audit has been performed.
- No third-party penetration test.
- No SCIM. Members are invited and removed in the console.
- No data residency outside Tokyo. You can pick a region, but today all hosted data is stored in Tokyo (Data residency).
- No zero-retention terms with the model providers. Bring your own key if you need calls to run under your own provider agreement. The console’s built-in assistant is the exception: it can run on Mushi Mushi’s key even when you have added your own.
Also worth knowing:
- Local agent PRs are opened with the operator’s own GitHub identity, marked by the AI-generated label and trailer.
- Scrubbing works on patterns. It does not detect names or postal addresses.
- Cloud coding agents run in their vendor’s VM. Mushi Mushi gates what comes back, not the vendor’s own isolation.
Report a security issue
Please do not open a public issue. Follow .github/SECURITY.md for the private channels, the disclosure timeline and the safe-harbor terms.
More: Security & compliance overview · Threat model · Privacy Policy