fix(security): reconcile current install boundaries

This commit is contained in:
jesse-merhi
2026-08-11 14:19:48 +10:00
parent defd9c40d6
commit 9ce3ec0082
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -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" },