xy-ai-chat@1.0.4
基于 Lit 的 AI 智能聊天 Web Component,支持浮动按钮 / 嵌入模式,可在 Vue2、React、UniApp、原生 HTML 等任意项目中使用。
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe active chat and supporting request paths disclose the embedding page's cookie token to a package-selected external recipient. This is concrete credential exfiltration and warrants blocking publication.
Decision evidence
public snapshot- The package exposes the ESM bundle as its import entry point and exports the chat component.
- The bundle reads the page's `token` cookie and uses it as a bearer credential.
- Chat requests send that credential to a fixed package-selected host when the component sends a message.
- The same request helper sends the credential for agent details and feedback requests.
Source & flagged code
6 flagged · loading sourceSource sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/index.esm.jsView on unpkgThe bundle reads the page's `token` cookie and uses it as a bearer credential.
dist/index.esm.jsView on unpkg · L6006Findings
Affected versions and remediation
This report applies to xy-ai-chat@1.0.4.
See all versions of xy-ai-chat for other recorded verdicts.
- Avoid installing xy-ai-chat@1.0.4. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.