Local log sanitizer

Sanitize logs before sharing them with an LLM.

ScrubAI pseudonymizes infrastructure data, removes secrets, and keeps enough technical context for debugging.

RAW LOGS
  -> local sanitizer
  -> sanitized output
  -> copy to LLM

No database
No telemetry
No upload

Rules updates

Rules can update without rebuilding the app.

ScrubAI ships with embedded fallback rules, but the application can load a local rules file and can be pointed to a custom rules endpoint.

flowchart LR
  A[Embedded fallback rules] --> D[Sanitizer engine]
  B[Local rules.json] --> D
  C[Remote rules endpoint] --> B
  E[Settings: rules_url] --> C
  D --> F[Sanitized output]
Default endpoint https://scrubai.cyklodev.com/rules/default.rules.json
Local override

The app stores editable rules in the user config directory and falls back to embedded rules if the file is missing or invalid.

Custom endpoint

Open the Rules panel in the app, change the rules URL, then download and save the new rules locally.