Azure-Samples/azure-container-apps-ai-mcp
This project showcases how to use the MCP protocol with Azure OpenAI. It provides a simple example to interact with OpenAI's API seamlessly via an MCP server and client.
e3235ce73371azure-container-apps-ai-mcp-host1.0.0 in mcp-host/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 and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 4 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
- CRITICAL13 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.
- Update its vulnerable packages
Use
@modelcontextprotocol/sdk1.32.0 or later,ajv6.14.0 or later,body-parser2.4.0 or later,form-data4.0.6 or later and 6 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 8 tools. 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.
None of the tools reaches any of these in the code the scanner could trace.
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
No tool was seen returning text from outside the server to the model.
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 (8: 8 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
http_add_todotool Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
http_complete_todotool Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
http_delete_todotool Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
http_list_todostool List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
sse_add_todotool Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
sse_complete_todotool Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
sse_delete_todotool Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
sse_list_todostool List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
Text the model reads (8)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
http_add_todo tool
Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
http_list_todos tool
List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
http_complete_todo tool
Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
http_delete_todo tool
Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
sse_add_todo tool
Add a new TODO item to the list. Provide a title for the task you want to add. Returns a confirmation message with the new TODO id.
sse_list_todos tool
List all TODO items. Returns a formatted list of all tasks with their ids, titles, and completion status.
sse_complete_todo tool
Mark a TODO item as completed. Provide the id of the task to mark as done. Returns a confirmation message or an error if the id does not exist.
sse_delete_todo tool
Delete a TODO item from the list. Provide the id of the task to delete. Returns a confirmation message or an error if the id does not exist.
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 — 8 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 — 8 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 — 8 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 — 8 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 — 8 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 8 capabilities; 4 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 8 capabilities; 4 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 8 capabilities; 4 more call code the scanner could not follow, where it may happen
Where the code is: 8 handlers in 2 files at commit e3235ce73371
- 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 manifests3 manifests: mcp-host/package.json, mcp-server-http/package.json, mcp-server-sse/package.json
- Lockfiles checked against OSV3 files resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL13 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.10.2
- 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 8 capabilities; 4 more call code the scanner could not follow, where it may happen
- 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
- 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 (13 in production)
form-datanpm 4.0.2 CRITICAL 2 advisories 2.5.42.5.63.0.4+3 more
- CRITICALGHSA-fjxv-7rqg-78g4 CVE-2025-7783form-data uses unsafe random function in form-data for choosing boundary
- HIGHGHSA-hmw2-7cc7-3qxx CVE-2026-12143form-data: CRLF injection in form-data via unescaped multipart field names and filenames
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
@modelcontextprotocol/sdknpm 1.17.4 HIGH 8 advisories 1.24.01.25.21.26.0+3 more
- HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- HIGHGHSA-345p-7cg4-v4c7 CVE-2026-25536@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
- HIGHGHSA-w48q-cv73-mx4w CVE-2025-66414Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
- HIGHGHSA-8r9q-7v3j-jr4g CVE-2026-0621Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
- 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
@modelcontextprotocol/sdknpm 1.10.2 HIGH 7 advisories 1.24.01.25.21.26.0+2 more
- HIGHGHSA-w48q-cv73-mx4w CVE-2025-66414Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
- HIGHGHSA-46jr-4wx8-v453 CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
- HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- HIGHGHSA-8r9q-7v3j-jr4g CVE-2026-0621Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
- HIGHGHSA-345p-7cg4-v4c7 CVE-2026-25536@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
- 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
- MEDIUMGHSA-rvq5-wwqv-78pq CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
body-parsernpm 2.2.0 HIGH 3 advisories 1.20.61.20.92.2.1+2 more
- HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
- MEDIUMGHSA-wqch-xfxh-vrr4 CVE-2025-13466body-parser is vulnerable to denial of service when url encoding is used
- 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.2.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
form-datanpm 4.0.4 HIGH 1 advisory 2.5.63.0.54.0.6
- HIGHGHSA-hmw2-7cc7-3qxx CVE-2026-12143form-data: CRLF injection in form-data via unescaped multipart field names and filenames
jwsnpm 3.2.2 HIGH 1 advisory 3.2.34.0.1
- HIGHGHSA-869p-cjfg-cm3x CVE-2025-65945auth0/node-jws Improperly Verifies HMAC Signature
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 3.24.3 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
qsnpm 6.14.0 MEDIUM 5 advisories 6.14.16.14.26.15.2+2 more
- 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
- 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-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
- MEDIUMGHSA-6rw7-vpxm-498p CVE-2025-15284qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion
- LOWGHSA-w7fw-mjwx-w883 CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of service
ajvnpm 6.12.6 MEDIUM 1 advisory 6.14.08.18.0
- MEDIUMGHSA-2g4f-4pwh-qvx6 CVE-2025-69873ajv has ReDoS when using `$data` option
uuidnpm 8.3.2 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
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 | Streamable HTTP, SSE |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.10.2 |
| Servers in the code | 2 (todo-http-server, todo-sse-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-02-20 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2025-03-11 |
| Topics | agents azure llm mcp openai |
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.