Skip to main content

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

  1. First scan — a baseline is created, storing the SHA-256 hash of every file
  2. Subsequent scans — hashes are compared against the baseline and any changes are reported
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

file_integrity_monitor-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

file_integrity_monitor-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for file_integrity_monitor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4da7dc3ed693441f027c4f8e51df6a023b31562a309296354be2183b813e979b
MD5 0de348a71d3c7d55d089b01d3c4165d3
BLAKE2b-256 b9531f31530c7775585b35373061b13474c20dbd5cc5575abd14fde279bd3e30

See more details on using hashes here.

File details

Details for the file file_integrity_monitor-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for file_integrity_monitor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 278f662ebc78ff6c1bc865110763c5aea5eea5f63d0557bdbd624448a26748e1
MD5 afd2e1d60c03d4d5a88fc6000ecd228d
BLAKE2b-256 dfe75bc798228c87327330901d368acbc7ee46e283d3ee9b8ded203a0bc62322

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page