feishu
Warn
Audited by Socket on Oct 28, 2026
1 alert found:
AnomalyAnomalysrc/client.ts
LOWAnomalyLOW
src/client.ts
This code implements Feishu/Lark token retrieval and API requests. Its primary security concern is that larkRequest() sends a Feishu bearer token to any caller-supplied absolute URL; restrict endpoints to trusted Feishu hosts or avoid attaching the token to arbitrary URLs. The global token cache is also not separated by app credentials. No clear malicious intent is present; severity is moderate due to potential credential disclosure when endpoint input is untrusted.
Confidence: 98%Severity: 58%
Audit Metadata