matechat-vue

Warn

Audited by Socket on Sep 15, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
references/components/markDownCard/demo.md

The fragment does not show clear malicious or supply-chain attack behavior. It is documentation/demo code, but it contains two significant browser-side security hazards: dynamic execution of Markdown code blocks through new Function and raw HTML rendering through v-html/html:true. These become exploitable if content or codeBlockData is attacker-controlled and sanitizer guarantees are insufficient. The external CDN and PlantUML server introduce third-party trust and potential data-disclosure considerations. Review or remove dynamic evaluation, use strict parsing/validation for chart configuration, sanitize Markdown output, and pin external scripts with integrity or bundle trusted dependencies.

Confidence: 96%Severity: 68%
AnomalyLOW
references/use-guide/model/openai.md

代码是用于前端调用大模型 API 的普通示例,未显示恶意软件或供应链攻击行为。主要安全风险是启用 dangerouslyAllowBrowser 并将 APIKey 放在浏览器端,可能导致凭证泄露和账户滥用;生产环境应使用后端代理、短期令牌或其他密钥隔离方案,并验证 baseURL。

Confidence: 98%Severity: 62%
AnomalyLOW
references/use-guide/model/deepseek.md

该片段是调用 DeepSeek 兼容 API 的正常示例,未发现恶意代码、数据窃取、持久化、命令执行或可疑网络目标。主要安全风险是明确启用浏览器端 API 调用,使 DeepSeek API key 容易泄露并可能被滥用;生产环境应通过服务端代理保存密钥,并增加访问控制、限流、错误处理和隐私评估。

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 15, 2026, 03:51 PM
Package URL
pkg:socket/skills-sh/devcloudfe%2Fmatechat%2Fmatechat-vue%2F@93eab4b44392741b1ca7a6033f356b692012f7c7d35d8ce682176eae9cde5dce
Security Audit — socket — matechat-vue