microsoft-foundry

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: In finetuning/scripts/calibrate_grader.py, the skill uses exec() and compile() to load and run Python code from a user-specified local file. This is intended to allow for the calibration of custom grader functions used in reinforcement fine-tuning. Executing external scripts is a privileged capability that requires users to ensure they are loading only trusted and reviewed logic.
  • [COMMAND_EXECUTION]: The skill executes shell commands via subprocess in files like finetuning/scripts/deploy_model.py and foundry-agent/create/scripts/smoke_test_voice.py to interact with the Azure CLI (az) for authentication and deployment tasks. It also contains a shell script (foundry-agent/create/scripts/wait-local-ready.sh) that performs a network health check by probing local ports. These operations are consistent with the skill's primary function of cloud resource administration.
  • [EXTERNAL_DOWNLOADS]: Setup and deployment workflows fetch infrastructure templates and command-line extensions from well-known public repositories on GitHub to provision required Azure resources and extend the environment's capabilities in a standard manner.
  • [INDIRECT_PROMPT_INJECTION]: The skill defines an attack surface for indirect prompt injection as it processes external training datasets and user-provided agent instructions. It provides guidance on using boundary markers and schema validation to mitigate the risk of unintended instruction following from these inputs.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 07:57 AM