Works with the AI Agents you already use

    agentguard security

    by Cosmo AI Studios

    1

    Zero-trust security auditor for AI agents that detects secret leaks, blocks dangerous shell commands, and generates policies.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    agentguard security

    agentguard security

    Example session with this skill installed

    Run a security audit on the current directory and generate a security policy for Claude Code to ensure SOC2 compliance.

    • Read your context and instructions
    • Compiled the agentguard security

    I have completed the security audit of the repository and generated the requested compliance artifacts.

    Security Audit & Policy Generation Results

    Audit Summary

    SeverityCategoryFindingFile Path
    CRITICALSecret LeakHardcoded Anthropic API Key.env.backup
    HIGHDangerous Cmdcurl | bash detected in setup scriptscripts/install.sh
    MEDIUMInjectionStealth unicode chars in READMEREADME.md

    Generated Security Policy (security_policy.md)

    
    # AgentGuard Security Policy: Claude Code
    
    ## Zero-Trust Constraints
    - **Identity:** All actions must originate from Process PID 48292.
    - **Command Whitelist:** `ls`, `cat`, `grep`, `git status`, `npm test`.
    - **Banned Patterns:** `rm -rf`, `mkfs`, `nc -e`, `> /dev/sd*`.
    
    ## Compliance Mapping
    - **SOC2 CC6.1:** Requirement for logical access restricted via vaulting.
    - **OWASP Agentic Top 10:** Protection against prompt injection (LLM01).
    
    ## Human-In-The-Loop (HITL) Requirements
    All `npm install` and `git push` actions require explicit user confirmation via the `ag wrap --hitl` shim.
    

    Next steps

    1. Delete the plaintext API key found in .env.backup and move it to your secure environment vault.
    2. Review the flagged curl | bash in scripts/install.sh to ensure it points to a trusted, checksum-verified source.
    3. Run python3 scripts/verify.py to confirm the shell shim is correctly intercepting Claude Code commands.

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

    About this skill

    AI coding agents often operate with excessive permissions, creating risks of accidental deletions, credential theft, or prompt injection. AgentGuard provides a zero-trust security kernel to audit your repository, harden agent workflows, and enforce strict execution policies.

    What it does

    • Static Security Auditing scans project directories for exposed API keys, database URIs, and AWS credentials.
    • Destructive Command Detection flags dangerous shell patterns like recursive deletions, unverified remote scripts, and reverse shells.
    • Sleeper Injection Analysis identifies system boundary spoofing and hidden unicode triggers in markdown or memory files.
    • Policy Generation creates framework-specific security profiles and security_policy.md files mapped to SOC2 and ISO 27001.
    • Runtime Verification inspects active sessions to confirm shell shim interception and Human-in-the-Loop gate enforcement.

    How it works

    1. Run python3 scripts/audit.py . to perform a comprehensive security scan of your current project.
    2. Use python3 scripts/policy_gen.py --agent <type> to generate a tailored whitelist and security profile for your specific editor or CLI.
    3. Execute python3 scripts/verify.py to check the status of taint tracking, background daemons, and shell shims.
    4. Apply remediation steps by moving plaintext keys to vaulted environments or wrapping high-impact commands in interactive gates.

    Frameworks & tools

    This skill supports Claude Code, Cursor, Antigravity, OpenAI Codex, and Cline. It leverages Python-based auditing scripts and integrates with SOC2, ISO 27001, and OWASP Agentic Top 10 compliance standards.

    Why this beats prompting it yourself

    Generic prompts often miss stealthy threats like zero-width unicode characters or complex shell escapes. This skill uses dedicated scripts and a banned patterns catalog to provide systematic coverage that prompt-based instructions cannot match.

    Use cases

    • Audit a repository before allowing an autonomous agent to perform refactoring.
    • Generate compliant security policies for enterprise SOC2 Type II environments.
    • Prevent agents from executing accidental rm -rf or unauthorized disk writes.
    • Harden agents against prompt injection attacks in multi-agent systems.

    Known limitations

    Requires Python 3 to run auditing and generation scripts. Detection is focused on shell-based and secret-leak vectors rather than application-layer logic flaws.

    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.

    Frequently Asked Questions

    AgentGuard acts as a zero-trust security kernel that proactively scans for exposed credentials, blocks destructive shell commands, and generates strict execution policies to prevent AI agents from accidentally damaging your codebase.

    This skill is optimized for leading AI development environments including Claude Code, Cursor, Cline, and OpenAI Codex, ensuring your security policies are framework-compliant.

    Yes, the 'Policy Generation' feature automatically creates security profiles and `security_policy.md` files that are mapped to SOC2 and ISO 27001 standards, simplifying enterprise compliance.

    You will receive a suite of Python-based auditing and verification scripts, a comprehensive banned patterns catalog, and policy generation tools to harden your agent workflows.

    Standard prompt instructions can be bypassed by stealthy threats like unicode triggers; AgentGuard uses dedicated script-based scanning and shell shims to provide a level of systematic enforcement that prompts alone cannot achieve.

    The skill requires a Python 3 environment to execute the auditing and verification scripts, and it focuses specifically on shell-based threats and secret leaks rather than general application logic flaws.

    New in Security

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