safe-exec
CommunityGuard your system from dangerous commands.
Software Engineering#security#risk assessment#command execution#audit log#shell commands#ai agent safety
AuthorOTTTTTO
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill acts as a crucial safety layer for AI Agents, preventing them from executing potentially destructive or insecure shell commands that could lead to data loss, system damage, or security breaches.
Core Features & Use Cases
- Command Interception: Monitors and intercepts shell commands before execution.
- Risk Assessment: Analyzes commands for dangerous patterns and assigns risk levels (CRITICAL, HIGH, MEDIUM, LOW).
- Approval Workflow: Requires explicit user approval for risky commands via in-session notifications.
- Audit Logging: Maintains a comprehensive log of all command executions, approvals, and rejections for traceability.
- Use Case: When an AI Agent is asked to "delete all old log files," SafeExec will intercept the
rm -rfcommand, notify the user of the HIGH risk, and wait for explicit approval before execution.
Quick Start
Enable SafeExec by telling your AI assistant to "Enable SafeExec".
Dependency Matrix
Required Modules
jq
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: safe-exec Download link: https://github.com/OTTTTTO/safe-exec/archive/main.zip#safe-exec Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.