Templates / Audit workflows for hardcoded secrets with GitHub and Telegram

Audit workflows for hardcoded secrets with GitHub and Telegram

Ready for 3.0

by Aironauts AI ✓ · 53 views · created 2026-07-23 · SecOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (every day at 03:00). Along the way it connects GitHub and Telegram.

How it runs

Trigger: On a schedule (every day at 03:00).

  1. Configuration (Edit Fields (Set)): sets 6 fields: repoOwner, repoName, repoPath…
  2. Get All Workflows (n8n): uses n8n
  3. Scan and Redact (Code): runs custom JavaScript code
  4. Loop Over Workflows (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Build Audit Report (Code): runs custom JavaScript code
  6. Check Snapshot Exists (GitHub): get (file)
  7. Only If Something Found (Filter): keeps only the items that match a condition
  8. Snapshot Exists? (If): checks a condition and branches into true / false
  9. Send Audit Report (Telegram): uses Telegram
  10. Update Redacted Snapshot (GitHub): edit (file)

…plus 1 more step. See the full node list below.

Services it uses

GitHubTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview Scans every workflow on your n8n instance for credentials, tokens, and personal data pasted straight into node parameters. Findings are reported to Telegram by severity, and the snapshot committed to GitHub has those values masked. How it works…

Excerpt from Aironauts AI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.