The skill allows arbitrary KQL queries and `az rest` commands, risking data exfiltration, DoS, and SSRF, while potentially impersonating Microsoft.
Claims to do
Azure Data Explorer (Kusto) Query & Analytics: Execute KQL queries and manage Azure Data Explorer resources for fast, scalable big data analytics on log, telemetry, and time series data.
Actually does
The skill utilizes specific Microsoft-provided tools (`kusto_cluster_list`, `kusto_database_list`, `kusto_query`, `kusto_table_schema_get`) to list Azure Data Explorer clusters and databases, retrieve table schemas, and execute KQL queries. It also includes a fallback mechanism using Azure CLI commands (`az kusto cluster list`, `az kusto database list`, `az kusto cluster show`, `az kusto database show`) and directly contacts Kusto REST API endpoints (`https://<cluster>.<region>.kusto.windows.net/v1/rest/query`) for query execution.
npx skills add https://github.com/microsoft/github-copilot-for-azureThe skill explicitly uses the `az rest` command as a fallback for KQL queries. `az rest` is a general-purpose HTTP client, and if its URL or body parameters can be manipulated via prompt injection, it could lead to Server-Side Request Forgery (SSRF) or data exfiltration to arbitrary endpoints.
az rest --method post --url "https://<cluster>.<region>.kusto.windows.net/v1/rest/query" --body "{ \"db\": \"<database>\", \"csl\": \"<kql-query>\" }"Both the `kusto_query` tool and the `az rest` fallback allow execution of arbitrary KQL queries. Maliciously crafted KQL queries could consume excessive Azure Data Explorer resources (DoS, increased costs) or extract sensitive data, which could then be exfiltrated if the agent's output is not properly controlled.
`kusto_query` tool, `az rest` command with `csl: "<kql-query>"`
The skill claims 'author: Microsoft'. If this skill is not genuinely published by Microsoft, this could be a form of persona manipulation to build trust and reduce scrutiny from users or other agents.
author: Microsoft
[](https://mondoo.com/ai-agent-security/skills/github/microsoft/github-copilot-for-azure/azure-kusto)<a href="https://mondoo.com/ai-agent-security/skills/github/microsoft/github-copilot-for-azure/azure-kusto"><img src="https://mondoo.com/ai-agent-security/api/badge/github/microsoft/github-copilot-for-azure/azure-kusto.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/microsoft/github-copilot-for-azure/azure-kusto.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.