mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(security): reconcile current install boundaries
This commit is contained in:
@@ -160,6 +160,7 @@ no-op. Plugin
|
||||
`before_install` hooks run later, and only in OpenClaw processes where plugin
|
||||
hooks are loaded, so use `security.installPolicy` for operator-owned install
|
||||
decisions instead. The flag does not override a block or policy failure.
|
||||
It also does not bypass `before_install` hook blocks.
|
||||
|
||||
See [Skills config](/tools/skills-config#operator-install-policy-securityinstallpolicy)
|
||||
for the shared `security.installPolicy` exec schema used by both skills and
|
||||
|
||||
@@ -1000,7 +1000,6 @@ export async function scanInstalledPackageDependencyTreeRuntime(params: {
|
||||
const runPolicy = () =>
|
||||
runOperatorInstallPolicy({
|
||||
config: params.config,
|
||||
dangerouslyForceUnsafeInstall: params.dangerouslyForceUnsafeInstall,
|
||||
logger: params.logger,
|
||||
onInstallPolicyWarning: params.onInstallPolicyWarning,
|
||||
origin: { type: "plugin-dependency-tree" },
|
||||
|
||||
Reference in New Issue
Block a user