china-ai-compliance-audit
Warn
Audited by Socket on Sep 21, 2026
1 alert found:
AnomalyAnomalyexamples/demo-app/src/chat.ts
LOWAnomalyLOW
examples/demo-app/src/chat.ts
No clear malicious or supply-chain behavior is present. The code performs an ordinary LLM integration, but it has a significant privacy/security concern because it sends unmasked personal information, including an identity-card number, to an external API and logs arbitrary user questions. Data minimization, authorization, redaction, retention controls, and provider-policy review are required before production use.
Confidence: 98%Severity: 67%
Audit Metadata