Skip to main content

chatkit-widget

Facilitates seamless integration of OpenAI/ChatKit chat widgets into Next.js/React applications with customizable branding and secure access.

Install this skill

or
71/100

Security score

The chatkit-widget skill was audited on Feb 28, 2026 and we found 13 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 206

Template literal with variable interpolation in command context

SourceSKILL.md
206script.src = `${chatkitConfig.apiUrl}/widget.js`;
medium line 322

Template literal with variable interpolation in command context

SourceSKILL.md
322<style jsx global>{`
medium line 424

Template literal with variable interpolation in command context

SourceSKILL.md
424const response = await fetch(`${CHATKIT_API_URL}${endpoint}`, {
medium line 428

Template literal with variable interpolation in command context

SourceSKILL.md
428Authorization: `Bearer ${CHATKIT_SECRET}`,
low line 94

Access to .env file

SourceSKILL.md
94projectId: process.env.NEXT_PUBLIC_CHATKIT_PROJECT_ID || "",
low line 95

Access to .env file

SourceSKILL.md
95publicKey: process.env.NEXT_PUBLIC_CHATKIT_PUBLIC_KEY || "",
low line 98

Access to .env file

SourceSKILL.md
98apiUrl: process.env.CHATKIT_API_URL || "https://api.chatkit.com",
low line 138

Access to .env file

SourceSKILL.md
138# .env.example
low line 397

Access to .env file

SourceSKILL.md
397const CHATKIT_SECRET = process.env.CHATKIT_SECRET_KEY;
low line 398

Access to .env file

SourceSKILL.md
398const CHATKIT_API_URL = process.env.CHATKIT_API_URL || "https://api.chatkit.com/v2";
low line 98

External URL reference

SourceSKILL.md
98apiUrl: process.env.CHATKIT_API_URL || "https://api.chatkit.com",
low line 146

External URL reference

SourceSKILL.md
146CHATKIT_API_URL="https://api.chatkit.com/v2"
low line 398

External URL reference

SourceSKILL.md
398const CHATKIT_API_URL = process.env.CHATKIT_API_URL || "https://api.chatkit.com/v2";
Scanned on Feb 28, 2026
View Security Dashboard
Installation guide →