Routerdiag communicates with undocumented local router APIs and processes data that can identify a household, network, device, or Telegram account.
Never commit or publish:
.envor.env.localprofiles/*.local.json- HAR files or decrypted GDPR payloads
- router configuration backups
- the
var/directory, logs, archives, or JSONL history - Telegram bot tokens or chat IDs
- router passwords, Wi-Fi passphrases, WPS PINs, MAC addresses, or serial numbers
The tracked examples contain placeholders only.
Monitoring is read-only by default. Repair requires --repair and sends a
firmware-specific payload to the TP-Link router. Before using it:
- Export a router backup.
- Confirm the exact model and firmware family.
- Run read-only samples and inspect the detected drift.
- Review every field in
profiles/wifi_profile.local.json. - Keep a way to connect by Ethernet if Wi-Fi configuration fails.
Configuration is file-based. Restrict .env.local and the local Wi-Fi profile
to your Windows account. Do not pass passwords on the command line because they
may be visible to other local processes.
The scheduled-task helper runs as the current interactive user, not SYSTEM.
Do not change it to run privileged code from a user-writable checkout.
Runtime records can include router identifiers, Wi-Fi client hostnames, MAC and IP addresses, cellular information, and local disk serial numbers. Store them locally, apply appropriate Windows permissions, and delete them when no longer needed.
This is an unsupported reference implementation, not a hardened service. Audit the code and behavior for your own environment before use.