Skip to main content

Snitch

CodeQL

Keeping tabs on your systems..

Description

Snitch is a tool designed to provide a common interface for monitoring system activity. It uses a plugin-based system to check for signs of life, such as file modifications or the output of custom functions. This allows you to get a quick and simple "active" or "inactive" status for a machine.

CLI Usage

Snitch offers a few simple commands to manage activity checks and view status.

Checking for Activity

To run a new activity check, use the check command. This will execute all configured plugins, update the local state file with the results, and print the current status. Note: You'll likely want to run this with a user that has root permissions to make sure it has access to each file.

snitch check

Displaying the Current Status

To view the most recent activity status without running a new check, use the status command.

snitch status

Example output:

--- System Activity Status ---
Status: ACTIVE (within last 5 days)
Confidence: 100.0%
Last File Activity: 2025-09-19 10:30:00
Last Checked: 2025-09-19 10:30:00

Serving the Status via API

Snitch can run as a simple HTTP server to expose the latest activity status via a JSON API. Use the serve command for this.

snitch serve --port 8000

This will start a server on port 8000. You can then query the API to get the status:

curl http://localhost:8000/

Metadata

Release files for snitch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snitch 0.1.0
File Size Uploaded Provenance Actions
snitch-0.1.0.tar.gz 7.3 kB Without provenance Details for snitch-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for snitch 0.1.0
File Interpreter ABI Platform Actions
snitch-0.1.0-py3-none-any.whl Python 3 none any Details for snitch-0.1.0-py3-none-any.whl

Total release size: 16.0 kB

Release files / snitch-0.1.0.tar.gz

Download URL snitch-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e62579c7a5462a9df065634d5f657b236b580669e31faf05e754038e193275fc
BLAKE2b-256 checksum
How to use checksums
860d1c78902f24bf14b949679a1a80369d15c34d5286a9943b31480ef2fc8996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.0

Release files / snitch-0.1.0-py3-none-any.whl

Download URL snitch-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
910484d1a399d652fedb01715b4a69fc6d71a46ea291bc6b32554bfc392a2c00
BLAKE2b-256 checksum
How to use checksums
bd2d54aff4c72baf17a512ffa3efd45115e93ed3a01f640c4ff580cdf833ebf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.0

Security for snitch 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page