Works with the AI Agents you already use
Pathhunt File Integrity Scanner
by ali dağdelen
Search directories for secrets and monitor file integrity using SHA-256 baselines and keyword hunting.
Free
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 Path | Match Type | Context / 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
| Status | File Path | Current SHA-256 |
|---|---|---|
[MODIFIED] | ./src/auth_service.py | e3b0c44298fc1c149afbf4c8996fb92427ae41... |
[ADDED] | ./src/utils/temp_fix.py | 81ac260e585600c6d9255743b0d2d3dc9c647... |
[REMOVED] | ./src/old_logger.py | N/A |
Next steps
- Rotate the plain-text password found in
database.yaml. - Review the changes in
auth_service.pyto ensure the modification was authorized. - Delete the unexpected
temp_fix.pyfile 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
- Run the search command with a directory path and a specific keyword to locate strings in files.
- Apply extension filters to narrow the search scope to configuration or log files.
- Initialize a FIM baseline to create a JSON snapshot of file hashes in a directory.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
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.
What's inside
Frequently Asked Questions
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.