Guardian Core
Guardian Core is the minimal, local-first scanner package.
Included
- Realtime pre-scan
- Batch scan/report
- Bundled signature definitions
- Local SQLite logging (
guardian.db) - Local dashboard files
Not included in core package
- Webhook integrations
- HTTP API server
- Cron automation setup helpers
- Remote definition update scripts
Install
cd ~/.openclaw/skills/guardian-core
./install.sh
Verify
python3 scripts/admin.py status
python3 scripts/admin.py threats
python3 scripts/admin.py report
Environment/config reads
GUARDIAN_WORKSPACEGUARDIAN_CONFIG
Python API
from core.realtime import RealtimeGuard
guard = RealtimeGuard()
result = guard.scan_message(user_text, channel="telegram")
if guard.should_block(result):
return guard.format_block_response(result)