ai-chat
Warn
Audited by Snyk on Aug 6, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The required runtime workflow renders chat message content supplied by the user and/or assistant into the UI via Angular’s
StreamingMessageComponent([innerHTML]="renderedContent()"), whererenderedContentis produced byMarkdownService.render(...)(usingmarked.parse) and then trusted withDomSanitizer.bypassSecurityTrustHtml, so outsider-authored free text can reach LLM-ingestion/HTML-rendering without selecting a specific item first.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata