microsoft-foundry

Warn

Audited by Socket on Sep 23, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
finetuning/scripts/calibrate_grader.py

This module is primarily a calibration/evaluation utility that loads a JSONL dataset, calls a configured chat/completions endpoint, and computes scores using a user-supplied grader. The main security issue is that it executes the grader file with exec() in the current Python process, granting full runtime privileges to the grader. If the grader file (or its path/content) is not fully trusted, it can perform arbitrary code execution (including reading secrets like API keys from the process environment or exfiltrating data). Aside from that trust boundary, the module’s logic is straightforward and contains no explicit malware behavior.

Confidence: 82%Severity: 72%
AnomalyLOW
foundry-agent/toolbox/references/tool-mcp-noauth.md

No direct malware or deliberate malicious payload is evident in the supplied documentation. The configuration creates a meaningful security exposure by trusting a public unauthenticated MCP server and, in the declarative example, disabling approval for tool calls. Review and constrain the remote server's tools, use authentication where supported, and avoid require_approval: never for sensitive operations.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 23, 2026, 07:41 PM
Package URL
pkg:socket/skills-sh/microsoft%2Fskills%2Fmicrosoft-foundry%2F@1f26902af98c8a70372953334f76ba736b5be806659e7420ee93c028c6bb3536
Security Audit — socket — microsoft-foundry