exec-policy-enforcer
Audits local session artifacts for risky exec/shell patterns and tool-usage limits, then reports risks and policy recommendations.
Exec Policy Enforcer
Inspect local artifacts for risky exec/shell usage and enforce simple policy limits.
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
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.jsonly writes local JSON undermemory/evolution/.
- Downloads
- Security audit
- Pass
- Last updated
- 5d ago
- Current version
- v0.1.0
- License
- MIT-0
