Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    File Permission Auditor

    1

    Identify and remediate insecure file permissions and exposed secrets across Linux and Windows filesystems.

    $2.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    File Permission Auditor

    File Permission Auditor

    Example session with this skill installed

    Audit the permissions for /var/www/html on this Linux server and flag any files that are world-writable or contain secrets with loose permissions.

    • Read your context and instructions
    • Compiled the file permission auditor
    • Generated the document

    I have scanned the /var/www/html directory. I found several high-risk permission sets, including a .env file readable by all users and multiple PHP scripts with world-write bits enabled.

    Permission Audit Report

    SeverityPathCurrent ModeIssueSuggested Fix
    CRITICAL/var/www/html/.env0644Secret file is world-readablechmod 600 /var/www/html/.env
    HIGH/var/www/html/uploads/0777World-writable without sticky bitchmod 1755 /var/www/html/uploads/
    HIGH/var/www/html/config.php0666Configuration file is world-writablechmod 644 /var/www/html/config.php
    MEDIUM/var/www/html/assets/logo.png0777Asset file has unnecessary execute bitchmod 644 /var/www/html/assets/logo.png
    LOW/var/www/html/old_backup.sql0644Database dump owned by unknown UID 1005chown www-data:www-data /var/www/html/old_backup.sql

    Next steps

    1. Review the suggested fixes and run them using sudo to apply changes.
    2. Check if UID 1005 corresponds to a deleted developer account and reassign all related assets.
    3. Schedule a follow-up scan for the /etc/nginx/ directory to ensure web server configs are secured.

    logo.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    Loose file permissions are a silent security debt that leads to data leaks and privilege escalation. This skill identifies files and directories with excessive access rights across Linux and Windows environments, providing immediate remediation commands.

    What it does

    • Scans Linux filesystems to identify world-writable files, loose home directory modes, and SUID/SGID binaries.
    • Audits Windows ACLs by parsing icacls output to flag broad group assignments like "Everyone" or "Authenticated Users."
    • Detects exposed secrets such as private keys, .env files, and database backups with public read access.
    • Identifies orphaned SIDs and files owned by deleted accounts that still retain active permissions.
    • Generates fix scripts including exact chmod, chown, or icacls commands to lock down the environment.

    How it works

    1. Target selection: Provide a Linux directory path or a pre-generated Windows icacls text report.
    2. Analysis: The agent scans for permission patterns that violate security best practices, such as sticky-bit omissions or direct user assignments.
    3. Filtering: Use the --approved flag to whitelist specific service accounts or groups that require high-level access.
    4. Report generation: Review the prioritized list of vulnerabilities sorted by severity.

    Frameworks & tools

    This skill utilizes Python for log parsing and logic, leveraging native OS utilities like find, stat, and icacls for data collection.

    Why this beats prompting it yourself

    Generic prompts often miss edge cases like the sticky-bit on world-writable directories or the nuances of Windows inherited permissions. This skill uses specific logic to differentiate between system-required SUID files and dangerous user-created ones.

    Use cases

    • Audit preparation: Run before a compliance review to clear common findings.
    • Data leak investigation: Trace how a sensitive file became accessible to unauthorized users.
    • Server hardening: Clean up permissions on a new application deployment or web server root.

    Known limitations

    Does not follow symlinks or automatically cross filesystem boundaries on Linux. Requires root/administrator privileges to read certain metadata.

    Requires root or administrator privileges for full visibility. Does not follow symlinks or cross filesystem boundaries automatically. Windows audits require pre-generated icacls text files.

    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 any payment.

    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 month ago

    Permissions

    Terminal / Shell
    Read Files
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    Yes, the auditor requires sudo or root access on Linux and Administrator privileges on Windows to accurately read file metadata and ACLs across restricted directories.

    The skill provides the precise `chmod`, `chown`, or `icacls` commands needed to fix identified issues, allowing you to review and execute them manually or via automation scripts.

    While it identifies specific secrets like `.env` files or private keys, its primary focus is identifying where those files have insecure access rights that could lead to a leak.

    Absolutely. You can use the `--approved` flag to whitelist specific service accounts, groups, or directories that require non-standard permissions for legitimate operations.

    You receive the complete skill logic, documentation, and a set of pre-configured templates for both Linux and Windows environments, ensuring immediate deployment.

    This skill is designed for standard Linux filesystems (Ext4, XFS) and Windows NTFS; it does not currently support cloud-native storage like S3 buckets or specialized network filesystems.

    New in Security