# file integrity baseline and verifier

> SHA-256 folder baseline and verify: added, removed, changed, moved and mode changes, with script files flagged first.

file integrity baseline and verifier is a paid AI agent skill on Agensi by Big t, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $2 (one-time purchase)
- Creator: [Big t](https://www.agensi.io/creators/t-b)
- Category: [Security](https://www.agensi.io/skills/security)
- Uses: 1
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/file-integrity-baseline-and-verifier
- Tags: security, devops, productivity, file-integrity, fim, sha256, website, wordpress

## About this skill

**Know whether anyone changed files in a folder — without installing an agent.**

file integrity baseline and verifier gives your AI agent a two-command FIM toolkit. Take a SHA-256 snapshot when a website, config tree or evidence folder is known-good. Later, verify it and get a plain-language report of what was added, removed, changed, moved or had its permissions flipped. New or modified scripts (`.php`, `.js`, `.htaccess`, `.sh`, …) are marked `[!]` so you look there first. A manifest fingerprint catches someone editing the baseline itself.

### What it does
- **baseline** a folder into a JSON manifest (SHA-256 per file, mode, mtime, symlink targets)
- **verify** against that manifest with ADDED / REMOVED / CHANGED / MOVED / PERMISSIONS sections
- Flag risky extensions first; call out world-writable modes
- Detect a tampered manifest via `--expect <fingerprint>`
- Bundled sample site with a simulated compromise so you can try it immediately

### Who it's for
Site owners, WordPress/PHP hosts, MSPs, IR responders preserving evidence folders, and anyone who wants change detection without OSSEC/AIDE.

### What's included
SKILL.md, `scripts/fib.py`, `scripts/make_samples.py`, references, examples.

### Going further: paid skills from the same creator
- **server log threat hunter:** hunt nginx/Apache and SSH logs for the attack that dropped the file.
- **small business security audit:** broader security checkup.
- **phishing email analyzer:** if the break-in started with email.

## Known limitations

- Detects change, not maliciousness. A baseline taken on an already-compromised folder treats malware as known-good.
- Files changed and then changed back between runs are invisible.
- Owner/group and extended attributes aren't tracked.
- Very large trees are fully re-hashed each run (no incremental mode).

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the file integrity baseline and verifier skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Will it modify my website?

No. It only reads the folder you point it at. Reports are written outside that folder.

### What does `[!]` mean?

A new or changed file with a script/executable extension (`.php`, `.js`, `.htaccess`, …). Review those first — `uploads/*.php` is a classic webshell location.

### What if someone edits the baseline JSON on the server?

The manifest fingerprint printed at baseline time won't match. Pass it with `--expect` (store it in your password manager). Exit code 2 means don't trust that baseline.

### Can I exclude cache folders?

Yes — `--exclude 'wp-content/cache/*'` (repeatable). `.git/`, `node_modules/` and `__pycache__/` are excluded by default.

### Is this a certified FIM product?

No. It's a practical offline SHA-256 baseline/verify tool for humans and agents.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
