Agent Manifest Hardening: Least-Privilege Lint and Policies

    by José Miguel Gómez

    1

    Lint an agent manifest for least privilege, fix wildcards and unused grants, then generate and test an allow/ask/deny tool-call policy per risk level.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Scans your agent settings for broad permissions that give away too much access
    • Suggests narrow fixes for risky settings to keep your files and data safe
    • Sets a safety level based on the cost of a mistake and the data the agent can reach
    • Creates a policy that automatically blocks dangerous commands or private web addresses
    • Tests the new rules against tricky inputs like system paths and hidden commands

    Who it's for

    Founders building AI tools for clients

    Ensure your custom AI assistants can only touch the data and files you allow, protecting your customers.

    Try asking: “Review the permissions for my new customer support agent.”

    IT Managers and Security Officers

    Verify that internal AI agents follow the principle of least privilege before they go live.

    Try asking: “Check this agent manifest for security risks.”

    Freelance AI Developers

    Give your clients peace of mind by providing a verified security policy for the agents you build.

    Try asking: “Harden the permissions for this tool-calling agent.”

    Agent Manifest Hardening: Least-Privilege Lint and Policies

    Example session with this skill installed

    I have a new agent for my team. Can you check the manifest at agent_config.json and make sure it is safe?

    • Read your context and instructions
    • Compiled the agent manifest hardening

    I will help you harden the permissions for your agent. I have analyzed the manifest file you provided and found a few areas where we can make it safer.

    Security Findings

    The scan found two high-severity risks

    1. Rule AM003: The agent has a "wildcard" grant to read any folder on your computer. This means it could accidentally read private system files.
    2. Rule AM007: One of the tools can reach any website. This could allow the agent to talk to internal company servers it should not see.

    Next Steps

    1. Tighten Access: Can you tell me the specific folders the agent needs to work in? For example, is it just /workspace/project-files/?
    2. Limit Websites: Which specific websites or domains does the agent need to visit?

    Once you give me these details, I will update the settings and run the scan again. After that, we will choose a risk level to create your final safety policy. Which folders should I limit the agent to?

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

    About this skill

    When you build an AI agent, you give it tools to read files, visit websites, or run commands. If those permissions are too broad, the agent might accidentally delete important files or access private data. This skill helps you lock down those permissions so the agent only does exactly what it needs to do. It checks your agent's settings for "wildcards" and broad access that could be dangerous.

    How it works

    1. Provide the file that lists your agent's permissions and tools.
    2. Review the list of security risks the skill finds, like access to system folders or internal networks.
    3. Answer questions about how much data the agent can reach to set a risk level from low to critical.
    4. Review the new, tighter policy and see the results of tests that try to "trick" the agent into breaking the rules.

    What you get: A hardened permission file and a safety policy that decides when a tool call is allowed, blocked, or needs a human to say yes.

    This does not create a sandbox. It cannot see if a permitted file link points to a secret file elsewhere. You must provide the manifest file path.

    This skill uses Python scripts to lint JSON manifests against rules AM001-AM009. It maps external formats to a standard manifest schema and generates a runtime policy based on templates for low, medium, high, and critical risk levels. It includes a policy_check utility to validate tool calls against allow/ask/deny logic. All processing is local and does not use external APIs or network calls.

    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 1 day ago

    Accounts
    169
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files

    Allowed Hosts

    status.example.com
    status.example.com.evil.example.net
    169.254.169.254
    x.example.net
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill scans your agent permissions for risks like broad access to folders or internal networks. It helps you shrink those permissions down to the bare minimum so your agent cannot accidentally delete files or access private data it does not need.

    You only need to provide a manifest file in JSON format that lists your agent's tools and permissions. The skill uses Python to run its checks, but it does not require any external accounts or internet access to work.

    You will receive a hardened permission file and a runtime policy that tells your agent when to allow a tool call, when to block it, and when to ask you for permission. You also get a report showing the risks found and the results of tests that tried to trick the new rules.

    While it creates strict rules for tool calls, it is not a full sandbox. It cannot resolve things like symlinks or verify what happens inside a permitted call, and it will never widen your permissions just to make a test pass.

    You can simply tell your agent to lock down its permissions using this skill. It will then walk you through providing your manifest file, answering risk level questions, and reviewing the new security policy.

    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.