azure-ai-evaluation-py

SAFE max severity MEDIUMSkillSpector Do not install 92 registry microsoft last scanned 1 scan

Verdict safe, but 2 findings (2 medium), mainly data exfiltration. Most recent scan 2026-02-05.

The azure-ai-evaluation-py skill is a legitimate Azure SDK wrapper for evaluating AI applications. The skill itself is not malicious, but it has MEDIUM severity security concerns around credential management practices. The primary issues are: (1) instructions that emphasize API key usage over more secure credential methods, (2) connection string exposure risks without security guidance, and (3) missing package integrity verification. The skill correctly supports DefaultAzureCredential for secure authentication, but the documentation doesn't prioritize this approach. No prompt injection, data exfiltration, or malicious code patterns were detected. The referenced files are internal documentation and examples, which is normal for SDK skills. Overall, this is a safe skill that needs improved security guidance in its documentation.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

The two scanners disagree: Cisco found nothing and SkillSpector says do not install. One of them has a blind spot here; read the skill before trusting either. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Azure AI Evaluation SDK for Python. Use for evaluating generative AI applications with quality, safety, and custom evaluators. Triggers: "azure-ai-evaluation", "evaluators", "GroundednessEvaluator", "evaluate", "AI quality metrics".

Package
5 files, 45 KB
SKILL.md
657 words, 12+ sections
Code
Python (1)

SKILL.md covers: Azure AI Evaluation SDK for Python · Installation · With remote evaluation support · Environment Variables · For AI-assisted evaluators · For Foundry project integration · Built-in Evaluators · Quality Evaluators (AI-Assisted) · Initialize with Azure OpenAI model config · Quality Evaluators (NLP-based) · Safety Evaluators · Single Row Evaluation

Findings

MEDIUM Hardcoded API Key in Environment Variable Instructions Data Exfiltrationllm

The skill instructions explicitly guide users to set AZURE_OPENAI_API_KEY as an environment variable and use it directly in code. While environment variables are better than hardcoding in source, the instructions don't emphasize secure credential management practices like Azure Key Vault or managed identities. The script does support DefaultAzureCredential as an alternative, but the primary examples use API keys.

SKILL.md

```bash
AZURE_OPENAI_API_KEY=<your-api-key>
```
and
```python
model_config = {
    "api_key": os.environ["AZURE_OPENAI_API_KEY"]
}
```
Remediation: Prioritize DefaultAzureCredential in documentation and examples. Add warnings about API key security. Recommend Azure Key Vault or managed identities for production use. The script already supports credential-based auth, so update examples to make it the default pattern.
MEDIUM Connection String Exposure Risk Data Exfiltrationllm

The skill requires AIPROJECT_CONNECTION_STRING environment variable for Foundry integration. Connection strings often contain sensitive credentials. The instructions don't provide guidance on secure storage or rotation of these connection strings.

SKILL.md:18

```bash
AIPROJECT_CONNECTION_STRING=<your-connection-string>
```
Remediation: Add security guidance for connection string management. Recommend using Azure Key Vault references or managed identities instead of plain connection strings. Warn users not to commit connection strings to version control.

What is in the package

FileKindSize
SKILL.mddoc6.9 KB
references/acceptance-criteria.mddoc6.5 KB
references/built-in-evaluators.mddoc11 KB
references/custom-evaluators.mddoc12 KB
scripts/run_batch_evaluation.pyscript9.2 KB

External hosts referenced

github.com

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Environment variables referenced

AIPROJECT_CONNECTION_STRING AZURE_OPENAI_API_KEY AZURE_OPENAI_DEPLOYMENT AZURE_OPENAI_ENDPOINT

Package contents recorded 2026-10-22 at commit cfbcbbdc679c. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources