More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    secret sentinel

    1

    Prevent and remediate credential leaks in code, logs, and agent prompts using local MCP scanning and redaction.

    Free

    Security scanned
    secret sentinel

    secret sentinel

    Example session with this skill installed

    I'm about to commit these changes to my billing module. Can you check them for secrets first?

    • Read your context and instructions
    • Compiled the secret sentinel

    I have scanned your staged changes using scan_git_staged. I found one high-severity finding in your configuration file that needs to be addressed before you commit.

    Security Scan Results

    FileLineDetectorSeverityRedacted Finding
    config/billing.py12stripe-api-keyhighsk_live_... (32 chars)
    config/billing.py15generic-api-keymediumAIzaSy... (20 chars)

    The scan identified a live Stripe API key hardcoded in your billing configuration. Even if you delete this in a later commit, the secret will remain in your git history.

    Recommended Fix:

    1. Move the Stripe key to a .env file (ensure .env is in your .gitignore).
    2. Update config/billing.py to use os.environ["STRIPE_API_KEY"].
    3. Since this key was visible to the agent, you should rotate it in your Stripe dashboard immediately.

    Next steps

    • Replace the literal strings in config/billing.py with environment variable lookups.
    • Run mcp-secret-sentinel scan --staged again to verify the fix.
    • Install the pre-commit hook with mcp-secret-sentinel install-hook to prevent this in the future.

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

    About this skill

    Credentials pushed to a repository or pasted into a prompt are compromised instantly, even if you delete them in the next commit. Secret Sentinel prevents these leaks before they happen and provides a systematic remediation path when exposures occur. It integrates directly into your agentic workflow to ensure API keys, tokens, and private keys never leave your local environment or enter your logs.

    What it does

    • Proactive scanning checks staged git changes, full directories, or specific files for over 64 types of credentials.
    • Automated redaction cleans logs, stack traces, and command outputs by replacing secrets with redacted placeholders before you share them.
    • Configuration auditing scans MCP client configs, .mcp.json, and agent instructions to ensure no credentials are hardcoded in repo-tracked files.
    • Remediation playbooks provide step-by-step guidance for rotating compromised keys and cleaning git history.
    • Pre-commit enforcement installs local hooks to block any commit that contains a detected secret.

    How it works

    1. Use scan_git_staged or scan_git_range before every commit or push to verify your changes are clean.
    2. Run redact_text on any terminal output or log file before quoting it in a prompt or sharing it with the agent.
    3. Replace hardcoded literals with environment variable lookups like os.getenv or process.env based on the detected finding.
    4. Apply the install-hook command to automate local guardrails for the entire project.

    Frameworks & tools

    Built for Python 3.10+ and available as both an MCP server and a CLI. It supports major agent environments including Claude Code and Cursor, with a dedicated GitHub Action for CI/CD integration.

    Why this beats prompting it yourself

    Generic prompts often miss base64-encoded secrets or high-entropy strings that don't look like standard keys. This skill uses a specialized engine with 64 specific detectors and base64-aware scanning, ensuring that "security through obscurity" doesn't lead to a breach.

    Use cases

    • Pre-flight checks to scan all staged files before running git commit.
    • Log sanitization to strip sensitive tokens from a crash report before sending it to an AI for debugging.
    • Agent config hardening to ensure your MCP server settings aren't leaking keys into your repository.
    • Incident response to walk through a structured rotation and history cleanup after an accidental push.

    Known limitations

    Scanning requires the secret-sentinel MCP server or CLI to be installed locally. The scanner may truncate output in extremely large repositories, showing only the most severe findings.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean today

    • Free to download with an account

    Requires

    Python
    uv (Python tool runner)
    Git

    Listedtoday

    What's inside

    Frequently Asked Questions