MCP ScannerCustom audit
All servers

Azure-Samples/azure-ai-vision-face-api-mcp-server

The Azure AI Vision Face Detection and Recognition MCP Server, bringing the power of Face API to your agents.

Packageazure-ai-vision-face-api-mcp-server
Version1.0.0 in pyproject.toml
PublisherMicrosoft Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 9Forks 5Last push 2026-02-20
Python 95.8%TypeScript 4.2%by source files the scanner reads
Code safety10.0Exposure3.4Promptsnot analysedSupply chain2.6Secretsnot analysedTransparencynot analysed
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

Paths from tool input into commands, SQL, files and URLs

Capability Exposure3.4/10Poor

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chain2.6/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnot analysed—

How the server reads credentials and where they can go

Behavior Transparencynot analysed—

Whether the tools do only what their descriptions say

How far the analysis went

Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.

  • Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
  • Behavior Transparency: no tool description could be read to compare with the code

Top risks in plain words

  • CRITICAL10 production dependencies have known vulnerabilities (worst: critical).
  • HIGHTools with a name computed at run time, with a name computed at run time, with a name computed at run time, with a name computed at run time and 1 more read or write any file path by design: an agent steered by prompt injection can use them that way.
  • HIGHTool with a name computed at run time requests any address by design: an agent steered by prompt injection can use it that way.

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 only the folder it needs

    src/tools/AzureFaceAttrib.py:16, src/tools/CompareImages.py:12, src/tools/EnrollFaceToLPG.py:19, src/tools/IdentifyFaceInLPG.py:12 and 1 more can read or write any file path. Mount a single project folder, read-only where you can.

  • Limit where it can connect

    src/tools/OpensetFaceAttrib.py:17 can request any address. Block access to internal hosts and cloud metadata endpoints.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need src/tools/AzureFaceAttrib.py:16, src/tools/CompareImages.py:12, src/tools/EnrollFaceToLPG.py:19 and 2 more, switch them off.

  • 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 @modelcontextprotocol/sdk 1.32.0 or later, ajv 6.14.0 or later, body-parser 2.4.0 or later, path-to-regexp 8.4.0 or later and 3 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 14 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.

Read or write filesopen, create, change or delete files
compare_source_image_to_target_image, download_blob_folder_from_container, enroll_face_to_group, get_face_dect, get_face_openset_attrib, identify_face_from_group
6 of 14
Connect to the internet or other hostssend requests or open connections
get_face_openset_attrib
1 of 14
Read passwords, tokens or keysload secrets such as API keys
compare_source_image_to_target_image, create_large_person_group, delete_face_from_group, delete_large_person_group, delete_person_from_group, download_blob_folder_from_container and 8 more
14 of 14
Read environment variablesoften where API keys are kept
compare_source_image_to_target_image, create_large_person_group, delete_face_from_group, delete_large_person_group, delete_person_from_group, download_blob_folder_from_container and 8 more
14 of 14
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
compare_source_image_to_target_image, create_large_person_group, delete_face_from_group, delete_large_person_group, delete_person_from_group, download_blob_folder_from_container and 8 more
14 of 14

No tool was seen to: start other programs on the machine.

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.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • AZURE_FACE_API_KEY · get_face_openset_attrib
  • AZURE_OPENAI_API_KEY · get_face_openset_attrib
Addresses the caller chooses

Requests whose address comes from the tool's input: the agent decides where they go.

  • get_face_openset_attrib1 call

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.

  • files6 tools · compare_source_image_to_target_image, download_blob_folder_from_container, enroll_face_to_group +3
  • web or API responses1 tool · get_face_openset_attrib
Reads private data14 tools
Takes text from outside1 tool
Can send data out1 tool

All three are present: text from outside could make the agent send private data away. Keep confirmations on for tools that send data.

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 (14: 14 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

compare_source_image_to_target_imagetool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
create_large_person_grouptool CredentialsEnv varsSensitive paths
No description.
delete_face_from_grouptool CredentialsEnv varsSensitive paths
No description.
delete_large_person_grouptool CredentialsEnv varsSensitive paths
No description.
delete_person_from_grouptool CredentialsEnv varsSensitive paths
No description.
download_blob_folder_from_containertool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
enroll_face_to_grouptool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
get_face_decttool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
get_face_openset_attribtool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
identify_face_from_grouptool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
list_blob_folders_and_choosetool CredentialsEnv varsSensitive paths
No description.
list_large_person_groupstool CredentialsEnv varsSensitive paths
No description.
list_persons_in_grouptool CredentialsEnv varsSensitive paths
No description.
list_public_image_urlstool CredentialsEnv varsSensitive paths
No description.

Text the model reads (14)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

compare_source_image_to_target_image tool
create_large_person_group tool
enroll_face_to_group tool
identify_face_from_group tool
list_persons_in_group tool
delete_person_from_group tool
delete_face_from_group tool
delete_large_person_group tool
list_large_person_groups tool
get_face_openset_attrib tool
get_face_dect tool
list_blob_folders_and_choose tool
list_public_image_urls tool
download_blob_folder_from_container tool

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safety10.0
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure3.4
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 14 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 14 tool handlers traced
  • Reads or writes any file path HIGH
    2 findings in src/tools/EnrollFaceToLPG.py:19; 5 more to review
  • Requests any address
    1 finding the scanner could not decide; see the findings below
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 14 tool handlers traced
  • Tools that start processes
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    6 of 14 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    1 of 14 capabilities call the network; 13 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 11 files at commit 65e6db7c28af
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chain2.6
  • Dependency manifests
    2 manifests: bridge/package.json, pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    10 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.17.5, fastmcp >=2.10.5
Secrets & Credentialsnot analysed
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    14 of 14 capabilities read credentials
  • Environment variables
    14 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparencynot analysed
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Not checked: no tool description could be read to compare with the code
  • Tool descriptions present
    Every tool has a description the model and the user can read (14 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (10 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
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.5 HIGH 8 advisories 1.24.01.25.21.26.0+3 more
  • 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-345p-7cg4-v4c7 CVE-2026-25536@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
  • HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
  • HIGHGHSA-w48q-cv73-mx4w CVE-2025-66414Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
  • 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
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
body-parsernpm 1.20.3 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
path-to-regexpnpm 0.1.12 HIGH 1 advisory 0.1.13
  • HIGHGHSA-37ch-88jc-xwx2 CVE-2024-45296 CVE-2026-4867 GHSA-9wv6-86v2-598jpath-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters
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
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-6rw7-vpxm-498p CVE-2025-15284qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion
  • MEDIUMGHSA-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
  • LOWGHSA-w7fw-mjwx-w883 CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of service
qsnpm 6.13.0 MEDIUM 5 advisories 6.14.16.14.26.15.2+2 more
  • 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-6rw7-vpxm-498p CVE-2025-15284qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion
  • 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-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
  • 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

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 runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.17.5, fastmcp >=2.10.5
Servers in the code1 (azure_ai_face_api)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-02-20
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseMIT
Created2025-07-03

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.