azure-ai-contentsafety-java
Pass
Audited by Gen Agent Trust Hub on Apr 28, 2026
Risk Level: SAFE
Full Analysis
- Official SDK Integration: The skill facilitates the use of standard Azure SDK libraries (
com.azure:azure-ai-contentsafetyandcom.azure:azure-identity). These are well-established tools for integrating Azure services into Java applications. - Secure Credential Handling: Instructional content promotes the use of environment variables and
DefaultAzureCredentialfor authentication. This practice helps prevent the hardcoding of sensitive API keys, which is a key security recommendation for cloud-native development. - File System Access: Code patterns include the capability to read local files (such as images) for the purpose of safety analysis. This is a routine operation for content moderation tasks involving local assets.
- Network and Remote Resource Access: The skill describes how to send data to Azure service endpoints and provides functionality to analyze images via remote URLs. These operations are core to the skill's purpose of cloud-based content analysis.
- Data Processing Surface: By design, the skill processes text and image data that may originate from untrusted sources. While this constitutes an interaction with external data, the skill's function is to act as a security control by identifying harm categories like hate speech or violence within that content.
Audit Metadata