Skip to content

Security: itlezy/routerdiag-wind

Security

docs/SECURITY.md

Security and private data

Routerdiag communicates with undocumented local router APIs and processes data that can identify a household, network, device, or Telegram account.

Keep these files private

Never commit or publish:

  • .env or .env.local
  • profiles/*.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.

Repair safety

Monitoring is read-only by default. Repair requires --repair and sends a firmware-specific payload to the TP-Link router. Before using it:

  1. Export a router backup.
  2. Confirm the exact model and firmware family.
  3. Run read-only samples and inspect the detected drift.
  4. Review every field in profiles/wifi_profile.local.json.
  5. Keep a way to connect by Ethernet if Wi-Fi configuration fails.

Credential storage

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.

Local logs

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.

Project status

This is an unsupported reference implementation, not a hardened service. Audit the code and behavior for your own environment before use.

There aren't any published security advisories