Walk through files -> hash + compare them if they were modified.
Project description
fim — File Integrity Monitor
A command-line tool that detects unauthorized changes to files and folders using SHA-256 hashing. Run a baseline scan, then re-scan later to see exactly what was modified, added, or deleted.
Installation
pip install file-integrity-monitor
Or with uv:
uv tool install file-integrity-monitor
Usage
fim <path>
Examples:
fim "C:/Users/You/Documents"
fim ~/Desktop
fim .
fim "C:/Users/You/Documents" --desktop
Flags
| Flag | Description |
|---|---|
--desktop |
Save the log file to your Desktop instead of the default logs/ folder |
--log-dir <path> |
Save the log file to a custom directory |
How it works
- First scan — a baseline is created, storing the SHA-256 hash of every file
- Subsequent scans — hashes are compared against the baseline and any changes are reported
- A timestamped log file is saved after every scan with the full details
Output
File Integrity Monitor
Scan: 2026-03-11 14:32:05
Changes detected!
Modified : 2 files
Added : 1 file
Deleted : 1 file
Log file: C:/Users/You/fim/logs/scan_2026-03-11_14-32-05.txt
Requirements
- Python 3.11+
- rich
Source
https://github.com/JKG-cpu/CyberSecurity-Tools/tree/main/File%20Integrity%20Monitor
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file file_integrity_monitor-0.1.0.tar.gz.
File metadata
- Download URL: file_integrity_monitor-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4da7dc3ed693441f027c4f8e51df6a023b31562a309296354be2183b813e979b
|
|
| MD5 |
0de348a71d3c7d55d089b01d3c4165d3
|
|
| BLAKE2b-256 |
b9531f31530c7775585b35373061b13474c20dbd5cc5575abd14fde279bd3e30
|
File details
Details for the file file_integrity_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: file_integrity_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278f662ebc78ff6c1bc865110763c5aea5eea5f63d0557bdbd624448a26748e1
|
|
| MD5 |
afd2e1d60c03d4d5a88fc6000ecd228d
|
|
| BLAKE2b-256 |
dfe75bc798228c87327330901d368acbc7ee46e283d3ee9b8ded203a0bc62322
|