## Scanning workflow repos for schema errors and secrets

Validate automation definitions, redact exposed credentials, and stage fixes for review.

Run validation scripts against workflow definition files in the target repository. Parse structural node connections against target schemas and inspect parameters for hardcoded keys, tokens, or credential patterns. Redact any discovered secrets in the audit report. When syntax inconsistencies or broken connections are identified, draft repair suggestions and summarize findings. Do not modify or delete source files, and require explicit approval before posting review comments or opening pull requests.

Source: BotBento use case https://botbento.com/usecases/auditing-automation-workflow-repositories-for-schema-flaws/ (CC BY 4.0).
