microsoft/ai-tour-26-zava-diy-dataset-plus-mcp
726243b50fe0Paths 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 19 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
- HIGHTool
execute_sales_queryruns SQL 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.
- Connect it with a read-only database user
execute_sales_querycan run any query it is given. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
execute_sales_query, switch them off. - 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 7 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.
execute_sales_query, get_multiple_table_schemasNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; 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.
Requests whose address comes from the tool's input: the agent decides where they go.
execute_sales_query1 call
5 request addresses could not be settled from the code (built at run time).
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.
- web or API responses2 tools · execute_sales_query, get_multiple_table_schemas
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 (7: 7 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
execute_sales_querytool Always fetch table schemas first, use exact column names, join related tables for clarity, aggregate results, limit output to 20 rows, and explain that results Networkoutside textRuns SQL
Always fetch table schemas first, use exact column names, join related tables for clarity, aggregate results, limit output to 20 rows, and explain that results are limited for readability.
Args:
postgresql_query: A well-formed PostgreSQL query.
Returns:
Query results as a string.get_current_utc_datetool Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive a
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)get_current_utc_datetool Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive a
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)get_current_utc_datetool Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive a
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)get_multiple_table_schemastool Retrieve schemas for multiple tables. Use this tool only for schemas you have not already fetched during the conversation.Networkoutside text
Retrieve schemas for multiple tables. Use this tool only for schemas you have not already fetched during the conversation.
Args:
table_names: List of table names. Valid table names include 'retail.customers', 'retail.stores', 'retail.categories', 'retail.product_types', 'retail.products', 'retail.orders', 'retail.order_items', 'retail.inventory'.
Returns:
Concatenated schema strings for the requested tables.get_products_by_nametool Get products by name using a PostgreSQL query.
Get products by name using a PostgreSQL query.
Args:
max_rows: Maximum number of rows to return.
Returns:
Query results as a string.semantic_search_productstool Search for products using semantic similarity based on natural language descriptions. This tool uses AI embeddings to find products that match the meaning and i
Search for products using semantic similarity based on natural language descriptions. This tool uses AI embeddings to find products that match the meaning and intent of your
description, even if the exact words don't appear in the product names.
Args:
query_description: Use Natural language description to find products that Zava sells..
(e.g., "waterproof electrical box for outdoor use", "15 amp circuit breaker")
max_rows: Maximum number of rows to return.
Returns:
Query results with similarity scores as a string.Text the model reads (7)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_products_by_name tool
Get products by name using a PostgreSQL query.
Args:
max_rows: Maximum number of rows to return.
Returns:
Query results as a string.get_current_utc_date tool
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)semantic_search_products tool
Search for products using semantic similarity based on natural language descriptions. This tool uses AI embeddings to find products that match the meaning and intent of your
description, even if the exact words don't appear in the product names.
Args:
query_description: Use Natural language description to find products that Zava sells..
(e.g., "waterproof electrical box for outdoor use", "15 amp circuit breaker")
max_rows: Maximum number of rows to return.
Returns:
Query results with similarity scores as a string.get_current_utc_date tool
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)get_multiple_table_schemas tool
Retrieve schemas for multiple tables. Use this tool only for schemas you have not already fetched during the conversation.
Args:
table_names: List of table names. Valid table names include 'retail.customers', 'retail.stores', 'retail.categories', 'retail.product_types', 'retail.products', 'retail.orders', 'retail.order_items', 'retail.inventory'.
Returns:
Concatenated schema strings for the requested tables.execute_sales_query tool
Always fetch table schemas first, use exact column names, join related tables for clarity, aggregate results, limit output to 20 rows, and explain that results are limited for readability.
Args:
postgresql_query: A well-formed PostgreSQL query.
Returns:
Query results as a string.get_current_utc_date tool
Get the current UTC date and time in ISO format. Useful for date-based queries, filtering recent data, or understanding the current context for time-sensitive analysis.
Returns:
Current UTC date and time in ISO format (YYYY-MM-DDTHH:MM:SS.fffffZ)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 — 7 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 — 7 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 — 7 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 — 7 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQL HIGH1 finding in execute_sales_query
- Tools that start processesNot seen in the traced code of 7 capabilities; 7 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 7 capabilities; 7 more call code the scanner could not follow, where it may happen
- Tools that call the network2 of 7 capabilities call the network; 5 more call code the scanner could not follow, where it may happen
Where the code is: 7 handlers in 3 files at commit 726243b50fe0
src/python/mcp_server/customer_sales/customer_sales.pyget_products_by_name, get_current_utc_datesrc/python/mcp_server/customer_sales/customer_sales_semantic_search.pysemantic_search_products, get_current_utc_datesrc/python/mcp_server/sales_analysis/sales_analysis.pyget_multiple_table_schemas, execute_sales_query, get_current_utc_date
- 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: data/requirements.txt, pyproject.toml, src/python/requirements.txt
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 3 not resolved: data/requirements.txt: 11 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.10.0,<2.0.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 7 capabilities; 7 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 (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
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, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.10.0,<2.0.0 |
| Servers in the code | 3 (mcp-zava-sales, mcp-zava-sales-semantic) |
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-01-18 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2025-07-18 |
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.