@using AIStudio.Tools.Security @inherits MSGComponentBase @if (Result is not null) { @T("Security warning") @T("AI Studio has reliably detected and blocked the suspicious content. Your applications and data remain protected. Please review the content you uploaded.") @T("Typical attacks on AI systems (e.g. prompt injection) hide instructions within untrusted content to trick an AI model into ignoring its intended rules or performing unintended actions.") @(showPromptInjectionInformation ? T("Hide more information") : T("More information")) @T("Source type") @this.GetSourceKindLabel(Result.Source.Kind) @T("Content source") @Result.Source.Label @T("Detected content") @foreach (var finding in Result.Findings) { @($"{this.GetFindingCategoryLabel(finding.Category)}") @finding.Snippet } @T("Prompt injection is a method used to manipulate AI systems such as chatbots. An attacker places misleading instructions in content so that the AI treats them as legitimate. This can cause the AI to ignore safeguards, expose private information, or generate harmful content.") @PromptInjectionGuardService.WIKI_URL } @T("Close")