目录 / exec-policy-enforcer
exec-policy-enforcer
--- name: exec-policy-enforcer description: Lightweight runtime tool-policy enforcement: detects risky exec/shell patterns and enforces simple tool-usage limits without modifying core systems. Use when auditing recent tool usage and enforcing exec/shell policy before evolution cycles. --- # Exec Policy Enforcer Inspect local artifacts for risky exec/shell usage and enforce simple policy limits. ```bash node skills/exec-policy-enforcer/index.js node skills/exec-policy-enforcer/index.js C:/Users/Admin/.openclaw/workspace ``` ## Checks - High exec/shell ratio in recent session artifacts - Repeated exec patterns without tool-policy justification - Risky flag exposure: admin/sudo/elevated intent - Optional enforcement limits for local workflows ## Output - Risk count by severity - Top risky files - Simple policy recommendation ## CLI ```bash node skills/exec-policy-enforcer/index.js [workspace] node skills/exec-policy-enforcer/scripts/report.js [report_path] ``` ## Safety - Read-only audit. Does not send network requests or mutate history. - `report.js` only writes local JSON under `memory/evolution/`.
这是模型对公开材料的总结,不是官方声明,请以原链内容为准。
存档时间线
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-11-13 18:52 | cb8d6827 | 可取 |
版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。