@@ -59,31 +59,25 @@ Environment fallbacks are also supported: `MAUTIC_BASE_URL`, `MAUTIC_CONSOLE_URL
5959
6060## Security Model
6161
62- Production defaults are restrictive:
62+ The plugin ships with conservative production defaults. Installing it does not automatically grant file access or operational Mautic job control.
6363
64- - Maintenance commands are disabled.
65- - Automation job commands are disabled.
66- - Workspace read/write access is disabled.
67- - API requests are restricted to ` /api ` and ` /api/v2 ` .
68- - Workspace file paths must remain inside ` allowedWorkspaceRoot ` .
69- - Console commands are intersected with a hardcoded allowlist before execution.
70-
71- The only console command available without extra capability toggles is ` migrations:status ` .
72-
73- ` allowMaintenanceCommands ` enables:
74-
75- - ` cache:clear `
76- - ` mautic:cache:clear `
77- - ` plugins:reload `
64+ | Area | Default | Guardrail |
65+ | --- | --- | --- |
66+ | Mautic API | Enabled after credentials are provided | Requests are limited to ` /api ` and ` /api/v2 ` . |
67+ | Console status | Enabled only for ` migrations:status ` | Useful for health checks without granting maintenance control. |
68+ | Maintenance commands | Disabled | Requires ` allowMaintenanceCommands=true ` . |
69+ | Automation jobs | Disabled | Requires ` allowAutomationJobCommands=true ` . |
70+ | Workspace files | Disabled | Read and write require separate opt-in toggles. |
71+ | Path access | Guarded | File paths must stay inside ` allowedWorkspaceRoot ` . |
7872
79- ` allowAutomationJobCommands ` enables:
73+ Enable capabilities only for operators and agents you trust with that scope.
8074
81- - ` webhooks:process `
82- - ` campaigns:rebuild `
83- - ` campaigns:trigger `
84- - ` segments:update `
75+ | Toggle | Commands Enabled | When To Use |
76+ | --- | --- | --- |
77+ | ` allowMaintenanceCommands ` | ` cache:clear ` , ` mautic:cache:clear ` , ` plugins:reload ` | Routine maintenance after plugin/config/cache changes. |
78+ | ` allowAutomationJobCommands ` | ` webhooks:process ` , ` campaigns:rebuild ` , ` campaigns:trigger ` , ` segments:update ` | Intentional campaign, segment, and webhook job execution. |
8579
86- Use restrictive OpenClaw profiles or explicit tool allowlists for agents that process untrusted input.
80+ Console requests are checked twice: first by the plugin's hardcoded allowlist, then by the optional bridge's allowlist. For agents that process untrusted input, use restrictive OpenClaw profiles or explicit tool allowlists .
8781
8882## Console Bridge
8983
0 commit comments