A lightweight, single-instance Windows background utility that audits active Google Chrome profiles, installed extensions, and process lifecycles.
Features β’ Installation β’ Architecture β’ Files β’ License
Chrome Monitor is a dedicated Windows system administration and security monitoring utility written in Python. It watches the local Google Chrome user data directory (%LOCALAPPDATA%\Google\Chrome\User Data), tracks which browser profiles are concurrently active, monitors extensions installed or loaded into each profile, and maintains an auditable timeline log.
Engineered for stability, Chrome Monitor utilizes Windows inter-process lock files to strictly prevent duplicate instances, provides silent .vbs background execution, and ships with turnkey startup registration scripts.
- π₯ Multi-Profile Tracking: Scans and parses
Local Stateand profile directories (Default,Profile 1, etc.) to detect active user sessions. - π§© Extension Inventory & Change Detection: Generates structured snapshots (
extension_snapshot.json) of all installed extensions, IDs, version numbers, and permissions, flagging unexpected additions. - π Single-Instance Guarantee: Implements robust Windows file-locking primitives so only one daemon process runs at any given time.
- π Silent Background Operation: Lauched via
start_monitor.vbswithout opening an intrusive command prompt console. - π Comprehensive Automation Logging: Maintains timestamped records in
@AutomationLog.txttracking launch events, profile switches, and shutdown hooks. - β‘ Startup Automation: Turnkey
.batscripts to install or remove the monitor from the Windows user startup registry or folder.
flowchart LR
A[Windows Startup / User Trigger] --> B[start_monitor.vbs]
B --> C[chrome_monitor.py Daemon]
C -->|Single-Instance Check| D{Lock File Active?}
D -- Yes --> E[Exit Silently]
D -- No --> F[Acquire Lock]
F --> G[Inspect Chrome User Data]
G --> H[(active_profiles.json)]
G --> I[(extension_snapshot.json)]
G --> J[Append to @AutomationLog.txt]
ChromeMonitor/
βββ chrome_monitor.py # Core monitoring daemon & profile inspection engine
βββ active_profiles.json # Live serialized state of currently active profiles
βββ extension_snapshot.json # Comprehensive catalog of installed extensions & versions
βββ @AutomationLog.txt # Continuous system audit log
βββ start_monitor.vbs # Silent VBScript background launcher
βββ install_startup.bat # Turnkey batch script to register Windows startup
βββ stop_monitor.bat # Graceful process terminator script
βββ .gitignore # Python & Windows runtime exclusions
βββ LICENSE # Open-source MIT License
# Run in terminal
python chrome_monitor.py
# Or launch silently in background
start_monitor.vbs- Double-click
install_startup.batto place a launcher shortcut in your Windows Startup directory (shell:startup). - Chrome Monitor will now quietly initialize every time you log into Windows.
Double-click stop_monitor.bat to release the lock and terminate the running monitor process.
This project is open-source and released under the MIT License.
Copyright (c) 2024-2026 Kamran Ashraf.