matechat-vue
Audited by Socket on Apr 20, 2026
1 alert found:
SecurityNo clear malicious backdoor behavior is evident in this fragment, but it contains multiple high-risk client-side primitives that can become exploitable when Markdown/code inputs are untrusted: (1) arbitrary JavaScript execution via new Function on Markdown-provided ECharts configuration, and (2) potential DOM XSS via markdown-it configured with html: true combined with v-html injection. Additionally, it dynamically loads ECharts from a public CDN without integrity pinning shown, which increases supply-chain risk. Overall: treat this integration/demonstration pattern as unsafe for untrusted content unless the underlying McMarkdownCard sanitization and code-execution controls are strictly enforced.