mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 22:01:46 +00:00
fix(security): restore trusted plugin runtime exec default
This commit is contained in:
@@ -13,14 +13,6 @@ export type PluginsLoadConfig = {
|
||||
paths?: string[];
|
||||
};
|
||||
|
||||
export type PluginsRuntimeConfig = {
|
||||
/**
|
||||
* Re-enable deprecated runtime.system.runCommandWithTimeout for legacy plugins.
|
||||
* Disabled by default for security hardening.
|
||||
*/
|
||||
allowLegacyExec?: boolean;
|
||||
};
|
||||
|
||||
export type PluginInstallRecord = {
|
||||
source: "npm" | "archive" | "path";
|
||||
spec?: string;
|
||||
@@ -44,7 +36,6 @@ export type PluginsConfig = {
|
||||
/** Optional plugin denylist (plugin ids). */
|
||||
deny?: string[];
|
||||
load?: PluginsLoadConfig;
|
||||
runtime?: PluginsRuntimeConfig;
|
||||
slots?: PluginSlotsConfig;
|
||||
entries?: Record<string, PluginEntryConfig>;
|
||||
installs?: Record<string, PluginInstallRecord>;
|
||||
|
||||
Reference in New Issue
Block a user