mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 14:13:32 +00:00
fix(sandbox): harden fs bridge path checks and bind mount policy
This commit is contained in:
@@ -42,6 +42,16 @@ export type SandboxDockerSettings = {
|
||||
extraHosts?: string[];
|
||||
/** Additional bind mounts (host:container:mode format, e.g. ["/host/path:/container/path:rw"]). */
|
||||
binds?: string[];
|
||||
/**
|
||||
* Dangerous override: allow bind mounts that target reserved container paths
|
||||
* like /workspace or /agent.
|
||||
*/
|
||||
dangerouslyAllowReservedContainerTargets?: boolean;
|
||||
/**
|
||||
* Dangerous override: allow bind mount sources outside runtime allowlisted roots
|
||||
* (workspace + agent workspace roots).
|
||||
*/
|
||||
dangerouslyAllowExternalBindSources?: boolean;
|
||||
};
|
||||
|
||||
export type SandboxBrowserSettings = {
|
||||
|
||||
Reference in New Issue
Block a user