azure-ai-contentsafety-ts

Pass

Audited by Gen Agent Trust Hub on Mar 1, 2026

Risk Level: SAFEPROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill utilizes official Microsoft Azure libraries (@azure-rest/ai-content-safety, @azure/identity, and @azure/core-auth). All network communications are directed to trusted Azure Cognitive Services endpoints.
  • [PROMPT_INJECTION]: The skill is designed to ingest and moderate external data, which creates a surface for indirect prompt injection attacks.
  • Ingestion points: Untrusted data enters via the text field in the /text:analyze operation and the image (base64 or blobUrl) field in the /image:analyze operation as documented in SKILL.md.
  • Boundary markers: The code samples do not demonstrate the use of delimiters or specific instructions to prevent the agent from inadvertently executing instructions contained within the text or image metadata being analyzed.
  • Capability inventory: The skill includes fs.readFileSync calls to access local image files for the purpose of moderation analysis.
  • Sanitization: No client-side input validation or sanitization of the content to be analyzed is demonstrated in the skill's logic.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 1, 2026, 12:35 AM