microsoft/AKS-Lab-GitHubCopilot
ZavaShop multi-agent retail demo on AKS + ACA. Specs, MCP servers, agents, tests, Bicep/Helm and CI are all authored by 6 GitHub Copilot Custom Coding Agents using Microsoft Agent Framework + Copilot SDK.
d402a4f00e81zavashop-stockout-fleet0.1.0 in pyproject.tomlPaths 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 5 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
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
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.
- 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 9 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 (9: 9 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
ask_inventorytool Delegate a stock question to the inventory specialist.
Delegate a stock question to the inventory specialist.
ask_logisticstool Delegate a shipment question to the logistics specialist.
Delegate a shipment question to the logistics specialist.
ask_pricingtool Delegate a price question to the pricing specialist.
Delegate a price question to the pricing specialist.
ask_suppliertool Delegate a replenishment question to the supplier specialist.
Delegate a replenishment question to the supplier specialist.
check_stocktool Check current stock and stock-out risk for one SKU at one store.
Check current stock and stock-out risk for one SKU at one store.
Args:
query: SKU and target store location.
Returns:
StockReport with target stock, nearby locations, risk, and recommendation.draft_potool Draft a replenishment purchase order for one SKU and store.
Draft a replenishment purchase order for one SKU and store.
Args:
request: SKU, receiving store, chosen supplier, and quantity to order.
Returns:
PurchaseOrderDraft with a stable PO ID, estimated total, ETA, and status.list_supplierstool List ranked suppliers that can replenish one SKU.
List ranked suppliers that can replenish one SKU.
Args:
query: SKU to source from supplier inventory.
Returns:
SupplierList with available quantities, cost, lead time, and reliability.quote_shipmenttool Quote shipment cost and ETA for one purchase order.
Quote shipment cost and ETA for one purchase order.
Args:
request: Purchase order, destination store, and quantity to ship.
Returns:
ShipmentQuote with carrier, service level, ETA, cost, and recommendation.recommend_pricetool Recommend a price for one SKU at one store.
Recommend a price for one SKU at one store.
Args:
query: SKU, store, demand signal, and stock risk level to price.
Returns:
PriceRecommendation with current price, recommended price, margin impact, and rationale.Text the model reads (9)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
ask_inventory tool
Delegate a stock question to the inventory specialist.
ask_supplier tool
Delegate a replenishment question to the supplier specialist.
ask_logistics tool
Delegate a shipment question to the logistics specialist.
ask_pricing tool
Delegate a price question to the pricing specialist.
check_stock tool
Check current stock and stock-out risk for one SKU at one store.
Args:
query: SKU and target store location.
Returns:
StockReport with target stock, nearby locations, risk, and recommendation.recommend_price tool
Recommend a price for one SKU at one store.
Args:
query: SKU, store, demand signal, and stock risk level to price.
Returns:
PriceRecommendation with current price, recommended price, margin impact, and rationale.quote_shipment tool
Quote shipment cost and ETA for one purchase order.
Args:
request: Purchase order, destination store, and quantity to ship.
Returns:
ShipmentQuote with carrier, service level, ETA, cost, and recommendation.list_suppliers tool
List ranked suppliers that can replenish one SKU.
Args:
query: SKU to source from supplier inventory.
Returns:
SupplierList with available quantities, cost, lead time, and reliability.draft_po tool
Draft a replenishment purchase order for one SKU and store.
Args:
request: SKU, receiving store, chosen supplier, and quantity to order.
Returns:
PurchaseOrderDraft with a stable PO ID, estimated total, ETA, and status.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 — 9 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 — 9 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 — 9 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 — 9 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 — 9 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 9 capabilities; 9 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 9 capabilities; 9 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 9 capabilities; 9 more call code the scanner could not follow, where it may happen
Where the code is: 9 handlers in 5 files at commit d402a4f00e81
- 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: pyproject.toml
- Lockfiles checked against OSV1 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 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
- 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 9 capabilities; 9 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 |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp |
| Servers in the code | 4 (inventory-mcp, pricing-mcp, shipping-mcp, supplier-mcp) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-29 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-05-14 |
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.