safe-rm — Cursor Agents | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorAgentssafe-rm
    Back to Agents
    safe-rm

    safe-rm

    DatafyingTech March 21, 2026
    1 copies 0 downloads

    Intercept risky rm commands on your VPS with email approval. Perfect for AI coding agents (Claude Code, Cursor, etc.) that execute commands on production servers.

    Agent Definition
    # safe-rm
    
    [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
    [![Node.js >=18](https://img.shields.io/badge/Node.js-%3E%3D18-339933.svg)](https://nodejs.org/)
    [![Python >=3.8](https://img.shields.io/badge/Python-%3E%3D3.8-3776AB.svg)](https://www.python.org/)
    
    **Email approval for risky `rm` commands. Built for AI coding agents on production servers.**
    
    ---
    
    ## The Problem
    
    AI coding agents (Claude Code, Cursor, Cursor) can execute destructive commands on your server. One `rm -rf` gone wrong can wipe production data. You need a human-in-the-loop safety net that works without babysitting a terminal.
    
    ## The Solution
    
    safe-rm intercepts risky deletions and requires email approval before proceeding. It replaces `rm` on your server with a thin wrapper that detects dangerous commands, sends you an email with Approve/Deny buttons, and waits for your response before executing anything.
    
    ## How It Works
    
    ```
     VPS (your server)                    Your Infrastructure
     ───────────────────                  ────────────────────
    
     AI Agent runs:
     rm -rf /var/www/data
            │
            ▼
     ┌─────────────┐    HMAC-signed     ┌──────────────────┐
     │   safe-rm    │ ──── POST ──────► │  Approval Server │
     │  (Python)    │                    │   (Express.js)   │
     │              │                    │                  │
     │  Polls for   │ ◄─── GET ──────── │  Creates request │
     │  status...   │    /status         │  with tokens     │
     └─────────────┘                    └────────┬─────────┘
            │                                    │
            │                              Webhook (POST)
            │                                    │
            │                                    ▼
            │                           ┌────────────────┐
            │                           │      n8n       │
            │                           │  (automation)  │
            │                           └────────┬───────┘
            │                                    │
            │         

    Tags

    ai-safetyapprovalclaude-codecommand-guarddevopsemail-approvalrmsecurityserver-protectionvps

    Comments

    More Agents

    View all
    documentation

    Documentation & Onboarding Agent

    Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.

    C
    Community
    debugging

    Cursor Bug Triage Agent

    Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.

    C
    Community
    api

    API Integration Agent

    Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.

    C
    Community
    coding

    Cursor Agent Mode

    Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.

    C
    Cursor Team
    cloud

    Cursor Background Agent

    Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.

    C
    Cursor Team
    composer

    Cursor Composer Agent

    Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.

    C
    Cursor Team

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.