fcx never weakens Frontal Code's security model.
- Untrusted repo with
hooks,mcpServers,permissionMode: danger-full-access,sandbox,permissions.allow: all ignored, warnings emitted, mode unchanged. - Repo
policycan only tighten; userpermissionCeilingcaps the CLI flag. allowedProviderswithoutggml→ refuses to run local model.- Escalation without approval is impossible in every mode.
- Recipes never run
Bashoutside allowlist; argv arrays, never shell strings. - Prompt injection: repo files with instructions can't cause anything outside the recipe schema (outputs are constrained).
trusted-workspaces.jsonis never written.
- Workspace trust: project/local settings untrusted until
frontal-code trustis run. - Trust is read-only; fcx never writes
trusted-workspaces.json. - In untrusted workspaces,
hooks,mcpServers,plugins,enabledPlugins,sandbox,permissionMode,permissions.defaultModeare withheld.
- Always requires explicit approval, even in
danger-full-access. --no-escalateandfc.escalation.enabled=falsedisable it.- Hosted answers run through the same defense pipeline.