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

MCP server · Audited from source

OPNSense MCP server

by vespo92/opnsensemcpMIT licenceAudited 7 Oct 2026 · source 0a1353a0df07

npm opnsense-mcp-server 0.11.0ssestdiostreamable-http★ 88
✕BLOCKGrade D · 69/100 · 7 Oct 2026 · 0a1353a

Is it safe? No — BLOCK, grade D (69/100). It exposes 205 tools: 109 read, 73 write and 23 destructive. The audit recorded 24 findings (0 critical, 2 high, 2 medium, 20 low). Maintainer's description: MCP Server for OPNSense to act as IaC proxy

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “OPNSense MCP server (vespo92/opnsensemcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/vespo92/opnsense-1

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Filesystem / path at scripts/fixes/ssh-dmz-fix.ts:19. 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.

2 MCP servers are called OPNsense. You are viewing vespo92/opnsensemcp. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high2 medium20 low0 info

24 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

  • FilesystemDeclared8 observations
  • NetworkDeclared11 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (24)

Sorted by severity

HIGHFilesystem / pathfs.credential_store · scripts/fixes/ssh-dmz-fix.ts:19
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
console.log('OPNSENSE_SSH_KEY_PATH=~/.ssh/id_rsa');
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/resources/ssh/executor.ts:156
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKeyPath: process.env.OPNSENSE_SSH_KEY_PATH || join(homedir(), '.ssh', 'id_rsa'),
Why
touches a credential store
Fix
—
MEDIUMNetwork egressnet.raw_ip · .env.iac-example:5
F-04 Network egressCWE-200 · CWE-319Layer L1
OPNSENSE_HOST=https://192.168.1.1
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
acme_delete_action, acme_revoke_certificate, applyResource, cert_delete, delete_firewall_rule, delete_vlan, firewall_delete_rule, haproxy_acl_delete, haproxy_action_delete, haproxy_backend_delete, hap
Why
23 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .env.iac-example
F-13 Inventory / provenanceCWE-1104Layer L0
.env.iac-example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/db/network-query/processor.ts:157
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
.createHash('md5')
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/debug/debug-persistence.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { OPNSenseAPIClient } from '../../src/api/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/debug/debug-persistence.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { FirewallRuleResource, FirewallRule } from '../../src/resources/firewall/rule.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/debug/diagnose-routing.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { OPNSenseAPIClient } from '../../src/api/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/debug/discover-api.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { OPNSenseAPIClient } from '../../src/api/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/debug/discover-interfaces.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { OPNSenseAPIClient } from '../../src/api/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:27
F-04 Network egressCWE-200 · CWE-319Layer L1
"OPNSENSE_HOST": "https://192.168.1.1",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:47
F-04 Network egressCWE-200 · CWE-319Layer L1
"OPNSENSE_HOST": "https://192.168.1.1",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:88
F-04 Network egressCWE-200 · CWE-319Layer L1
| `OPNSENSE_HOST` | Full URL to OPNsense | `https://192.168.1.1` |
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:130
F-04 Network egressCWE-200 · CWE-319Layer L1
"OPNSENSE_HOST": "https://192.168.1.1",
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · dashboard/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
react, react-dom, react-router-dom, @tanstack/react-query, recharts, lucide-react, clsx, date-fns
Why
21 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @types/cors, @types/express, @types/uuid, @types/xml2js, axios, cors, dotenv
Why
30 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · docs/troubleshooting/common-issues.md:63
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Add "GUI - All pages" for full access
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · test-suite/README.md:81
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
4. Verify API user has full permissions
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.credential_read · .archive/implementation-plan/ACTION-PLAN-24H.md:125
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Generates access credentials
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · CONFIGURATION.md:221
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
6. **Use read-only API keys** when possible
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/features/safety-modes.md:11
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Both variables are read once from `process.env` and applied *after* any
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/operations/DEPLOYMENT-GUIDE.md:25
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **API Access**: Enabled with valid credentials
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:121
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://bun.sh/install | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

205 declared in source · 23 destructive

109 read73 write23 destructive

23 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
acme_delete_actionDelete an ACME automation actiondestructive
acme_revoke_certificateRevoke a certificatedestructive
applyResourceApply a single resource (create, update, or delete)destructive
cert_deleteDelete a certificatedestructive
delete_firewall_ruleDelete a firewall ruledestructive
delete_vlanDelete a VLANdestructive
firewall_delete_ruleDelete a firewall ruledestructive
haproxy_acl_deleteDelete an HAProxy ACLdestructive
haproxy_action_deleteDelete an HAProxy actiondestructive
haproxy_backend_deleteDelete an HAProxy backenddestructive
haproxy_frontend_deleteDelete an HAProxy frontenddestructive
haproxy_server_deleteDelete an HAProxy serverdestructive
iac_destroy_deploymentDestroy deployed resourcesdestructive
macro_deleteDelete a saved macrodestructive
monit_delete_alertDelete a Monit alert recipientdestructive
monit_delete_serviceDelete a Monit monitored servicedestructive
monit_delete_testDelete a Monit testdestructive
nat_cleanup_dmz_fixRemove all MCP-created NAT fix rulesdestructive
nat_delete_outbound_ruleDelete an outbound NAT rule by description (SSH mode) or UUID (API mode)destructive
nat_delete_port_forwardDelete a port forward ruledestructive
remove_dnsbl_subscriptionRemove a DNSBL subscription list. Deletes the entry if no lists remain.destructive
traffic_delete_pipeDelete a traffic shaper pipedestructive
acme_add_actionCreate a new ACME automation action (restart HAProxy, restart web UI, SFTP upload, SSH command, etc.)write
acme_renew_certificateTrigger manual renewal of a specific certificatewrite
acme_update_certificateUpdate certificate settings (renewal interval, restart actions, enable/disable, description)write
add_dnsbl_subscriptionAdd a DNSBL subscription list (e.g. OISD, Hagezi, Abuse.ch ThreatFox)write
apply_blocklist_categoryApply a predefined category of domain blockswrite
block_domainAdd a domain to the DNS blocklistwrite
cert_importImport a certificatewrite
cli_apply_changesApply all configuration changes via CLIwrite
cli_executeExecute a CLI command on OPNsense for advanced configurationwrite
create_backupCreate a configuration backupwrite
create_firewall_presetCreate a firewall rule from a presetwrite
create_firewall_ruleCreate a new firewall rulewrite
create_vlanCreate a new VLANwrite
firewall_apply_changesApply pending firewall changeswrite
firewall_create_ruleCreate a new firewall rulewrite
firewall_update_ruleUpdate an existing firewall rulewrite
haproxy_acl_createCreate an ACL for HAProxy frontend. Supports all OPNsense HAProxy ACL expression types including SNI matching for TCP/SSL passthrough.write
haproxy_acl_updateUpdate an existing HAProxy ACLwrite
haproxy_action_createCreate an action for HAProxy frontend. Supports all OPNsense HAProxy action types including tcp-request for SNI routing.write
haproxy_action_updateUpdate an existing HAProxy actionwrite
haproxy_backend_createCreate a new HAProxy backendwrite
haproxy_backend_updateUpdate an existing HAProxy backend configurationwrite
haproxy_certificate_createCreate a certificate for HAProxywrite
haproxy_frontend_createCreate a new HAProxy frontendwrite
haproxy_frontend_updateUpdate an existing HAProxy frontend configurationwrite
haproxy_server_addAdd a server to an HAProxy backendwrite
haproxy_server_updateUpdate an existing HAProxy serverwrite
haproxy_service_controlControl HAProxy service (start, stop, restart, reload)write
iac_apply_deploymentApply a deployment planwrite
ids_disable_rule_setDisable a rule setwrite
ids_enable_rule_setEnable a rule setwrite
ids_restartRestart IDS/IPS servicewrite
ids_startStart IDS/IPS servicewrite
ids_stopStop IDS/IPS servicewrite
ids_update_rulesUpdate IDS/IPS rule setswrite
interface_enable_intervlan_allEnable inter-VLAN routing on all interfaceswrite
interface_enable_intervlan_routingEnable inter-VLAN routing on a specific interfacewrite
interface_update_configUpdate interface configurationwrite
macro_importImport macros from a filewrite
macro_start_recordingStart recording API calls to create a macrowrite
macro_stop_recordingStop recording and save the macrowrite
monit_add_alertAdd a new Monit alert recipient (email address for notifications)write
monit_add_serviceAdd a new Monit monitored service (process, host, custom script, filesystem, network, etc.)write
monit_add_testAdd a new Monit test condition (CPU, memory, disk, custom, etc.)write
monit_update_alertUpdate an existing Monit alert recipientwrite
monit_update_serviceUpdate an existing Monit servicewrite
monit_update_testUpdate an existing Monit testwrite
nat_apply_changesApply NAT configuration changeswrite
nat_create_outbound_ruleCreate an outbound NAT rulewrite
nat_create_port_forwardCreate a port forward rulewrite
nat_set_modeSet NAT mode (automatic, hybrid, manual, disabled)write
openvpn_create_serverCreate a new OpenVPN server instancewrite
routing_create_intervlan_rulesCreate firewall rules for inter-VLAN routingwrite
routing_diagnosticsRun comprehensive inter-VLAN routing diagnosticswrite
ssh_batch_executeExecute multiple commands in sequence via SSHwrite
ssh_enable_intervlan_routingEnable inter-VLAN routing via SSHwrite
ssh_executeExecute arbitrary command via SSH on OPNsense (full CLI access)write
ssh_fix_dmz_routingApply comprehensive DMZ routing fix via SSHwrite
ssh_quick_dmz_fixApply quick DMZ fix (streamlined version)write
sync_network_dataSync network data from OPNsensewrite
system_enable_intervlan_routingEnable inter-VLAN routing at the system levelwrite
system_update_firewall_settingsUpdate system firewall settingswrite
toggle_blocklist_entryEnable/disable a DNS blocklist entrywrite
toggle_firewall_rule_logToggle logging on/off for a firewall rule, or set it explicitly with thewrite
traffic_apply_changesApply traffic shaper changeswrite
traffic_create_pipeCreate a traffic shaper pipewrite
traffic_create_queueCreate a traffic shaper queuewrite
traffic_create_ruleCreate a traffic shaper rulewrite
traffic_update_pipeUpdate a traffic shaper pipewrite
CertificatesAll installed certificatesread
DeploymentsCurrent infrastructure deploymentsread
RootFsRoot filesystemread
TestAccountTestread
VLANsList of all configured VLANsread
acme_get_settingsGet full ACME/Let\read
acme_sign_certificateIssue/sign a certificate (initial creation or re-issue)read
block_multiple_domainsBlock multiple domains at onceread
cert_check_expiryCheck certificate expiration statusread
cert_generate_csrGenerate a Certificate Signing Requestread
cert_getGet certificate detailsread
cert_letsencrypt_renewRenew a Let\read
cert_letsencrypt_requestRequest a Let\read
cert_listList all certificatesread
cli_check_nfsCheck NFS connectivity from DMZread
cli_fix_dmz_routingComprehensive DMZ routing fix via CLIread
cli_fix_interface_blockingFix interface blocking settings via CLI (for DMZ routing issues)read
cli_reload_firewallReload firewall rules via CLIread
cli_show_routingShow routing table via CLIread
configureConfigure OPNsense connectionread
find_arp_by_hostnameFind ARP entries by hostname patternread
find_arp_by_interfaceFind ARP entries on specific interfaceread
find_arp_by_ipFind ARP entries by IP address or subnetread
find_arp_by_macFind ARP entries by MAC addressread
find_device_by_macFind device by MAC addressread
find_device_by_nameFind devices by hostname patternread
find_devices_on_vlanFind devices on specific VLANread
find_firewall_rulesFind firewall rules by descriptionread
firewall_auditAudit firewall rules for security issuesread
firewall_get_ruleGet a specific firewall rule by UUIDread
firewall_list_rulesList all firewall rulesread
firewall_toggle_ruleToggle a firewall rule enabled/disabledread
get_arp_statsGet ARP table statisticsread
get_devices_by_interfaceGroup devices by network interfaceread
get_firewall_ruleGet firewall rule detailsread
get_guest_devicesGet all devices on guest network (VLAN 4)read
get_interfacesList available network interfacesread
get_vlanGet VLAN detailsread
group_devicesGroup devices together (e.g., all devices belonging to one person)read
haproxy_backend_getGet detailed information about a specific HAProxy backend by UUIDread
haproxy_backend_healthGet health status of a specific backendread
haproxy_backend_listList all HAProxy backendsread
haproxy_certificate_listList available certificates for HAProxyread
haproxy_frontend_getGet detailed information about a specific HAProxy frontend by UUIDread
haproxy_frontend_listList all HAProxy frontendsread
haproxy_statsGet HAProxy statisticsread
iac_list_resource_typesList available resource typesread
iac_plan_deploymentPlan infrastructure deployment changesread
ids_analyze_alertsAnalyze recent IDS alerts for patternsread
ids_block_ipBlock an IP address detected by IDSread
ids_get_alertGet detailed alert informationread
ids_get_statisticsGet IDS/IPS statisticsread
ids_get_statusGet IDS/IPS service statusread
ids_list_alertsList recent IDS alertsread
ids_list_rule_setsList available rule setsread
interface_configure_dmzConfigure DMZ interface for inter-VLAN routingread
interface_get_configGet detailed configuration for a specific interfaceread
interface_list_overviewList all network interfaces with their overviewread
list_arp_entriesList all ARP table entriesread
list_available_dnsblList all available DNSBL subscription lists (e.g. OISD, Hagezi, Abuse.ch)read
list_backupsList available backupsread
list_dhcp_leasesList all DHCP leasesread
list_dns_blocklistList all DNS blocklist entriesread
list_firewall_rulesList all firewall rulesread
list_vlansList all VLANsread
macro_analyzeAnalyze a macro to detect patterns and parametersread
macro_exportExport all macros to a fileread
macro_generate_toolGenerate an MCP tool definition from a macroread
macro_listList all saved macrosread
macro_playPlay a saved macroread
monit_get_settingsGet full Monit configuration (general settings, services, tests, alerts)read
monit_statusGet Monit live status — shows if Monit is running and the state of all monitored servicesread
monitoring_get_cpu_usageGet CPU usage statisticsread
monitoring_get_disk_usageGet disk usage statisticsread
monitoring_get_memory_usageGet memory usage statisticsread
monitoring_get_metricsGet current system metricsread
monitoring_get_network_statsGet network interface statisticsread
nat_analyze_configAnalyze NAT configuration for issuesread
nat_fix_dmzFix DMZ NAT issue - adds no-NAT rules for inter-VLAN trafficread
nat_get_modeGet current NAT mode (automatic, hybrid, manual, disabled)read
nat_list_outboundList all outbound NAT rulesread
nat_list_port_forwardsList all port forward rulesread
nat_quick_fix_dmzQuick fix for DMZ NAT issue with minimal configurationread
network_queryQuery network devices using natural languageread
openvpn_disconnect_clientDisconnect a specific VPN clientread
openvpn_get_connectionsGet active OpenVPN connectionsread
openvpn_list_clientsList all OpenVPN client configurationsread
openvpn_list_serversList all OpenVPN server instancesread
restore_backupRestore a configuration backupread
routing_fix_allAutomatically fix all detected inter-VLAN routing issuesread
routing_fix_dmzQuick fix for DMZ to LAN routing (includes NFS rules)read
search_dns_blocklistSearch DNS blocklist entriesread
ssh_backup_configBackup OPNsense configuration via SSHread
ssh_check_nfs_connectivityCheck NFS connectivity from OPNsenseread
ssh_fix_interface_blockingFix interface blocking settings via SSH (resolves DMZ routing issues)read
ssh_reload_firewallReload firewall rules via SSHread
ssh_restore_configRestore OPNsense configuration via SSHread
ssh_show_pf_rulesShow packet filter rules via SSHread
ssh_show_routingShow routing table via SSHread
ssh_system_statusGet comprehensive system status via SSHread
ssh_test_vlan_connectivityTest connectivity between VLANsread
system_get_settingsGet system-level firewall and routing settingsread
test_connectionTest API connection and authenticationread
test_toolA test toolread
toggle_firewall_ruleToggle firewall rule enabled/disabledread
traffic_get_statisticsGet traffic shaper statisticsread
traffic_list_pipesList traffic shaper pipes (bandwidth limiters)read
traffic_list_queuesList traffic shaper queuesread
traffic_list_rulesList traffic shaper rulesread
200 of 205 tools listed; the bar and the counts include all of them.

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 0a1353a0df07

Questions about OPNSense MCP server

What is the OPNSense MCP server?
MCP Server for OPNSense to act as IaC proxy
What tools does OPNSense expose?
200 in total: 109 read-only, 73 that write, and 23 that can delete or overwrite (acme_delete_action, acme_revoke_certificate, applyResource, cert_delete, delete_firewall_rule). Every one is listed on this page with its risk.
Is OPNSense safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/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: 23 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does OPNSense need?
It reads OPNSENSE_API_KEY, OPNSENSE_API_SECRET, OPNSENSE_CLIENT_CERT_PASSPHRASE, OPNSENSE_CLIENT_KEY_PATH, OPNSENSE_SSH_KEY_PATH, OPNSENSE_SSH_PASSPHRASE, OPNSENSE_SSH_PASSWORD, POSTGRES_PASSWORD, REDIS_KEY_PREFIX, REDIS_PASSWORD, SSH_PASSWORD and STATE_ENCRYPTION_KEY 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 OPNSense run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as opnsense-mcp-server at 0.11.0.
How current is this page?
The grade is for one exact copy of the source (0a1353a0df07), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which OPNsense MCP server is the right one?
pixelworlds/opnsense-mcp-server. 2 servers share the name; see the side-by-side comparison.
I already installed OPNSense. 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

  • vespo92/opnsensemcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 0a1353a0df07Observed · 7 Oct 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.