luke-harriman/Codesys-MCP
An MCP server for Codesys that enables AI systems to stand up a live UI where they can edit/push code and view variables live on device.
9a965c7e16cbcodesys-mcp-persistent0.6.3 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 42 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- CRITICAL14 production dependencies have known vulnerabilities (worst: critical).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
@hono/node-server1.19.18 or later,@modelcontextprotocol/sdk1.32.0 or later,ajv8.18.0 or later,body-parser2.4.0 or later and 9 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 41 tools, 3 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
add_device, add_library, compile_project, connect_to_device, create_dut, create_folder and 35 morecreate_projectNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files41 tools · add_device, add_library, compile_project +38
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (44: 41 tools, 3 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
pou-coderesource Filesoutside text
No description.
project-statusresource Filesoutside text
No description.
project-structureresource Filesoutside text
No description.
add_devicetool Add a device under an existing parent device. Use list_device_repository to source canonical deviceType/deviceId/version. Wrong ids produce a wrong-but-syntactiFilesoutside text
Add a device under an existing parent device. Use list_device_repository to source canonical deviceType/deviceId/version. Wrong ids produce a wrong-but-syntactically-valid node that fails at compile time.
add_librarytool Adds a library reference to the CODESYS project. The library must be installed in the CODESYS library repository.Filesoutside text
Adds a library reference to the CODESYS project. The library must be installed in the CODESYS library repository.
compile_projecttool Compiles (Builds) the primary application within a CODESYS project. Returns structured compiler messages (errors, warnings) when available.Filesoutside text
Compiles (Builds) the primary application within a CODESYS project. Returns structured compiler messages (errors, warnings) when available.
connect_to_devicetool Connects (logs in) to the PLC runtime for the active application. If ipAddress is provided, set_gateway_and_address is called on the device first; otherwise theFilesoutside text
Connects (logs in) to the PLC runtime for the active application. If ipAddress is provided, set_gateway_and_address is called on the device first; otherwise the device must already have a configured gateway/address (or be in simulation mode via set_simulation_mode).
create_duttool Creates a new Data Unit Type (DUT) - structure, enumeration, union, or alias - within the specified CODESYS project.Filesoutside text
Creates a new Data Unit Type (DUT) - structure, enumeration, union, or alias - within the specified CODESYS project.
create_foldertool Creates an organizational folder within the CODESYS project tree.Filesoutside text
Creates an organizational folder within the CODESYS project tree.
create_gvltool Creates a new Global Variable List (GVL) within the specified CODESYS project.Filesoutside text
Creates a new Global Variable List (GVL) within the specified CODESYS project.
create_methodtool Creates a new Method within a specific Function Block POU.Filesoutside text
Creates a new Method within a specific Function Block POU.
create_poutool Creates a new Program, Function Block, or Function POU within the specified CODESYS project.Filesoutside text
Creates a new Program, Function Block, or Function POU within the specified CODESYS project.
create_projecttool Create a new CODESYS project from a template. By default copies the bundled Standard.project. Pass templatePath to copy a different .project file (Option A), orFilesEnv varsoutside text
Create a new CODESYS project from a template. By default copies the bundled Standard.project. Pass templatePath to copy a different .project file (Option A), or templateName to instantiate a template registered with CODESYS's Template Manager — e.g. an ifm AE3100 template from an installed device package (Option B). Use list_project_templates to discover valid templateName / templatePath values.
create_project_archivetool Saves the currently-open project as a .projectarchive. Read-only with respect to the project itself - the project must already be open (this tool will not switcFilesoutside text
Saves the currently-open project as a .projectarchive. Read-only with respect to the project itself - the project must already be open (this tool will not switch projects). Output path may be absolute or relative to the workspace.
create_propertytool Creates a new Property within a specific Function Block POU.Filesoutside text
Creates a new Property within a specific Function Block POU.
delete_objecttool Deletes a project object (POU, DUT, GVL, folder, etc.) from the CODESYS project. WARNING: This is destructive and cannot be undone. System nodes (Application, DFilesoutside text
Deletes a project object (POU, DUT, GVL, folder, etc.) from the CODESYS project. WARNING: This is destructive and cannot be undone. System nodes (Application, Device, Plc Logic, Library Manager, Project Settings, Task Configuration, etc.) are refused.
disconnect_from_devicetool Disconnects (logs out) from the PLC runtime. No-op (success) if not connected.Filesoutside text
Disconnects (logs out) from the PLC runtime. No-op (success) if not connected.
download_to_devicetool Downloads the compiled application to the PLC device. mode controls strategy: 'auto' (default) tries online change then falls back to full; 'online_change' failFilesoutside text
Downloads the compiled application to the PLC device. mode controls strategy: 'auto' (default) tries online change then falls back to full; 'online_change' fails if online change is rejected; 'full' always does a full download.
eval_pythontool [DEV] Execute arbitrary IronPython 2.7 inside the live CODESYS scriptengine. The supplied code is forwarded to the watcher verbatim — anything `print`ed lands i
[DEV] Execute arbitrary IronPython 2.7 inside the live CODESYS scriptengine. The supplied code is forwarded to the watcher verbatim — anything `print`ed lands in the response, and the call returns success if SCRIPT_SUCCESS is printed before exit. Intended for ScriptEngine API audits, NOT routine use; do NOT invoke the IDE's 'Login' command (it hangs the IDE primary thread). Common imports already available: scriptengine, sys, os.
find_referencestool Find every word-boundary reference to a symbol (\bsymbol\b) across textual POU/Method/Property/DUT/GVL bodies. Wraps search_code. Comments and string literals aFilesoutside text
Find every word-boundary reference to a symbol (\bsymbol\b) across textual POU/Method/Property/DUT/GVL bodies. Wraps search_code. Comments and string literals are not excluded.
get_all_pou_codetool Reads the declaration and implementation code of every POU/DUT/GVL in the project. Returns all code in a single response for bulk review.Filesoutside text
Reads the declaration and implementation code of every POU/DUT/GVL in the project. Returns all code in a single response for bulk review.
get_application_statetool Report the running PLC application state (run / stop / exception) plus login status. Connect first.Filesoutside text
Report the running PLC application state (run / stop / exception) plus login status. Connect first.
get_codesys_statustool Get the current status of the CODESYS instance (state, PID, mode).
Get the current status of the CODESYS instance (state, PID, mode).
get_compile_messagestool Retrieves the last compiler messages (errors, warnings) without triggering a new build. Note: returns the cached results from the last compile_project run; if yFilesoutside text
Retrieves the last compiler messages (errors, warnings) without triggering a new build. Note: returns the cached results from the last compile_project run; if you've edited code since, run compile_project to refresh.
inspect_device_nodetool Read-only introspection of a device node: descriptor metadata, parameter list with current values, child sub-devices. Pair with set_device_parameter to discoverFilesoutside text
Read-only introspection of a device node: descriptor metadata, parameter list with current values, child sub-devices. Pair with set_device_parameter to discover writable IDs.
launch_codesystool Manually launch CODESYS with UI. Use when --no-auto-launch was set.Filesoutside text
Manually launch CODESYS with UI. Use when --no-auto-launch was set.
list_device_repositorytool Enumerate device descriptors from the local CODESYS Device Repository. Returns {name, vendor, device_type, device_id, version, description, category} per entry.Filesoutside text
Enumerate device descriptors from the local CODESYS Device Repository. Returns {name, vendor, device_type, device_id, version, description, category} per entry. Use to discover canonical ids for add_device.list_project_librariestool Lists all libraries currently referenced in the CODESYS project.Filesoutside text
Lists all libraries currently referenced in the CODESYS project.
list_project_templatestool List project templates known to this CODESYS install. Combines (1) templates registered via CODESYS's Template Manager — what File > New Project > Standard ProjFilesoutside text
List project templates known to this CODESYS install. Combines (1) templates registered via CODESYS's Template Manager — what File > New Project > Standard Project from Template shows — and (2) a filesystem scan of well-known template locations under %ProgramData%/CODESYS. Returns {name, path, source} per template; pass `name` to create_project(templateName=...) or `path` to create_project(templatePath=...).map_io_channeltool Bind (or clear) a fieldbus I/O channel to a global variable symbol. Use inspect_device_node first to discover the channel layout.Filesoutside text
Bind (or clear) a fieldbus I/O channel to a global variable symbol. Use inspect_device_node first to discover the channel layout.
monitor_variablestool Sample one or more PLC variables at a fixed interval over a bounded duration; returns the timeseries. Blocks the CODESYS UI thread (capped at 60s).Filesoutside text
Sample one or more PLC variables at a fixed interval over a bounded duration; returns the timeseries. Blocks the CODESYS UI thread (capped at 60s).
open_projecttool Opens an existing CODESYS project file.Filesoutside text
Opens an existing CODESYS project file.
read_variabletool Read a live variable from the running PLC. Path format: 'GVL_Name.varname' or 'PRG_Name.varname' (no 'Application.' prefix). Struct members: 'GVL.stFrame.aRoi[0Filesoutside text
Read a live variable from the running PLC. Path format: 'GVL_Name.varname' or 'PRG_Name.varname' (no 'Application.' prefix). Struct members: 'GVL.stFrame.aRoi[0].iValueMm'. Connect first.
rename_objecttool Renames a project object (POU, DUT, GVL, folder, etc.) in the CODESYS project.Filesoutside text
Renames a project object (POU, DUT, GVL, folder, etc.) in the CODESYS project.
rename_symboltool Best-effort word-boundary textual rename across textual POU/Method/Property/DUT/GVL bodies. Defaults to dryRun=true. Does not rename the project object node (usFilesoutside text
Best-effort word-boundary textual rename across textual POU/Method/Property/DUT/GVL bodies. Defaults to dryRun=true. Does not rename the project object node (use rename_object) or graphical bodies.
save_projecttool Saves the currently open CODESYS project.Filesoutside text
Saves the currently open CODESYS project.
search_codetool Regex (or literal substring) search across every POU/Method/Property/DUT/GVL textual body. Returns file:line:col hits. Graphical bodies with no textual_implemenFilesoutside text
Regex (or literal substring) search across every POU/Method/Property/DUT/GVL textual body. Returns file:line:col hits. Graphical bodies with no textual_implementation are skipped.
set_credentialstool Set default username/password used for subsequent PLC logins. Use this once per session before connect_to_device when the runtime requires authentication. Both Filesoutside text
Set default username/password used for subsequent PLC logins. Use this once per session before connect_to_device when the runtime requires authentication. Both fields must be non-empty: CODESYS rejects empty username strings. If your runtime has no auth, do not call this tool.
set_device_parametertool EXPERIMENTAL. Set a parameter value on a device. Use inspect_device_node first to find writable IDs. Many fieldbus parameters are GUI-only; this tool returns a Filesoutside text
EXPERIMENTAL. Set a parameter value on a device. Use inspect_device_node first to find writable IDs. Many fieldbus parameters are GUI-only; this tool returns a clear error in that case.
set_pou_codetool Sets the declaration and/or implementation code for a specific POU, Method, or Property. Omit (or pass empty string for) a section to leave it unchanged.Filesoutside text
Sets the declaration and/or implementation code for a specific POU, Method, or Property. Omit (or pass empty string for) a section to leave it unchanged.
set_simulation_modetool Toggle PLC simulation mode on/off for the project Device. Run before connect_to_device when no physical PLC is available; CODESYS will then simulate execution wFilesoutside text
Toggle PLC simulation mode on/off for the project Device. Run before connect_to_device when no physical PLC is available; CODESYS will then simulate execution without a runtime gateway.
shutdown_codesystool Shut down the persistent CODESYS instance.
Shut down the persistent CODESYS instance.
start_stop_applicationtool Starts or stops the PLC application on the connected device.Filesoutside text
Starts or stops the PLC application on the connected device.
write_variabletool Write a value to a PLC variable via V3's set_prepared_value + force_prepared_values. The variable is FORCED at the new value until unforced (or runtime restart)Filesoutside text
Write a value to a PLC variable via V3's set_prepared_value + force_prepared_values. The variable is FORCED at the new value until unforced (or runtime restart). Use for control flags and test injection, not program outputs. Connect first.
Text the model reads (44)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
launch_codesys tool
Manually launch CODESYS with UI. Use when --no-auto-launch was set.
shutdown_codesys tool
Shut down the persistent CODESYS instance.
eval_python tool
[DEV] Execute arbitrary IronPython 2.7 inside the live CODESYS scriptengine. The supplied code is forwarded to the watcher verbatim — anything `print`ed lands in the response, and the call returns success if SCRIPT_SUCCESS is printed before exit. Intended for ScriptEngine API audits, NOT routine use; do NOT invoke the IDE's 'Login' command (it hangs the IDE primary thread). Common imports already available: scriptengine, sys, os.
get_codesys_status tool
Get the current status of the CODESYS instance (state, PID, mode).
open_project tool
Opens an existing CODESYS project file.
create_project tool
Create a new CODESYS project from a template. By default copies the bundled Standard.project. Pass templatePath to copy a different .project file (Option A), or templateName to instantiate a template registered with CODESYS's Template Manager — e.g. an ifm AE3100 template from an installed device package (Option B). Use list_project_templates to discover valid templateName / templatePath values.
list_project_templates tool
List project templates known to this CODESYS install. Combines (1) templates registered via CODESYS's Template Manager — what File > New Project > Standard Project from Template shows — and (2) a filesystem scan of well-known template locations under %ProgramData%/CODESYS. Returns {name, path, source} per template; pass `name` to create_project(templateName=...) or `path` to create_project(templatePath=...).save_project tool
Saves the currently open CODESYS project.
create_pou tool
Creates a new Program, Function Block, or Function POU within the specified CODESYS project.
set_pou_code tool
Sets the declaration and/or implementation code for a specific POU, Method, or Property. Omit (or pass empty string for) a section to leave it unchanged.
create_property tool
Creates a new Property within a specific Function Block POU.
create_method tool
Creates a new Method within a specific Function Block POU.
compile_project tool
Compiles (Builds) the primary application within a CODESYS project. Returns structured compiler messages (errors, warnings) when available.
get_compile_messages tool
Retrieves the last compiler messages (errors, warnings) without triggering a new build. Note: returns the cached results from the last compile_project run; if you've edited code since, run compile_project to refresh.
create_dut tool
Creates a new Data Unit Type (DUT) - structure, enumeration, union, or alias - within the specified CODESYS project.
create_gvl tool
Creates a new Global Variable List (GVL) within the specified CODESYS project.
create_folder tool
Creates an organizational folder within the CODESYS project tree.
delete_object tool
Deletes a project object (POU, DUT, GVL, folder, etc.) from the CODESYS project. WARNING: This is destructive and cannot be undone. System nodes (Application, Device, Plc Logic, Library Manager, Project Settings, Task Configuration, etc.) are refused.
rename_object tool
Renames a project object (POU, DUT, GVL, folder, etc.) in the CODESYS project.
get_all_pou_code tool
Reads the declaration and implementation code of every POU/DUT/GVL in the project. Returns all code in a single response for bulk review.
search_code tool
Regex (or literal substring) search across every POU/Method/Property/DUT/GVL textual body. Returns file:line:col hits. Graphical bodies with no textual_implementation are skipped.
connect_to_device tool
Connects (logs in) to the PLC runtime for the active application. If ipAddress is provided, set_gateway_and_address is called on the device first; otherwise the device must already have a configured gateway/address (or be in simulation mode via set_simulation_mode).
set_credentials tool
Set default username/password used for subsequent PLC logins. Use this once per session before connect_to_device when the runtime requires authentication. Both fields must be non-empty: CODESYS rejects empty username strings. If your runtime has no auth, do not call this tool.
set_simulation_mode tool
Toggle PLC simulation mode on/off for the project Device. Run before connect_to_device when no physical PLC is available; CODESYS will then simulate execution without a runtime gateway.
disconnect_from_device tool
Disconnects (logs out) from the PLC runtime. No-op (success) if not connected.
get_application_state tool
Report the running PLC application state (run / stop / exception) plus login status. Connect first.
read_variable tool
Read a live variable from the running PLC. Path format: 'GVL_Name.varname' or 'PRG_Name.varname' (no 'Application.' prefix). Struct members: 'GVL.stFrame.aRoi[0].iValueMm'. Connect first.
write_variable tool
Write a value to a PLC variable via V3's set_prepared_value + force_prepared_values. The variable is FORCED at the new value until unforced (or runtime restart). Use for control flags and test injection, not program outputs. Connect first.
download_to_device tool
Downloads the compiled application to the PLC device. mode controls strategy: 'auto' (default) tries online change then falls back to full; 'online_change' fails if online change is rejected; 'full' always does a full download.
start_stop_application tool
Starts or stops the PLC application on the connected device.
list_project_libraries tool
Lists all libraries currently referenced in the CODESYS project.
list_device_repository tool
Enumerate device descriptors from the local CODESYS Device Repository. Returns {name, vendor, device_type, device_id, version, description, category} per entry. Use to discover canonical ids for add_device.map_io_channel tool
Bind (or clear) a fieldbus I/O channel to a global variable symbol. Use inspect_device_node first to discover the channel layout.
inspect_device_node tool
Read-only introspection of a device node: descriptor metadata, parameter list with current values, child sub-devices. Pair with set_device_parameter to discover writable IDs.
add_device tool
Add a device under an existing parent device. Use list_device_repository to source canonical deviceType/deviceId/version. Wrong ids produce a wrong-but-syntactically-valid node that fails at compile time.
set_device_parameter tool
EXPERIMENTAL. Set a parameter value on a device. Use inspect_device_node first to find writable IDs. Many fieldbus parameters are GUI-only; this tool returns a clear error in that case.
find_references tool
Find every word-boundary reference to a symbol (\\bsymbol\\b) across textual POU/Method/Property/DUT/GVL bodies. Wraps search_code. Comments and string literals are not excluded.
rename_symbol tool
Best-effort word-boundary textual rename across textual POU/Method/Property/DUT/GVL bodies. Defaults to dryRun=true. Does not rename the project object node (use rename_object) or graphical bodies.
monitor_variables tool
Sample one or more PLC variables at a fixed interval over a bounded duration; returns the timeseries. Blocks the CODESYS UI thread (capped at 60s).
create_project_archive tool
Saves the currently-open project as a .projectarchive. Read-only with respect to the project itself - the project must already be open (this tool will not switch projects). Output path may be absolute or relative to the workspace.
add_library tool
Adds a library reference to the CODESYS project. The library must be installed in the CODESYS library repository.
project-status resource
project-structure resource
pou-code resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 44 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 44 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 44 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 44 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 44 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 44 capabilities; 44 more call code the scanner could not follow, where it may happen
- Tools that touch files41 of 44 capabilities touch files; 3 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 44 capabilities; 44 more call code the scanner could not follow, where it may happen
Where the code is: 44 handlers in 1 file at commit 9a965c7e16cb
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL14 production packages with known advisories
- Known vulnerabilities in other dependencies9 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.26.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 44 capabilities; 44 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (3 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (14 in production)
proxy-addrnpm 2.0.7 CRITICAL 1 advisory 2.0.8
- CRITICALGHSA-jqcg-44mw-7w3h CVE-2026-90711proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
hononpm 4.11.8 HIGH 40 advisories 4.11.104.12.44.12.7+11 more
- HIGHGHSA-88fw-hqm2-52qc CVE-2026-54290hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard
- HIGHGHSA-q5qw-h33p-qvwr CVE-2026-29045Hono vulnerable to arbitrary file access via serveStatic vulnerability
- MEDIUMGHSA-69xw-7hcm-h432 CVE-2026-44455hono/jsx has Unvalidated JSX Tag Names that May Allow HTML Injection
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- MEDIUMGHSA-v8w9-8mx6-g223 CVE-2026-56763Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true })
- MEDIUMGHSA-j6c9-x7qj-28xf CVE-2026-54287hono: AWS Lambda adapter merges multiple `Set-Cookie` headers into one value, dropping cookies on ALB single-header and Lattice
- MEDIUMGHSA-5pq2-9x2x-5p6w CVE-2026-29086Hono Vulnerable to Cookie Attribute Injection via Unsanitized domain and path in setCookie()
- MEDIUMGHSA-hvrm-45r6-mjfj CVE-2026-59896hono/jsx does not isolate context per request, leading to cross-request data disclosure
- MEDIUMGHSA-26pp-8wgv-hjvm CVE-2026-56762Hono missing validation of cookie name on write path in setCookie()
- MEDIUMGHSA-xf4j-xp2r-rqqx CVE-2026-39408Hono: Path traversal in toSSG() allows writing files outside the output directory
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-f577-qrjj-4474 CVE-2026-47673Hono: JWT middleware accepts any Authorization scheme, not only Bearer
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-r5rp-j6wh-rvv4 CVE-2026-39410Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()
- MEDIUMGHSA-gqvv-2mrq-wpjv CVE-2026-84365Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
- MEDIUMGHSA-xrhx-7g5j-rcj5 CVE-2026-47674Hono: IP Restriction bypasses static deny rules for non-canonical IPv6
- MEDIUMGHSA-8j4g-w8fx-2239 CVE-2026-69207Hono: ReDoS in CORS middleware via Access-Control-Request-Headers
- MEDIUMGHSA-wwfh-h76j-fc44 CVE-2026-54286hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
- MEDIUMGHSA-2gcr-mfcq-wcc3 CVE-2026-47676Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
- MEDIUMGHSA-wgpf-jwqj-8h8p CVE-2026-54289hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-xgm2-5f3f-mvvc CVE-2026-59897Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication
- MEDIUMGHSA-w62v-xxxg-mg59 CVE-2026-59895Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility
- MEDIUMGHSA-p77w-8qqv-26rm CVE-2026-44457Hono's Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage
- MEDIUMGHSA-wmmm-f939-6g9c CVE-2026-39407Hono: Middleware bypass via repeated slashes in serveStatic
- MEDIUMGHSA-p6xx-57qc-3wxr CVE-2026-29085Hono Vulnerable to SSE Control Field Injection via CR/LF in writeSSE()
- MEDIUMGHSA-qp7p-654g-cw7p CVE-2026-44458Hono has CSS Declaration Injection via Style Object Values in JSX SSR
- MEDIUMGHSA-458j-xx4x-4375 CVE-2026-56761hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR
- MEDIUMGHSA-xpcf-pg52-r92g CVE-2026-39409Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
- MEDIUMGHSA-3hrh-pfw6-9m5x CVE-2026-47675Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection
- MEDIUMGHSA-g6gw-c38x-mqfc CVE-2026-84364Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion
- MEDIUMGHSA-rv63-4mwf-qqc2 CVE-2026-54288hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`
- MEDIUMGHSA-f23p-vx2j-j53r CVE-2026-71850Hono: `memo()` retains SSR output across requests, leading to cross-user data disclosure
- MEDIUMGHSA-crvj-82cr-hjcx CVE-2026-84363Hono: Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials
- MEDIUMGHSA-hxh3-vqpv-xpqv CVE-2026-93981hono/jsx renders plain strings unescaped in boundary components, leading to XSS
- MEDIUMGHSA-9vqf-7f2p-gf9v CVE-2026-44456Hono: bodyLimit() can be bypassed for chunked / unknown-length requests
- LOWGHSA-gq3j-xvxp-8hrf CVE-2026-56764Hono added timing comparison hardening in basicAuth and bearerAuth
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
- LOWGHSA-hm8q-7f3q-5f36 CVE-2026-44459Hono has improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
- LOWGHSA-79qm-7rj5-m7r9 CVE-2026-71849Hono: Proxy Helper does not remove response headers listed in the `Connection` header
fast-urinpm 3.1.0 HIGH 12 advisories 2.4.12.4.22.4.3+21 more
- HIGHGHSA-7p8r-x3mc-p8w7 CVE-2026-18446fast-uri vulnerable to host confusion via backslash authority introducer
- HIGHGHSA-qw65-cvwx-89v3 CVE-2026-84292fast-uri vulnerable to authority injection via an unvalidated port in serialize
- HIGHGHSA-v2hh-gcrm-f6hx CVE-2026-16221fast-uri vulnerable to host confusion via literal backslash authority delimiter
- HIGHGHSA-q3j6-qgpj-74h6 CVE-2026-6321fast-uri vulnerable to path traversal via percent-encoded dot segments
- HIGHGHSA-jqff-g426-hqxp CVE-2026-76172fast-uri vulnerable to host confusion via percent-encoded scheme normalization
- HIGHGHSA-4c8g-83qw-93j6 CVE-2026-13676fast-uri vulnerable to host confusion via failed IDN canonicalization
- HIGHGHSA-v39h-62p7-jpjc CVE-2026-6322fast-uri vulnerable to host confusion via percent-encoded authority delimiters
- HIGHGHSA-f65p-4m7j-42xc CVE-2026-75975fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization
- MEDIUMGHSA-hrr3-gc8f-f4qj CVE-2026-86472fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
- MEDIUMGHSA-w74x-v6f9-j3xg CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
- LOWGHSA-xhq7-xmqj-769h CVE-2026-110095fast-uri vulnerable to improper path equivalence in relative reference normalization
- LOWGHSA-333x-w4r6-6crp CVE-2026-110725fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references
@modelcontextprotocol/sdknpm 1.26.0 HIGH 6 advisories 1.30.11.31.01.32.0
- HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- HIGHGHSA-22jm-h49p-29qw CVE-2026-111767MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
- HIGHGHSA-46jr-4wx8-v453 CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
- HIGHGHSA-6qxp-vccf-f47h CVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- MEDIUMGHSA-rvq5-wwqv-78pq CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
- MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
ip-addressnpm 10.0.1 HIGH 6 advisories 10.1.110.3.110.5.1+2 more
- HIGHGHSA-mwp4-54f8-5fhr CVE-2026-69192ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass
- MEDIUMGHSA-h3mg-xc3c-68pw CVE-2026-101911ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process
- MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
- MEDIUMGHSA-j6r3-76f7-8jcv CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range
- MEDIUMGHSA-v2v4-37r5-5v8g CVE-2026-42338ip-address has XSS in Address6 HTML-emitting methods
- MEDIUMGHSA-rpw4-54j3-4h4q CVE-2026-101913ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts
@hono/node-servernpm 1.19.9 HIGH 4 advisories 1.19.101.19.131.19.15+3 more
- HIGHGHSA-wc8c-qw6v-h7f6 CVE-2026-29087@hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- MEDIUMGHSA-frvp-7c67-39w9Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
- MEDIUMGHSA-92pp-h63x-v22m CVE-2026-39406@hono/node-server: Middleware bypass via repeated slashes in serveStatic
body-parsernpm 2.2.2 HIGH 2 advisories 1.20.61.20.92.3.0+1 more
- HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
- LOWGHSA-v422-hmwv-36x6 CVE-2026-12590body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
path-to-regexpnpm 8.3.0 HIGH 2 advisories 8.4.0
- HIGHGHSA-j3q9-mxjg-w52f CVE-2026-4926path-to-regexp vulnerable to Denial of Service via sequential optional groups
- MEDIUMGHSA-27v5-c462-wpq7 CVE-2026-4923path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards
express-rate-limitnpm 8.2.1 HIGH 1 advisory 8.0.28.1.18.2.2
- HIGHGHSA-46wh-pxpv-q5gq CVE-2026-30827express-rate-limit: IPv4-mapped IPv6 addresses bypass per-client rate limiting on servers with dual-stack network
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
zodnpm 4.3.6 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
qsnpm 6.14.1 MEDIUM 4 advisories 6.14.26.15.26.16.0+1 more
- MEDIUMGHSA-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
- MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
- MEDIUMGHSA-q8mj-m7cp-5q26 CVE-2026-8723qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set
- LOWGHSA-w7fw-mjwx-w883 CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of service
ajvnpm 8.17.1 MEDIUM 1 advisory 6.14.08.18.0
- MEDIUMGHSA-2g4f-4pwh-qvx6 CVE-2025-69873ajv has ReDoS when using `$data` option
uuidnpm 9.0.1 MEDIUM 1 advisory 11.1.112.0.113.0.1
- MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
9 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
tinypoolnpm 0.8.4 CRITICAL 2 advisories 2.1.12.1.2
- CRITICALGHSA-85c8-ppgw-ccpr CVE-2026-104849Tinypool: Prototype Pollution Gadget to RCE in run() options
- CRITICALGHSA-5gmw-xhrv-c9v3 CVE-2026-104848Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution
vitestnpm 1.6.1 CRITICAL 1 advisory 3.2.64.1.0
- CRITICALGHSA-5xrq-8626-4rwp CVE-2026-47429When Vitest UI server is listening, arbitrary file can be read and executed
vitenpm 5.4.21 HIGH 8 advisories 6.4.26.4.36.4.4+8 more
- HIGHGHSA-587h-7wmj-h5pm CVE-2026-112942launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
- MEDIUMGHSA-4w7w-66w2-5vf9 CVE-2026-39365Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
- MEDIUMGHSA-rq7h-c2jc-7f22 CVE-2026-112946Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- MEDIUMGHSA-698v-4r3x-3vcv CVE-2026-112943launch-editor: escapeCmdArgs() omits % escaping on Windows
- MEDIUMGHSA-fx2h-pf6j-xcff CVE-2026-53571vite: `server.fs.deny` bypass on Windows alternate paths
- MEDIUMGHSA-v6wh-96g9-6wx3 CVE-2026-53632launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
- MEDIUMGHSA-r825-w8mm-5pxw CVE-2026-112944launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
- LOWGHSA-9jrq-w75r-8gcw CVE-2026-112945Vite: Cross origin script execution through Vite custom middleware
postcssnpm 8.5.6 HIGH 4 advisories 8.5.108.5.128.5.18+1 more
- HIGHGHSA-r28c-9q8g-f849 CVE-2026-73646PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure
- HIGHGHSA-6g55-p6wh-862q CVE-2026-45623PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
- MEDIUMGHSA-qx2v-qp2m-jg93 CVE-2026-41305PostCSS has XSS via Unescaped </style> in its CSS Stringify Output
- MEDIUMGHSA-fxqj-rqcc-2cmp CVE-2026-69153PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
nanoidnpm 3.3.11 HIGH 3 advisories 3.3.123.3.163.3.18+3 more
- HIGHGHSA-28wg-ghj8-5hjv CVE-2026-67214nanoid: non-secure generators can loop indefinitely with negative size
- HIGHGHSA-xwg4-73v4-xw9w CVE-2026-73086nanoid: Integer Overflow or Wraparound
- HIGHGHSA-2v37-7h3g-55p8 CVE-2026-67213nanoid: custom generators can loop indefinitely when size is zero
rollupnpm 4.57.1 HIGH 1 advisory 2.80.03.30.04.59.0
- HIGHGHSA-mw96-cpmx-2vgc CVE-2026-27606Rollup 4 has Arbitrary File Write via Path Traversal
source-map-jsnpm 1.2.1 HIGH 1 advisory 1.2.2
- HIGHGHSA-68fv-2mgg-jv7q CVE-2026-93749source-map-js allows event-loop denial of service through indexed source-map section offsets
esbuildnpm 0.21.5 MEDIUM 1 advisory 0.25.0
- MEDIUMGHSA-67mh-4wv8-2f99esbuild enables any website to send any requests to the development server and read the response
esbuildnpm 0.27.3 LOW 1 advisory 0.28.1
- LOWGHSA-g7r4-m6w7-qqqresbuild allows arbitrary file read when running the development server on Windows
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.26.0 |
| Servers in the code | 1 (CODESYS Persistent MCP Server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-05-31 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-02-08 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.