microsoft-foundry
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
finetuning/scripts/calibrate_grader.pyuses the Pythoncompile()andexec()functions to load and run user-supplied grader logic. This is an intended feature of the Reinforcement Fine-Tuning (RFT) workflow to allow custom evaluation metrics. The code includes a security warning to only use trusted grader files. - [COMMAND_EXECUTION]: The skill makes extensive use of the Azure CLI (
az) and Azure Developer CLI (azd) to manage cloud resources and obtain access tokens. finetuning/scripts/deploy_model.pyusessubprocess.run()to callaz account get-access-tokenfor ARM REST API authentication.- Multiple shell and PowerShell scripts (e.g.,
foundry-agent/create/scripts/verify-environment.sh) automate environment verification and resource resolution using CLI commands. - [EXTERNAL_DOWNLOADS]: The skill fetches infrastructure templates and agent samples from official Microsoft-managed repositories on GitHub, including
github.com/Azure-Samplesandgithub.com/microsoft-foundry. - [INDIRECT_PROMPT_INJECTION]: The skill manages production traces and training datasets that may contain adversarial instructions. These inputs could potentially influence the AI agent's behavior or bias the LLM-based evaluation judges used in the observability loop. Evidence of this surface exists in
foundry-agent/eval-datasets/references/trace-to-dataset.mdandfinetuning/scripts/submit_training.py.
Audit Metadata