Talvora is intentionally a high-capability local development MCP. Security hardening must preserve its legitimate development and administration capabilities rather than silently reducing the tool surface.
- The Talvora MCP service binds to localhost by default.
- Remote ChatGPT access is provided through the configured secure tunnel rather than by exposing the local MCP listener directly.
- Administrative and runtime credentials are separate.
- Stored OpenAI credentials use Windows DPAPI in the current interactive user context.
- Secrets must never be committed to the repository or written to persistent logs in plaintext.
Talvora listens on the local loopback interface only. ASP.NET Core Host Filtering
restricts HTTP Host to localhost, 127.0.0.1, or [::1] (HTTP 400 for other hosts).
Every endpoint also rejects a supplied non-loopback HTTP/HTTPS Origin with
HTTP 403. Origin-less requests remain available to local CLI and tunnel clients;
this does not introduce MCP CORS or HTTP authentication.
Only the four public static Penpot plugin GET assets under /penpot-ai/
(manifest.json, plugin.js, index.html, icon.svg) are exempt from the
Origin restriction and retain Access-Control-Allow-Origin: *. Host filtering
still applies to those assets; /penpot-ai/healthz and all /mcp* routes
remain subject to the Origin guard.
Before invoking a known MCP tool, Talvora checks required argument names, unknown argument names, and JSON value types against that tool's input schema. Invalid calls receive one English, model-facing InvalidArguments text response marked isError: true, listing parameter names and expected types, not argument values. The call is rejected before the desktop progress notifier starts; valid calls keep their existing responses. Exception translation is separate work (Q6c).
Talvora keeps operational logging for diagnostics, but persistent logs must redact common credential forms such as authorization tokens, API keys, passwords, client secrets, GitHub tokens, OpenAI-style keys, and JWTs.
The Control Center raw-log viewer applies the same redaction layer to logs produced by managed MCP components before displaying them.
Do not place source bodies, request bodies, credentials, authentication headers, environment secrets, or private keys into new persistent audit records unless a narrowly scoped diagnostic explicitly requires it and the value is sanitized first.
Tool results are returned as the command or file produced them; redaction applies to logs, the call trace and the on-screen work log, never to what an agent asked to see.
Talvora's generic file tools do not read or search %ProgramData%\Talvora\Secrets and the Context7 key file, and they refuse to delete, move, copy out or archive them or a folder that contains them. Names stay listable and writes stay possible. The guard prevents accidental exposure in an agent's chat; it is not a barrier against a deliberate caller, because process and PowerShell tools stay unrestricted by design.
Interactive-user process execution keeps its full environment and argument capabilities. When an environment contains credentials, the temporary request document is deleted by the interactive helper immediately after deserialization. Per-run lease files distinguish active runs from stale crash remnants so cleanup does not remove a live process handoff.
Local secret files, DPAPI blobs, private keys, PFX/P12 bundles, and real environment files are ignored by Git. Example files may be committed only when they contain placeholders rather than live credentials.
Machine-specific evidence in public documentation should use generic placeholders such as %USERPROFILE%, %APPDATA%, %LOCALAPPDATA%, or <interactive-user> unless the literal identity is essential to reproduce a bug.
The Git push delivery gate and working-tree mutation routing are guard rails for structured Talvora tools, not universal restrictions on Git execution. General PowerShell and process tools are not gated by design. The opt-in work-contract gate validates commits made through talvora_git_run only.
Do not post live credentials, private keys, or sensitive logs in a public issue. Use a private repository security-reporting channel when available, or contact the repository owner privately with a minimal reproduction and sanitized evidence.
Security hardening must not:
- remove unrestricted developer/admin tools solely to reduce theoretical risk;
- add hidden command deny-lists to existing unrestricted tools;
- change successful tool semantics without a demonstrated security requirement;
- replace capability with silent failure.
When a capability is inherently powerful, Talvora prefers explicit documentation, secret minimization, safe persistence, bounded resources, clear auditability, and secure transport over capability removal.