matechat-vue

Warn

Audited by Socket on Apr 20, 2026

1 alert found:

Security
SecurityMEDIUM
references/components/markDownCard/demo.md

No 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.

Confidence: 68%Severity: 88%
Audit Metadata
Analyzed At
Apr 20, 2026, 02:21 AM
Package URL
pkg:socket/skills-sh/DevCloudFE%2FMateChat%2Fmatechat-vue%2F@6ff258003ef7dbdd98bd13db025cc7ac42fb8519
Security Audit — socket — matechat-vue