Works with the AI Agents you already use

    AirgapGuard: Offline Secret & PII Masker for AI Agents

    by Chethanraj D.S

    1

    100% offline MCP server that automatically masks and locally restores API keys, passwords, and PII in AI prompts.

    $19.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    AirgapGuard: Offline Secret & PII Masker for AI Agents

    AirgapGuard: Offline Secret & PII Masker for AI Agents

    Example session with this skill installed

    Scan my current workspace for any exposed credentials and then sanitize the content of my .env file so I can safely ask you to optimize the database configuration.

    • Read your context and instructions
    • Compiled the airgapguard

    I have audited the workspace and sanitized the requested configuration file. The sensitive values have been replaced with reversible placeholders to ensure they are not sent to the model.

    Workspace Audit & Sanitization Report

    ItemResultDetails
    Risk LevelELEVATEDTwo sensitive files detected in the root directory.
    Exposed Files.env, id_rsaFiles are present and potentially untracked by git.
    SanitizationSUCCESS4 secrets redacted in .env.
    Session IDvault_7f2a9bUse this ID to restore values later.
    Detected TypesDATABASE_URI, KEYHigh-entropy strings and connection URIs found.

    Sanitized .env Preview

    PORT=3000
    DB_URL=<AIRGAP_CREDENTIAL_1>
    AWS_SECRET_ACCESS_KEY=<AIRGAP_CREDENTIAL_2>
    JWT_SECRET=<AIRGAP_CREDENTIAL_3>
    STRIPE_KEY=<AIRGAP_CREDENTIAL_4>
    DEBUG=false
    

    Next steps

    1. Review the recommendations in the audit to move id_rsa to a secure location.
    2. Provide instructions for database optimization using the sanitized variables above.
    3. Once the new config is generated, I will use airgap_desanitize_patch to restore your actual keys locally.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Sharing configuration files or logs with AI agents often leads to accidental leaks of API keys, database strings, and PII. This skill provides a 100% offline MCP server that scrubs sensitive data before it reaches the model and restores it locally after code generation.

    What it does

    • Redact Sensitive Data Scans text to replace credentials, private keys, and PII with reversible placeholders.
    • Restore Secrets Locally Re-inserts original credentials into generated code or patches without exposing them to the LLM.
    • Audit Workspace Security Scans directory trees for exposed .env files, SSH keys, and certificates to assess risk.
    • Shannon Entropy Detection Identifies unformatted passwords or raw tokens by calculating character randomness.
    • Synthetic Mocking Generates safe, inert environment variables for testing without using real production values.

    How it works

    1. Sanitize Use airgap_sanitize_text to scrub code or logs, receiving a session_id and masked placeholders.
    2. Process Pass the sanitized version to the AI agent for analysis or refactoring.
    3. Desanitize Use airgap_desanitize_patch with the session_id to swap placeholders back for real secrets before saving.
    4. Audit Run airgap_audit_workspace on new repos to find and fix tracking leaks.

    Frameworks & tools

    This skill is built for the Model Context Protocol (MCP). It integrates with Claude Code, Cursor, Windsurf, GitHub Copilot, and any standard MCP client.

    Why this beats prompting it yourself

    Prompt-based redaction is unreliable because the model still "sees" the secrets in the context window before scrubbing them. This tool processes data locally on your machine, ensuring sensitive strings never leave your environment.

    Use cases

    • Reviewing production logs or .env files within an AI chat interface.
    • Generating git patches that require local database connection strings.
    • Scanning a legacy codebase for hardcoded keys and high-entropy tokens.
    • Complying with zero-trust policies in regulated FinTech or Healthcare sectors.

    Known limitations

    Secret mappings reside strictly in memory and are lost if the MCP server process restarts. It requires a local Python environment to run the server.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Read Files
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    Airgapguard MCP acts as a local buffer that redacts sensitive strings like API keys and PII before they are sent to an LLM, then restores them locally after the AI provides its output, ensuring your actual secrets never leave your machine.

    This skill is designed for the Model Context Protocol (MCP) and is fully compatible with popular AI-integrated environments including Claude Code, Cursor, Windsurf, and GitHub Copilot.

    Unlike prompt-based instructions which require the model to see the data to redact it, this tool processes your data locally on your hardware, providing a true 'air-gapped' security layer that isn't dependent on model compliance.

    Yes, the Shannon Entropy Detection feature allows you to scan entire directory trees to find unformatted passwords, raw tokens, or high-entropy strings that might be hidden in your codebase.

    For security, secret mappings are stored strictly in-memory during a session; if the MCP server process restarts, the active session IDs and their corresponding redaction maps are cleared.

    The package includes the MCP server source code, installation instructions for local Python environments, and a guide for integrating the server with your preferred MCP-compatible agent.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.