Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

ESP32 NAT Router MCP server

by martin-ger/esp32_nat_routerNo licenceAudited 23 Sep 2026 · source 58419bd96996

stdiostreamable-http★ 2,168
✕BLOCKGrade D · 65/100 · 23 Sep 2026 · 58419bd

Is it safe? No — BLOCK, grade D (65/100). It exposes 38 tools: 15 read, 17 write and 6 destructive. The audit recorded 16 findings (0 critical, 2 high, 7 medium, 2 low). Maintainer's description: An AI-enabled NAT Router/Firewall for the ESP32

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “ESP32 NAT Router MCP server (martin-ger/esp32_nat_router)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/martin-ger/esp32-nat-router

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Privilege escalation / persistence at esp_nat_bridge.py:879. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 23 Sep 2026

Trust score65/100✕BLOCK D
0 critical2 high7 medium2 low5 info

16 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (16)

Sorted by severity

HIGHPrivilege escalation / persistencepriv.escalate · esp_nat_bridge.py:879
F-06 Privilege escalation / persistenceCWE-269 · CWE-250Layer L1
"tcpdump is not installed. Install it with: sudo apt install tcpdump"
Why
asks for elevated privileges
Fix
—
HIGHPrivilege escalation / persistencepriv.escalate · esp_nat_bridge.py:1027
F-06 Privilege escalation / persistenceCWE-269 · CWE-250Layer L1
"tcpdump is not installed. Install it with: sudo apt install tcpdump"
Why
asks for elevated privileges
Fix
—
MEDIUMInventory / provenanceinv.binary · firmware_esp32/bootloader.bin
F-13 Inventory / provenanceCWE-1104Layer L0
bootloader.bin
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32/ota_data_initial.bin
F-13 Inventory / provenanceCWE-1104Layer L0
ota_data_initial.bin
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32/partition-table.bin
F-13 Inventory / provenanceCWE-1104Layer L0
partition-table.bin
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32_poe_iso/bootloader.bin
F-13 Inventory / provenanceCWE-1104Layer L0
bootloader.bin
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32_poe_iso/ota_data_initial.bin
F-13 Inventory / provenanceCWE-1104Layer L0
ota_data_initial.bin
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMPrompt injectionscope.undeclared_system · <declared scope>
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
system use found in code, not declared in the description
Why
the description does not admit a capability the code has
Fix
declare system use in the description, or remove it
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
acl_clear, acl_clear_stats, acl_delete, delete_dhcp_reservation, delete_portmap, reset_byte_counts
Why
6 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWNetwork egressnet.raw_ip · README.md:52
F-04 Network egressCWE-200 · CWE-319Layer L1
2. Open **http://esp32-nat-router.local** (or http://192.168.4.1) in your browser
Why
No further detail recorded for this rule.
Fix
—
INFOInventory / provenanceinv.oversize · ESP32-C3-OLED.png
F-13 Inventory / provenanceCWE-1104Layer L0
ESP32-C3-OLED.png
Why
1385234 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · firmware_esp32/esp32_nat_router.bin
F-13 Inventory / provenanceCWE-1104Layer L0
firmware_esp32/esp32_nat_router.bin
Why
1357824 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · firmware_esp32_poe_iso/esp32_nat_router.bin
F-13 Inventory / provenanceCWE-1104Layer L0
firmware_esp32_poe_iso/esp32_nat_router.bin
Why
1270704 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · firmware_esp32c3/esp32_nat_router.bin
F-13 Inventory / provenanceCWE-1104Layer L0
firmware_esp32c3/esp32_nat_router.bin
Why
1490880 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · firmware_esp32c5/esp32_nat_router.bin
F-13 Inventory / provenanceCWE-1104Layer L0
firmware_esp32c5/esp32_nat_router.bin
Why
1490736 bytes not read
Fix
—

Tools it exposes

38 declared in source · 6 destructive

15 read17 write6 destructive

6 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
acl_clearDelete ALL firewall rules from a list. Traffic will be unrestricted afterwards.destructive
acl_clear_statsClear hit count statistics for a firewall ACL list.destructive
acl_deleteDelete a firewall ACL rule by its index.destructive
delete_dhcp_reservationRemove a fixed IP reservation for a device. The device will get a dynamic IP next time it connects.destructive
delete_portmapRemove a port forwarding rule. The port will no longer be accessible from the internet.destructive
reset_byte_countsReset the internet traffic byte counters to zero.destructive
acl_addAdd a firewall ACL rule to the NAT router.write
add_dhcp_reservationReserve a fixed IP address for a specific device on the hotspot network.write
add_portmapForward an incoming port from the internet to a device on the hotspot network.write
pcap_saveRecord network traffic from the router and save it to a file.write
pcap_set_modeSet the packet capture mode. Used to record network traffic for analysis.write
pcap_set_snaplenSet the maximum bytes recorded per captured packet.write
restartReboot the router. All connected clients will be temporarily disconnected.write
set_apSet the name and password of the WiFi hotspot the router broadcasts. Requires restart.write
set_ap_enabledEnable or disable the WiFi hotspot (AP interface) immediately, without a reboot.write
set_ap_hiddenHide or show the hotspot network name in WiFi scans. Requires restart.write
set_ap_ipChange the routerwrite
set_ap_macChange the MAC address of the routerwrite
set_ap_natEnable or disable NAT on the hotspot (AP) interface. Requires restart.write
set_staSet which WiFi network the router connects to for internet access. Requires restart.write
set_sta_macChange the MAC address the router uses when connecting to WiFi. Requires restart.write
set_sta_staticSet a static IP for the routerwrite
set_ttlOverride the TTL (time-to-live) value on all packets sent to the internet. Takes effect immediately.write
get_ap_statusGet the current enabled/disabled state of the WiFi hotspot (AP interface).read
get_byte_countsShow how many bytes the router has sent and received to/from the internet since last reset.read
get_heap_infoGet the routerread
get_ttlGet the current TTL (time-to-live) override setting for outgoing internet packets.read
get_versionGet hardware chip info, firmware version, and build details.read
network_traceRecord live network traffic from the router and show a human-readable summary.read
pcap_get_modeGet the current packet capture mode (off, acl, or promisc).read
pcap_get_snaplenGet the maximum number of bytes recorded per captured packet.read
pcap_statusShow packet capture statistics: whether a capture client is connected, and how many packets were captured or dropped.read
pingPing a host from the router to check connectivity and measure latency. Sends 5 ICMP echo requests.read
show_aclShow firewall rules and hit counts for upstream (client to internet) and downstream (internet to client) traffic.read
show_configShow router configuration: the WiFi network it connects to, the hotspot it broadcasts, static IP settings, and web interface state.read
show_mappingsShow DHCP address pool, reserved IP addresses for specific devices, and port forwarding rules.read
show_statusShow router status: whether it is connected to WiFi, its IP addresses, how many clients are connected, traffic (shown as B/KB/MB/GB), and free memory.read
wifi_scanScan for nearby WiFi networks. Returns network name, signal strength, and security type for each.read

Safer alternatives

Audit history

  1. ✕BLOCK D 65 / 100

    Source changed, verdict held · 58419bd96996

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about ESP32 NAT Router MCP server

What is the ESP32 NAT Router MCP server?
An AI-enabled NAT Router/Firewall for the ESP32
What tools does ESP32 NAT Router expose?
38 in total: 15 read-only, 17 that write, and 6 that can delete or overwrite (acl_clear, acl_clear_stats, acl_delete, delete_dhcp_reservation, delete_portmap). Every one is listed on this page with its risk.
Is ESP32 NAT Router safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (65/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 6 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does ESP32 NAT Router need?
It reads ESP_NAT_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does ESP32 NAT Router run?
It speaks stdio and streamable-http, so it runs as a local process your client starts.
How current is this page?
The grade is for one exact copy of the source (58419bd96996), read on 2026-09-23. The repository is watched and re-audited when it changes.
I already installed ESP32 NAT Router. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • martin-ger/esp32_nat_router on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 58419bd96996Observed · 23 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.