Drift Guard

PassAudited by ClawScan on May 1, 2026.

Overview

Drift Guard appears to be a local Python text-analysis tool, with the main things to review being its executable Python config file and the local history/alert files it creates.

This looks safe to use as a local monitoring helper if you understand where it writes files. Before installing, review config.py, keep baseline/history/alert files in a trusted location, avoid untrusted config files, and only set up cron automation if you want ongoing scheduled checks.

Findings (3)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If someone gives you a malicious config.py, running the tool with that config could execute code on your machine.

Why it was flagged

A configuration file is imported as a Python module, so loading an untrusted config file could execute its top-level Python code. This is disclosed by the Python-based config workflow and appears purpose-aligned, but it is more powerful than a plain data config.

Skill content
sys.path.insert(0, str(Path(args.config).parent))
module_name = Path(args.config).stem
config_module = __import__(module_name)
config = config_module.CONFIG
Recommendation

Create config.py yourself from the included template, review any config before use, and avoid loading config files from untrusted sources.

What this means

If baseline or history files are modified, deleted, or replaced, future drift alerts and trend reports could be misleading.

Why it was flagged

The tool loads a saved baseline and appends measurements to a persistent history file, which then affects future drift scores and reports.

Skill content
self.baseline = json.load(f)
...
self.history.append(record)
...
json.dump(self.history, f, indent=2)
Recommendation

Store baseline and history files in a trusted project directory, back up known-good baselines, and do not treat drift scores as a substitute for human review.

What this means

A cron job would keep running on a schedule and continue writing drift history or alerts until you remove it.

Why it was flagged

The README documents optional recurring execution through cron. It is user-directed and not installed automatically, but it is a persistence mechanism if the user chooses to add it.

Skill content
### Automatic Drift Checks via Cron
# Check drift every hour
0 * * * * cd /path/to/agent && python drift_guard.py latest_response.txt
Recommendation

Only add scheduled jobs if you need continuous monitoring, document where they are installed, and remove them when no longer needed.