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
Metadata
Release files for file-integrity-monitor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| file_integrity_monitor-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for file_integrity_monitor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| file_integrity_monitor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for file_integrity_monitor-0.1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / file_integrity_monitor-0.1.0.tar.gz
| Download URL | file_integrity_monitor-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4da7dc3ed693441f027c4f8e51df6a023b31562a309296354be2183b813e979b
|
|
BLAKE2b-256 checksum How to use checksums |
b9531f31530c7775585b35373061b13474c20dbd5cc5575abd14fde279bd3e30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / file_integrity_monitor-0.1.0-py3-none-any.whl
| Download URL | file_integrity_monitor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
278f662ebc78ff6c1bc865110763c5aea5eea5f63d0557bdbd624448a26748e1
|
|
BLAKE2b-256 checksum How to use checksums |
dfe75bc798228c87327330901d368acbc7ee46e283d3ee9b8ded203a0bc62322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for file-integrity-monitor 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.