Works with the AI Agents you already use

    Pathhunt File Integrity Scanner

    by ali dağdelen

    1

    Search directories for secrets and monitor file integrity using SHA-256 baselines and keyword hunting.

    Free

    Security scanned
    Pathhunt File Integrity Scanner

    Pathhunt File Integrity Scanner

    Example session with this skill installed

    Check the ./config directory for the keyword 'PASSWORD' in all .yaml files, then run a FIM scan on ./src to see if any files changed since the last baseline.

    • Read your context and instructions
    • Compiled the pathhunt file integrity

    I have scanned the configuration files for sensitive keywords and performed a file integrity check on the source directory.

    PathHunt Audit Results

    Keyword Search Results

    Search Scope: ./config | Target: PASSWORD | Extensions: yaml

    File PathMatch TypeContext / Detail
    ./config/database.yaml[Content]db_password: "admin_password123"
    ./config/auth_password.yaml[Filename]Filename match found.

    File Integrity Monitoring (FIM)

    Directory: ./src | Baseline: .pathhunt_fim.json

    StatusFile PathCurrent SHA-256
    [MODIFIED]./src/auth_service.pye3b0c44298fc1c149afbf4c8996fb92427ae41...
    [ADDED]./src/utils/temp_fix.py81ac260e585600c6d9255743b0d2d3dc9c647...
    [REMOVED]./src/old_logger.pyN/A

    Next steps

    1. Rotate the plain-text password found in database.yaml.
    2. Review the changes in auth_service.py to ensure the modification was authorized.
    3. Delete the unexpected temp_fix.py file if it was not part of the recent deployment.

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

    About this skill

    Manually auditing logs and project files for secrets or unauthorized changes is slow and error-prone. PathHunt automates keyword discovery and File Integrity Monitoring (FIM) using localized Python scripts to secure your directories.

    What it does

    • Keyword hunting searches filenames and file contents across entire directory trees.
    • Targeted scanning filters searches by specific file extensions like .env, .json, or .log.
    • Integrity monitoring generates SHA-256 baselines to track file state over time.
    • Change detection identifies modified, added, or deleted files by comparing current states against baseline snapshots.
    • Structured reporting groups results by filename or content matches for fast triage.

    How it works

    1. Run the search command with a directory path and a specific keyword to locate strings in files.
    2. Apply extension filters to narrow the search scope to configuration or log files.
    3. Initialize a FIM baseline to create a JSON snapshot of file hashes in a directory.
    4. Execute the verify command to compare the live directory against the baseline and report tampering.

    Frameworks & tools

    This skill uses a standalone Python 3 CLI script and standard libraries including hashlib for SHA-256 generation, argparse for command handling, and json for baseline storage.

    Why this beats prompting it yourself

    Generic prompts often hallucinate file paths or fail to process binary/large files correctly. This skill uses a native script to ensure 100% accurate hash comparisons and comprehensive recursive directory traversal that an LLM cannot perform reliably through context alone.

    Use cases

    • Scan project directories for hardcoded API keys or sensitive credentials.
    • Detect unauthorized modifications to system configuration files or source code.
    • Filter through massive log directories for specific error patterns or status codes.
    • Audit deployment artifacts to ensure no files were dropped or altered during transfer.

    Known limitations

    Requires Python 3 installed on the host. Large directories may impact performance during hash generation. Does not support real-time kernel-level file system event monitoring.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Software
    Python 3

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Adapted from my open-source Blue Team utility (github.com/alidagdelen/PathHunt). Converted the interactive terminal menu into a non-blocking CLI with SHA-256 File Integrity Monitoring (FIM) so AI agents can audit directories directly.

    Listed6 days ago

    What's inside

    Frequently Asked Questions

    Pathhunt combines keyword searching and File Integrity Monitoring (FIM). While it can scan for specific strings like 'API_KEY', it also generates SHA-256 hashes to detect if a file's content has been altered, even if the keywords remain the same.

    This skill is designed for any AI agent capable of executing Python 3 scripts with filesystem access. It works best with agents that can process structured JSON output to summarize security findings for the user.

    You will receive the core Python CLI script, a README with setup instructions, and a set of pre-configured commands for your AI agent to trigger scans, baseline generation, and integrity verification.

    Pathhunt uses standard Python libraries, so no complex external dependencies are required. However, the host environment must have Python 3 installed, and the AI agent must have read/write permissions for the directories you wish to monitor.

    Yes, Pathhunt handles large directories through recursive traversal. While the initial hash baseline for thousands of files may take a moment to generate, subsequent verification scans are optimized to report only the differences (additions, deletions, or modifications).

    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.

    Free